function eventKeyPress(evt){
var lKeyPressed = new Number(0);
	lKeyPressed=window.event.keyCode;
			
			
	if((lKeyPressed <= 32) || (lKeyPressed >= 48 && lKeyPressed <= 57)){
	}else{
		window.event.keyCode=0;
		window.event.cancelBubble=true;
				
	}
		

}

function AVSetFocus(bClearAll){

	if(bClearAll==true){
		document.frmMain.txtZip.value="";
		document.frmMain.txtCity.value="";
	}	
	document.frmMain.txtZip.focus();
}	  

function HighLightMe(tmpButton,IsHighlight){
var sFontWeight = new String("");

	//window.alert(IsHighlight);

	if(IsHighlight==true){
		sFontWeight="bold";
	}else{
		sFontWeight="normal";
	}
	
	tmpButton.style.fontWeight=sFontWeight;		

	

}


function AVValidateForm(){
var sCity = new String("");
var sZip = new String("");


	sCity = document.frmMain.txtCity.value;
	sZip = document.frmMain.txtZip.value; 
	
	if((sZip.length + sCity.length)==0){
		window.alert("Please Enter Search Criteria");
		document.frmMain.txtZip.focus();
		return false;
	}else{
		if((sZip.length>0) && (sZip.length<5)){
			window.alert("Zip Code MUST be 5 Digits");
			document.frmMain.txtZip.focus();
			return false;
			}else{	
				return true;
			}	
	}		 
	  
	


}
