	function CheckParams() {		// check if zipcode is 5 characters long and catch any spaces or alpha in zipcode		if (( window.document.frmSearch.Zip.value.length  != 5 ) || (! isNum(window.document.frmSearch.Zip.value) )) {			alert("Please enter a valid 5 digit USPS Zip Code.     ");			window.document.frmSearch.Zip.focus();			return false;		}				if (window.document.frmSearch.Products.value == "") {			alert("Please select a Product to search on.   ");			return false;		}		return true;	}	////		function isNum(strA) {		var strB, num = "0123456789", x;		for ( x = 0; x < strA.length; x++ ){			strB = strA.substr(x,1);			if (num.search(strB) == -1){				return false;			}		}		return true;	}