function moveAlong(layerName, paceLeft, paceTop, fromLeft, fromTop){
	clearTimeout(eval(layerName).timer)
	if(eval(layerName).curLeft != fromLeft){
		if((Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft)) < paceLeft){eval(layerName).curLeft = fromLeft}
		else if(eval(layerName).curLeft < fromLeft){eval(layerName).curLeft = eval(layerName).curLeft + paceLeft}
			else if(eval(layerName).curLeft > fromLeft){eval(layerName).curLeft = eval(layerName).curLeft - paceLeft}
		if(ie){document.all[layerName].style.left = eval(layerName).curLeft}
		if(ns){document[layerName].left = eval(layerName).curLeft}
	}
	if(eval(layerName).curTop != fromTop){
   if((Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop)) < paceTop){eval(layerName).curTop = fromTop}
		else if(eval(layerName).curTop < fromTop){eval(layerName).curTop = eval(layerName).curTop + paceTop}
			else if(eval(layerName).curTop > fromTop){eval(layerName).curTop = eval(layerName).curTop - paceTop}
		if(ie){document.all[layerName].style.top = eval(layerName).curTop}
		if(ns){document[layerName].top = eval(layerName).curTop}
	}
	eval(layerName).timer=setTimeout('moveAlong("'+layerName+'",'+paceLeft+','+paceTop+','+fromLeft+','+fromTop+')',30)
}

function setPace(layerName, fromLeft, fromTop, motionSpeed){
	eval(layerName).gapLeft = (Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft))/motionSpeed
	eval(layerName).gapTop = (Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop))/motionSpeed
	moveAlong(layerName, eval(layerName).gapLeft, eval(layerName).gapTop, fromLeft, fromTop)
}
function FixY(){
	if(ie){sidemenu.style.top = document.body.scrollTop+10}
	if(ns){sidemenu.top = window.pageYOffset+10}
}



	//树形导航的JS代码,windleaf.cn QQ群8001234
	var expandState = 0;
	function expand(){
	  if(expandState == 0){setPace('master', 0, 10, 10); if(ie){document.menutop.src = 'qqkefu/no.gif'}; expandState = 1;}
	  else{setPace('master', -157, 10, 10); if(ie){document.menutop.src='qqkefu/payonline.gif'}; expandState = 0;}
	}
	document.write("<style type=text/css>#master {left: -157px; font-size:12px; POSITION: absolute; TOP: 25px; VISIBILITY: visible; Z-INDEX: 999}</style>")
	document.write("<table id=master border=0 cellspacing=0 cellpadding=0>")
	document.write("<tr><td width=157 valign=top>")

document.write("<table cellSpacing=0 cellPadding=0 width=157 border=0 bgcolor=ffffff>")
document.write("<tr><td colSpan=3><img height=22 src=qqkefu/ico1.gif></td></tr>")
document.write("<tr><td colSpan=3 align=center height=36 background=qqkefu/ico6.gif>")


AddPortal('38057','qqkefu/logo_24x24.jpg ','1','2.1');

document.write("</td></tr>")
//document.write("<tr><td colSpan=3><img height=42 src=ico7.gif width=157></td></tr>")
//document.write("<tr><td colSpan=3 background=qqkefu/ico7.gif width=157 height=42 style='padding-left:80;padding-top:20'>"+web_qq+"</td></tr>")
document.write("<tr><td colSpan=3 background=qqkefu/ico7.gif width=157 height=42 style='padding-left:50;padding-top:20'>利尔网络</td></tr>")

document.write("<tr><td width=34 height=200 background=qqkefu/ico8.gif ></td>")
document.write("<td vAlign=top width=116 bgColor=#ffffff style='word-break:break-all;line-height:1.5'>")
//document.write("　<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin="+web_qq+"&Site=数控信息网QQ><img border=0 SRC=http://wpa.qq.com/pa?p=1:"+web_qq+":7></a><br>")
document.write("　<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=441655943&Site=售后客服><img border=0 SRC=http://wpa.qq.com/pa?p=1:441655943:4>售后客服</a><br>")
document.write("　<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=511858426&Site=推广客服><img border=0 SRC=http://wpa.qq.com/pa?p=1:511858426:4>推广客服</a><br>")
document.write("　<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=843637220&Site=网站客服><img border=0 SRC=http://wpa.qq.com/pa?p=1:843637220:4>网站客服</a><br>")
document.write("　<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=925077390&Site=渠道合作><img border=0 SRC=http://wpa.qq.com/pa?p=1:925077390:4>渠道合作</a><br>")
document.write("　<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=925077390&Site=渠道客服><img border=0 SRC=http://wpa.qq.com/pa?p=1:925077390:4>渠道客服</a><br>")
document.write("<br><b>最新消息：</b><br>&nbsp;&nbsp;&nbsp;&nbsp;河南利尔网络是致力于提供完整互联网服务的专业服务商。面向政府及企、事业单位，为其提供全方位的网络综合信息化服务及多层次电子商务解决方案。<br><div align=center>热线电话：<br>0371-66318507</div>")
//document.write("<b>中国机床网：</b><br>"+web_qun+"<br>\<b>客服QQ：</b><br>"+web_qq+"<br><b>客服Email：</b></b><br>"+web_email)

document.write("</td>")
document.write("<td align=right width=7 background=qqkefu/ico9.gif></td>")
document.write("<tr><td colSpan=3><img height=36 src=qqkefu/ico2.gif width=157></td></tr>")
document.write("<tr><td colSpan=3 height=29 width=157 background='qqkefu/ico3.gif'onclick='help()' style='cursor:hand' align=right><marquee style='width:65' scrollamount=2 scrolldelay=1 direction=left><font color=000>利尔网络欢迎您!</marquee></td></tr>")
document.write("<tr><td colSpan=3></table>")
function help(){
	window.open("../gwznindex.asp","_self","");
}


	document.write("</td>")
	document.write("<td valign='top' onMouseOver=javascript:expand()><img id=menu width=20 height=109 border=0  name=menutop src=qqkefu/payonline.gif></td>");
	document.write("</tr></table>");
	var ie = document.all ? 1 : 0
	var ns = document.layers ? 1 : 0
	var master = new Object('element')
	master.curLeft = -157;   master.curTop = 10;
	master.gapLeft = 0;      master.gapTop = 0;
	master.timer = null;
	if(ie){var sidemenu = document.all.master;}
	if(ns){var sidemenu = document.master;}
	setInterval('FixY()',100);