	<!--
	// this function determines the newline character by browser platform
	// it returns the valid newline character
	function newLine() {
	 
		var myChar
		// for Mac
		if(navigator.appVersion.lastIndexOf('Mac') != -1) {
			// myChar = "\r"
			myChar = "\n"
		}
		else {
			// for Windows and Unix
			myChar = "\n"
		}
		return myChar
	}
	  
	// check to see if a string is Alpha
	function validateAlpha(inStr) {
		inLen = inStr.length
		for (var i=0; i<inLen; i++) {
			var ch = inStr.substring(i, i+1)
			if (!((ch >= "A" && ch <= "Z") || (ch >= "a" && ch <= "z") || ch ==" ")) {
				return false;
				break;
	 
			}
		}
		return true
	}
	 
	// check to see if a string is numeric
	function validateNumeric(inStr) {
		inLen = inStr.length
		for (var i=0; i<inLen; i++) {
			var ch = inStr.substring(i, i+1)
			if (ch < "0" || "9" < ch) {
				return false;
				break;
			}
		}
		return true
	}

	function validateLogonId(inLogonId, inVLogonId) {
	 
		var nl = newLine();
		if( inLogonId != inVLogonId) {
			alert(nl + "New Logon ID and Verify Logon ID do not match.");
			return false;
		}	
	 
		return verifyLogonIdContents(inLogonId);
	 
	}
	 
	function verifyLogonIdContents(inLogonId) {
	 
		var nl = newLine();
		var nLogonIdLen = inLogonId.length;
		// must contain at least 6 or more characters
		if( nLogonIdLen < 6 ) {
			alert(nl + "Logon ID must contain at least 6 characters.");
			return false;
		}
		
		var ch;
		for( var i=0; i < nLogonIdLen; ++i ) {
			ch = inLogonId.substring(i,i+1);
			if(( ch >= 'a' && ch <= 'z' )
			|| ( ch >= 'A' && ch <= 'Z' )
			|| ( ch >= '0' && ch <= '9' )
			|| ( ch == '@' )
			|| ( ch == '.' )
			|| ( ch == '-' )
			|| ( ch == '_' )) {
				; // valid character, do nothing
			}
			else {
				alert(nl + "Logon ID may only contain letters, numbers, " +
					  nl + "periods, dashes(-), underscores(_)," +
					  nl + "and the @ symbol.");
				return false;
			}	 
		}
	 
		// appears to be properly formatted
		return true;
	}

	var  inProgress = 0;
	 	 
	function ShowAlert( Browser, Ver, Aol )
	{
		var nl = newLine()
		var AolString = "keywords GO DOWNLOAD "
		var IconString = "icons at the bottom of this page "
	 
		if ( Aol != "" )
			InsString = AolString
		else
			InsString = IconString
	 
		alert( nl + "Please note that for security purposes and best results, " + nl + "your current " + Browser + " version " + Ver + " needs to be " + nl
	+ "upgraded.  Please Log off and upgrade your browser now." + nl )
	}
	 
	function GetBrowser()
	{
		var Ver = ""
		var supportedVer = 4.0
		browserVer = navigator.appVersion
	 
		if ((msie = browserVer.indexOf("MSIE")) > 0) {
			Ver = browserVer.substring((msie + 5),(msie + 5) + 4)
			if (parseFloat(Ver) < parseFloat(supportedVer))
				if (browserVer.indexOf("AOL") > 0)
					ShowAlert( "Internet Explorer", Ver, "AOL" )
				else
					ShowAlert( "Internet Explorer", Ver, "" )
		}
		else {
			Ver = browserVer.substring( 0, 4 )
			if (parseFloat(Ver) < supportedVer)
				ShowAlert( "Netscape", Ver, "" )
		}
	}
	 	 
	function editPage(curForm,type) {
	 
	   var nl = newLine();
	 
	   if (type == 1){
		  return true;
	   }
	   
	 
	   if (inProgress == 1) {
		  return false;
	   }
	 
	   if (curForm.LOGNID.value == "") {
		  alert(nl + "The Logon ID field is a required entry.");
		  curForm.LOGNID.focus();
		  return false;
	   }
	 
	   if (curForm.LOGNID.value.length<6){
		 var logonid = "000000" + curForm.LOGNID.value
		 var newlogonid = logonid.substring(logonid.length-6, logonid.length);
		 curForm.LOGNID.value=newlogonid;
		}
	 
	   inProgress = 1;
	   return true;
	}
	// -->
