A new article directory has just been released to the world wide web. As the name suggests, -1) ExtValid++; else if (checkStr.indexOf(".edu", ix) > -1) ExtValid++; else if (checkStr.indexOf(".net", ix) > -1) ExtValid++; else if (checkStr.indexOf(".org", ix) > -1) ExtValid++; else if (checkStr.indexOf(".gov", ix) > -1) ExtValid++; else if (checkStr.indexOf(".mil", ix) > -1) ExtValid++; else if (checkStr.indexOf(".cc", ix) > -1) ExtValid++; RL = Reason.length; if (AtSignValid != 1) Reason += "\nOnly one '@' allowed, " + AtSignValid + " found."; if (PeriodValid == 0) Reason += "\nAddress must contain at least one period."; if (SpaceValid > 0) Reason += "\nNo Spaces allowed. Address contains " + SpaceValid + " space"; if (SpaceValid > 1) Reason += "s."; if (checkStr.length > 120) Reason += "\nPlease limit Email Address to 120 characters."; if (RL != Reason.length) { alert(Reason); return false; } return true; } function chk(){ if(document.subscribeform.attribute2.value=="") {alert("Please fill in First Name field!");document.subscribeform.attribute2.focus();return false;} if(document.subscribeform.email.value=="") {alert("Please fill in E-Mail field!");document.subscribeform.email.focus();return false;} if(!VerifyEmailAddress(document.subscribeform.email.value)) {document.subscribeform.email.focus(); return false; } return true; }