/**滑动详情 开始**/
	function tabchange3(){			//第一部分
		var bttom = document.getElementById("sliding_door1");
		var ss = bttom.getElementsByTagName("li");
		for(var i=0;i<ss.length;i++){
			addEventHandler(ss[i],"mouseover",function(){changecss(this,true);});
			addEventHandler(ss[i],"mouseout",function(){changecss(this,false);});
		}	
	}
	
	function tabchange4(){			//第二部分
		var bttom = document.getElementById("sliding_door2");
		var ss = bttom.getElementsByTagName("li");
		for(var i=0;i<ss.length;i++){
			addEventHandler(ss[i],"mouseover",function(){changecss2(this,true);});
			addEventHandler(ss[i],"mouseout",function(){changecss2(this,false);});
		}	
	}

	function addEventHandler(oTarget, sEventType, fnHandler) {
	if (oTarget.addEventListener) {
		oTarget.addEventListener(sEventType, fnHandler, false);
		} else {
		 oTarget["on" + sEventType] = fnHandler;
		}
	}

	function changecss(ospan,isshow) {			//第一部分
		var bttom = document.getElementById("sliding_door1");
		var ss = bttom.getElementsByTagName("li");
		for(var i=0;i<ss.length;i++){
			ss[i].className="";
		}
		if(isshow)ospan.className="sp";
	}
	
	function changecss2(ospan,isshow) {			//第二部分
		var bttom = document.getElementById("sliding_door2");
		var ss = bttom.getElementsByTagName("li");
		for(var i=0;i<ss.length;i++){
			ss[i].className="";
		}
		if(isshow)ospan.className="sp";
	}

	window.onload=function(){
	
	 tabchange3();
	 tabchange4();
	}