function load_model()
{
this.document.search_frm.act.value="model_list";
js_xml_form_submit("search.php",js_form_submit(this.document.search_frm))
}
function search_chk()
{
	if(this.document.search_frm.zipcode.value=="")
	{
	  alert("Sorry, we cannot complete your request.\nKindly provide us the missing or incorrect information enclosed below.\n\nPlease enter the zipcode to search the cars.");
	  return false;
	}
	this.document.search_frm.act.value="search_result";
}
function show_search_btn(a)
{
  this.document.getElementById("search_btn").src="images/search_"+a+"_cars_but.jpg";
}
function scrollDirection(a)
{
  	this.document.getElementById("carsFlash").direction=a;

}
function show_res_content(a)
{
	document.getElementById("res_leaf_"+sel_rec_id).className="";
	var res_desc_l=document.getElementById("res_detail_"+a).innerHTML;
	document.getElementById("res_desc").innerHTML=res_desc_l;
	document.getElementById("res_leaf_"+a).className="current";
	sel_rec_id=a;
	
}
