<!-- Beginfunction emailCheck (emailStr) {var emailPat=/^(.+)@(.+)$/var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]"var validChars="\[^\\s" + specialChars + "\]"var quotedUser="(\"[^\"]*\")"var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/var atom=validChars + '+'var word="(" + atom + "|" + quotedUser + ")"var userPat=new RegExp("^" + word + "(\\." + word + ")*$")var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$")var matchArray=emailStr.match(emailPat)if (matchArray==null) {	alert("Email address seems incorrect (check @ and .'s)")	return false}var user=matchArray[1]var domain=matchArray[2]// See if "user" is valid if (user.match(userPat)==null) {    // user is not valid    alert("The username is not correct.")    return false}/* if the e-mail address is at an IP address (as opposed to a symbolic   host name) make sure the IP address is valid. */var IPArray=domain.match(ipDomainPat)if (IPArray!=null) {    // this is an IP address	  for (var i=1;i<=4;i++) {	    if (IPArray[i]>255) {	        alert("Destination IP address is not correct.")		return false	    }    }    return true}var domainArray=domain.match(domainPat)if (domainArray==null) {	alert("The domain name doesn't seem to be valid.")    return false}var atomPat=new RegExp(atom,"g")var domArr=domain.match(atomPat)var len=domArr.lengthif (domArr[domArr.length-1].length<2 ||     domArr[domArr.length-1].length>3) {   alert("The email address must end in a three-letter domain, or two letter country.")   return false}if (len<2) {   var errStr="The email address is missing a hostname!"   alert(errStr)   return false}return true;}function jump(s){t = new String(s);window.document.forms[0].whichOne.value=s;if (mystr) _doClick(mystr, this, null);//window.document.forms[0].Post_Title.focus();};function browserSniffer() {  this.ie4 = document.all && !document.getElementById;  this.ns4 = document.layers;  this.ie5 = document.all && document.getElementById;  this.ns6 = document.getElementById && !document.all;}function resetStartEnd(){me=window.document.forms[0];var a = new Number(me.entryStart.value);var b = new Number(me.NumEntries.options[me.NumEntries.selectedIndex].text);var c = new Number(me.entryEnd.value);me.entryStart.value=1;me.entryEnd.value= 1 + b;_doClick(mystr, this, null);}function inc(){me=window.document.forms[0];var a = new Number(me.entryStart.value);var b = new Number(me.NumEntries.options[me.NumEntries.selectedIndex].text);var c = new Number(me.entryEnd.value);me.entryStart.value=a + b;me.entryEnd.value= c + b;_doClick(mystr, this, null);}function dec(){me=window.document.forms[0];var a = new Number(me.entryStart.value);var b = new Number(me.NumEntries.options[me.NumEntries.selectedIndex].text);var c = new Number(me.entryEnd.value);me.entryStart.value=a - b;me.entryEnd.value= c - b;if (me.entryStart.value<1) resetStartEnd();_doClick(mystr, this, null);}function reset(){if (window.document.forms[0].username.value =='') {	window.location.reload(true);} else {	_doClick(mystr, this, null);}}//  End -->