function passparamsAuto()
{
	var prodid=0;
	var prodid=document.insuranceform.prodid[document.insuranceform.prodid.selectedIndex].value;
	var zipcodevalue = document.insuranceform.zipcodetb.value;
	if (prodid == 0){alert("Please select an Insurance Type");return;}	
	if (zipcodevalue=="") {alert("Please enter a valid zip code");return;}
	var stateselected = "NJ";
	location='http://onlinelocalinsurance.com/resultsauto.html?zipcode=' + zipcodevalue + '&prodid=' + prodid;
}

function passparamsHealth()
{
	var prodid=0;
	var prodid=document.insuranceform.prodid[document.insuranceform.prodid.selectedIndex].value;
	var zipcodevalue = document.insuranceform.zipcodetb.value;
	if (prodid == 0){alert("Please select an Insurance Type");return;}	
	if (zipcodevalue=="") {alert("Please enter a valid zip code");return;}
	var stateselected = "NJ";
	location='http://onlinelocalinsurance.com/results.html?zip=' + zipcodevalue + '&prodid=' + prodid;
}





