function makePopUp(whereTo, winWidth, winHeight) 
{
  remote = window.open("","remotewin","width="+winWidth+",height="+winHeight+",menubar=0,toolbar=no,scrollbars=yes");
  remote.location.href = whereTo; 
  remote.focus();
}

function InsurancePortalStepOne(form){
	var url="";
	if (form.InsuranceType.value=="HEALTH"){ url="http://www.quotecowboy.com/health.jsp"; }
	if (form.InsuranceType.value=="GROUP"){ url="http://www.quotecowboy.com/group.jsp"; }
	if (form.InsuranceType.value=="AUTO"){ url="http://www.insurance.com/autolanding.aspx?cp=1419&zip="+form.address_1_zip.value; }
	if (form.InsuranceType.value=="LIFE"){ url="http://www.quotecowboy.com/life.jsp"; }
	//if (form.InsuranceType.value=="HOMEOWNER"){ url="http://www.quotecowboy.com/homeowner.jsp"; }

     if (form.first_name.value==""){
      alert("Please enter your First Name."); return false;
     }
     if (form.InsuranceType.value==""){
      alert("Please select the type of insurance you are looking for."); return false;
     }
     if (form.address_1_zip.value==""){
      alert("Please enter your Zipcode."); return false;
     }
     form.action=url;
     form.submit();
}