var p=0,s='',t,num=1,note=new Array();
function Lnk(s,src,i,r,blank){
if(r)i+=100
var r="<a id="+i+" href="+src+" target=_self>";
//if(blank==1)r+="self>";else r+="self>";
return r+=s+"</a>";
}
function GNext(){var b=p,r=str.indexOf("",b);p=r+1;return str.substr(b,r-b);}

function GUni(nm){
n=num-1;
note[n]="<div class=ti>"+nm+"</div><br><b>地  址:</b>"+GNext()+"<br><b>电  话:</b> "+GNext()+"<br><b>传  真:</b> "+GNext()+"<br><b>邮  编:</b>"+GNext()+"<br><b>EMAIL:</b>"+GNext()+"<br><b>网  址:</b>"+GNext()+"</p><font color='#6699cc'>☆中国自卸车网提供</font>";

}

function GU(nm){
n=num-1;
note[n]="<div class=ti>"+nm+"</div><br><b>底盘型号:</b>"+GNext()+"<br><b>发动机型号:</b> "+GNext()+"<br><b>车厢尺寸:</b> "+GNext()+"<br><b>车辆总质量:</b>"+GNext()+"<br><b>额定质量:</b>"+GNext()+"<br></p><font color='#6699cc'>☆中国自卸车网提供</font>";
}


function GHStu(nm){
n=num-1;
j=Number(GNext());
note[n]="<div class=ti>"+nm+"</div><br>";
for(i=1;i<=j;i++){note[n]+="<b>"+GNext()+"：</b>"+GNext()+'<br>';}
}


function load(){
var n,t,t2,sid
document.onmouseover =overEvent; 
document.onmouseout=outEvent;
document.oncontextmenu = nocontextmenu; 
document.onmousedown = norightclick; 
welcometext()
s=''
t="gonggao/qiye.asp?ID="
for(n=0;n<9;n++){nm=GNext();s+="<li>"+Lnk(nm,t+(Number(GNext())),num++,1,1)+"<br>";GUni(nm);}
s+=Lnk("共收录328个自卸车生产厂家 更多......","gonggao/minglu.asp")
qy.innerHTML=s

s=''
t="gonggao/canshu.asp?ID="
for(n=0;n<9;n++){nm=GNext();s+="<li>"+Lnk(nm,t+(Number(GNext())),num++,1,1)+"<br>";GU(nm);}
s+=Lnk("共收录3187种自卸车产品 更多......","gonggao/canshu.asp")
cp.innerHTML=s

note[455]="<b><font color='#ff0000'>系统简介</font></b>：“自卸车举升机构计算分析系统”是本公司专家在总结多年实践经验的基础上开发的一套专门用于自卸车设计、开发的计算机辅助软件。本软件是目前国内第一套自卸车举升机构设计计算的软件，填补了国内空白。<p><img border=0 src='jigou/main.gif' width=453 height=114></p><p><b><font color='#ff0000'>系统特点</font></b>：能够在几秒钟内获得<font color='#800000'>各点坐标</font>、<font color='#800000'>各点受力</font>、<font color='#800000'>油压特性曲线</font>等基本数据,并且自动分析可能存在的问题,比如:机构各部件是否可能干涉、液压缸加工是否有问题等；能够实时模拟机构运动状态。";
note[456]=note[455];
}


function overEvent(){
 var lf,ind;
 e=window.event; 
 i=e.srcElement.id;
 ind=i
 var s;
	
	if(i>100){ind=i-100;lf=260;}else lf=429;
	
	
	if( i>0){	
	tp.innerHTML=note[ind];	
	var bt=document.body.scrollTop; 
	var th=tp.scrollHeight;
	var testTop = (bt + e.clientY) -th-20;
	var tpTp = (testTop < bt) ? bt +e.clientY: testTop;	
	if(tpTp+th>bt+document.body.clientHeight)tpTp=bt;
	tp.style.posTop = tpTp;	
	tp.style.posLeft =lf;
	tp.style.width=300;
if(i>550){tp.style.width=480;tp.style.posLeft=10;}
	tp.style.visibility = "visible";}
}

function outEvent(){
	
	e=window.event; 
	i=e.srcElement.id;
	if( i>0){
	tp.style.visibility="hidden";
	}
}


function nocontextmenu() 
{
event.cancelBubble = true
event.returnValue = false;

return false;
}

function norightclick(e) 
{
if (window.Event) 
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}

}



var hellotext="设计、制造、最新技术--中国自卸车网!"
    var thetext=""
    var started=false
    var step=0
    var times=1

    function welcometext()
    {
      times--
      if (times==0)
      {
        if (started==false)
        {
          started = true;
          window.status = hellotext;
          setTimeout("anim()",1);
        }
        thetext = hellotext;
      }
    }
    function showstatustext(txt)
    {
      thetext = txt;
      setTimeout("welcometext()",4000)
      times++
    }
    function anim()
    {
      step++
      if (step==7) {step=1}
      if (step==1) {window.status='>==='+thetext+'===<'}
      if (step==2) {window.status='=>=='+thetext+'==<='}
      if (step==3) {window.status='>=>='+thetext+'=<=<'}
      if (step==4) {window.status='=>=>'+thetext+'<=<='}
      if (step==5) {window.status='==>='+thetext+'=<=='}
      if (step==6) {window.status='===>'+thetext+'<==='}
      setTimeout("anim()",1);
    }