var mtstyle = "" var mtaction="subscribe"; // "subscribe", "subscribeResponse", "confirm", "confirmResponse" var mtmessage=""; // e.g. This email address is already subscribed. var mtemail = ""; var mtsite = 47; var mtmessages = new Array(); mtmessages[0] = "You have submitted your email address for this list. You will receive an email to verify your subscription. Click on the link in the email to verify."; mtmessages[1] = "The provided email address is already subscribed to this mailing list."; mtmessages[2] = "The provided email address was invalid."; mtmessages[3] = "You have successfully confirmed your subscription to this mailing list."; mtmessages[4] = "You must enter in a valid email address."; function printCSS() { document.writeln(mtstyle); } // BEGIN GENERATED CODE // // Override mtaction, mtmessage, mtemail if necessary. function printForm() { document.writeln("
"); //printResponse(); document.writeln(""); //document.writeln(""); document.writeln(""); document.writeln(""); document.writeln("
"); document.writeln("Email:  
  ", "  " , "
"); document.writeln("
"); } function printResponse() { document.writeln(mtmessage); } function processVars() { var query = window.location.search.substring(1); var pairs = query.split("&"); for (var i=0;i= 0) { var argname = pairs[i].substring(0,pos); var value = pairs[i].substring(pos+1); if (argname == "mtaction") { mtaction = value; } else if (argname == "mtemail") { mtemail = value; } else if (argname == "mtsite") { mtsite = value; } else if (argname == "mtmessage") { value = parseInt(value); var validId = true; validId = validId && !isNaN(value); validId = validId && (mtmessages[value] != null); if (validId) { mtmessage = mtmessages[value]; } } } } } function printMTList() { processVars(); printCSS(); printResponse(); if (mtaction == "confirm") { document.writeln("Please click the button to confirm your subscription"); document.writeln("
"); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln("
"); } else { } } printMTList();