function ajaxModel(focus)
{var xmlHttp;try
{xmlHttp=new XMLHttpRequest();}
catch(e)
{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("ajaxmodeldropdown").innerHTML=xmlHttp.responseText;if(focus)document.form1.Model.focus();}}
document.getElementById("ajaxmodeldropdown").innerHTML="<select name=Model id=Model><option value=0>... loading ...</option></select>";xmlHttp.open("GET","/ajaxmodel.asp?Make="+document.form1.Make.value,true);xmlHttp.send(null);}
function ajaxVanModel(focus)
{var xmlHttp;try
{xmlHttp=new XMLHttpRequest();}
catch(e)
{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("ajaxmodeldropdown").innerHTML=xmlHttp.responseText;if(focus)document.form1.Model.focus();}}
document.getElementById("ajaxmodeldropdown").innerHTML="<select name=Model id=Model><option value=0>... loading ...</option></select>";xmlHttp.open("GET","/ajaxmodel.asp?Commercials=on&Make="+document.form1.Make.value,true);xmlHttp.send(null);}
