1var cBotProtectValue = "Adam is checking this for errors"; 2 3function doSignup() 4{ 5 debugger; 6 var isOK=true; 7 var sQuery; 8 var aEM=document.FreeNL.txtEM; 9 var aFN=document.FreeNL.txtFN; 10 var aLN=document.FreeNL.txtLN; 11 12 var rootFolderVar = rootFolderValue; 13 14 if (aFN.value == 'First Name') 15 { 16 alert("Please enter first name."); 17 isOK=false; 18 aFN.focus(); 19 aFN.select(); 20 } 21 if(isOK) 22 { 23 if (aLN.value == 'Last Name') 24 { 25 alert("Please enter last name."); 26 isOK=false; 27 aLN.focus(); 28 aLN.select(); 29 } 30 } 31 if(isOK) 32 { 33 isOK = IsEmpty(aFN); 34 if(isOK) 35 { 36 isOK = IsEmpty(aLN); 37 if(isOK) 38 { 39 isOK = IsEmail(aEM); 40 if(isOK) 41 { 42 var returnUrl = location.href; 43 var currHost = location.host; 44 returnUrl = returnUrl.replace(currHost, ""); 45 returnUrl = returnUrl.replace("http://", ""); 46 47 sQuery = '?FN=' + aFN.value + '&LN=' + aLN.value + '&EM=' + aEM.value + '&ReturnUrl=' + returnUrl + '&CK=' + cBotProtectValue; 48 49 var newLocation = rootFolderVar + "/swchannel/submit_signup.asp" + sQuery; 50 51 window.location.replace(newLocation); 52 } 53 } 54 } 55 } 56}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.