/* 改面toolin ID显示详细信息 */
function change_tooling_id(Strvalue)
{
	var Str_value=String(Strvalue);
	//alert(Str_value);
	window.location="../"+Str_value+"/index.php";
}
function showPic (whichpic) { 	
	if (document.getElementById) 
	{ 		
		document.getElementById('show_main_pic').src = whichpic.name; 
		//document.getElementById('ShowLightBox').href = whichpic.href;

		if (whichpic.title) 
		{ 	//nodeValue 的标识中必须有内容		
			document.getElementById('truck_info').childNodes[0].nodeValue = whichpic.title; 
			//alert(document.getElementById('ShowLightBox').href+document.getElementById('placeholder').src);		
		} 
		else 
		{ 			
			//document.getElementById('truck_info').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue; 
			document.getElementById('truck_info').childNodes[0].nodeValue = "now no have pic information!"; 
		} 	
			return false; 	
	} 
	else
	{ 		
		return true; 	
	} 
}