/*		These are general javascript functions created by Rob Lykens 
		for TennSoft, a Virtitel Solutions Company. Copyright 2000 - 2004 TennSoft
		All Rights Reserved. Any reproduction of this copy can and will be subject
		to prosicution to the full extent of the law.
		
		DON'T USE THIS SCRIPT WITHOUT PERMISSION! YOU WILL BE FOUND OUT.
		
*/

	// THIS FUNCTION IS TO INSURE SQL ESCAPE CHARACTORS ARE NOT USED IN LOGON
	function checkChr(){
		if(String.fromCharCode(event.keyCode)=="-" || String.fromCharCode(event.keyCode)=="%" || String.fromCharCode(event.keyCode)=="_" || String.fromCharCode(event.keyCode)=="\"" || String.fromCharCode(event.keyCode)=="\'" || String.fromCharCode(event.keyCode)=="\?" || String.fromCharCode(event.keyCode)=="/" || String.fromCharCode(event.keyCode)=="\\" || String.fromCharCode(event.keyCode)=="&" || String.fromCharCode(event.keyCode)=="*" || String.fromCharCode(event.keyCode)=="!"){
			alert(String.fromCharCode(event.keyCode) + " Is An Illegal Character!");
			event.returnValue=false;
		}
	}

