$(function(){
	$(".divClearanceSelection, .divClearanceSelectionNewWindow").hover(
		function(){
			$(this).css({"background-color":"#f1f1f1","cursor":"pointer"})
		},
		function(){
			$(this).css({"background-color":"#fff"})
		}
	);
	//$(".divClearanceSelectionNewWindow").click(function(){
	//	window.open($(this).find("a").attr("href")); return false;
	//});
	$(".divClearanceSelection").click(function(){
		window.location=$(this).find("a").attr("href"); return false;
	});
 });
function form_validator(theForm)
{	
	removeSingleQuotes();
	if(theForm.zip.value == "")

	{
	alert("Please enter a correct zip code.");
	theForm.zip.focus();
	return false;
	}
	else 
	{
	return true;
	}
}
function removeSingleQuotes()
{
	if(document.form1.zip)
	{
		var strValue;
		strValue = document.form1.zip.value;
		var strIllegal;
		if(strValue.indexOf("'")>-1)
		{
			strValue = strValue.replace("'","");
			document.form1.zip.value = strValue;
		}
	}
}
