function checkSearch() {
	txtSearch = document.search.query;
	
	if( !txtSearch.value ) {
		alert('Please enter something to search for');
		txtSearch.focus();
		return false;
	}
}

function checkZip() {
	txtZip = document.storelocation.PostalCode;
	txtCity = document.storelocation.city;
	
	if( !txtZip.value && !txtCity.value ) {
		alert('Please enter a zip code or city');
		txtZip.focus();
		return false;
	}
	
	if( txtZip.value ) {
		if( parseInt(txtZip.value) != txtZip.value ) {
			alert('Please enter a valid zip code');
			txtZip.focus();
			return false;
		}
	}
	
}
