  function IsLocalZipValid(frm, strPath){		
		var val = document.getElementById("txtZip").value; 				
		//alert(strPath);
		if (/^\d{5}?$/.test(val)){      					
				var strZipPath = strPath.toLowerCase();
			//if (strZipPath.indexOf("zipdefault.aspx") == -1)	 {			
			//alert(document.forms[frm].lstLocalInstance.options.selectedIndex);
			//alert(strZipPath);
			//if (strZipPath.indexOf("zipdefault.aspx") == -1)	 {	
			if (strZipPath.indexOf("index.aspx") == -1)	 {	
				document.forms[frm].action = strPath;				
				document.forms[frm].submit();
			}else{
				document.forms[frm].lstLocalTown.options.selectedIndex =0;
				//alert(document.forms[frm].lstLocalInstance.options.selectedIndex);
				document.forms[frm].action = "/default.aspx";				
				document.forms[frm].submit();
			}
				
		}else{				
				return false;
		}  
  }

  function ByPassLocalZipValid(frm){		
		document.getElementById("txtZip").value = "|";				
		document.forms[frm].lstLocalTown.options.selectedIndex =0;
		document.forms[frm].action = "/default.aspx";				
		document.forms[frm].submit();
  }