function checkimg(path,title)
{
	document.getElementById("wrapdetail").src=path+".s.thumb.jpg";
	document.getElementById("wrapdetailhref").href=path;
	document.getElementById("wrapdetailhref").title=title;
	document.getElementById("modelname").innerHTML=title;
	
 
}
function wheellist(idd)
{
	var ch=document.getElementById("pop_box_m");
						ch.innerHTML="";
	var xmlhtml;
	try{
			xmlhtml=new ActiveXObject("Msxml2.XMLHTTP");
		}
	catch (e){
			try{
					xmlhtml=new ActiveXObject("Microsoft.XMLHTTP");
				}
			catch (e){ 
					try{
						xmlhtml=new XMLHttpRequest();
						}
					catch (e){
					}
				}
		}
	var http;
	http="list_detail.php?id="+idd;
	xmlhtml.open("get",http);
	xmlhtml.onreadystatechange=function(){
				 if(4==xmlhtml.readyState){
				   if(200==xmlhtml.status){
					  // alert(xmlhtml.responseXML);
					  
						msg=xmlhtml.responseText;
						var ch=document.getElementById("pop_box_m");
						ch.innerHTML=msg;
						$('#mycarousel a').lightBox();
						$('#fitment a').lightBox();
						$('#finishing a').lightBox();
						$('#dtl_b_pic a').lightBox();
						 jQuery('#mycarousel').jcarousel({
								scroll:4
							});
						}
				  
				 }
			   }
			   xmlhtml.send(null);
			   return false;
}
