function validate_short()
{
      
  if (document.form1.InsuranceType.selectedIndex=="")
	{
		alert("Please select the type of Insurance");
		////SetErrorImage("InsuranceType", true);

		document.form1.InsuranceType.focus();
		return false;
	}
	
	if (document.form1.Zip.value=="")
	{
		alert("Please enter Zipcode");
		//SetErrorImage("Zip", true);
		document.form1.Zip.select();
		document.form1.Zip.focus();
		return false;
	}
	
	if(isNaN(document.form1.Zip.value))
		{
			alert("Zip code should be Numeric value");
			//SetErrorImage("Zip", true);
			document.form1.Zip.select();
			document.form1.Zip.focus();
			return false;
		}
	
	if ( document.form1.Zip.value.length!=5)
{
	alert("Please Enter Valid 5 Numbered Zip");
	document.form1.Zip.select();
	document.form1.Zip.focus();
	return false;
}
	
	

}
  function ajaxnews()
  {
     
 
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 } 
var url="http://www.healthinsexpo.com/ajaxtest.php"
xmlHttp.onreadystatechange=stateChanged 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}

function stateChanged() 
{ 
 if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("news").innerHTML=xmlHttp.responseText 
 } 
 else{
	   document.getElementById("news").innerHTML="<p align=center><img src='images/busy.gif'><Font color='red'>Processing....</font></p>";
 }
}

function GetXmlHttpObject()
{
var xmlHttp=null;
  try
   { xmlHttp=new XMLHttpRequest(); }
  catch (e) { try  {  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");  }
                  catch (e)  {  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");  }
                }
return xmlHttp;
}