function ajaxModel(focus)
{
var xmlHttp;

try
  {  // Firefox, Opera 8.0+, Safari  
  	xmlHttp=new XMLHttpRequest(); 
   }
catch (e)
  {  // Internet Explorer 
   try
    {    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");    }
  catch (e)
    {    try
      {      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");      }
    catch (e)
      {      alert("Your browser does not support AJAX!");      return false;      }    }  }
  xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4)
      {
		document.getElementById("ModelSelector").innerHTML=xmlHttp.responseText;
		if (focus) document.quicksearchform.Model.focus();
      }
    }
    
 document.getElementById("ModelSelector").innerHTML='<select name="Model" class="Model" onchange="quicksearchform.submit();"><option value="0">select model</option><option value="">...loading....</option></select>';
    
  xmlHttp.open("GET","/ajaxsearchmodels.asp?Make=" + document.quicksearchform.Make.value + "&rnd=" + Math.random() ,true);
  xmlHttp.send(null);  
}

