﻿    var divfoot=document.getElementById('pageFoot');
    var strfoot='';
    strfoot+='<ul>'
    strfoot+='<li><a href="gsjs.html">关于讯众</a></li>'
    strfoot+='<li> | </li>'
    strfoot+='<li><a href="lxwm.html">联系我们</a></li>'
    strfoot+='<li> | </li>'
    strfoot+='<li><a href="zpxx.html">讯众招聘</a></li>'
    strfoot+='<li> | </li>'
//    strfoot+='<li><a href="#">用户中心</a></li>'
//    strfoot+='<li> | </li>'
    strfoot+='<li><a href="bzzx.html">帮助中心</a></li>'
    strfoot+='</ul>'
    strfoot+='<p>版权所有：北京讯众通信技术有限公司</p>'
    strfoot+='<p>电信与信息服务业务经营许可证编号:京ICP证090175号</p>'
    strfoot+="<div id=\"truck\" onmouseover=\"javascript:flag=false;\"  onmouseout=\"javascript:flag=true;\" style=\"width:80px; position:absolute;top:200px; left: 923px;\"><a onclick=\"window.open('http://124.42.91.9:8089/Default.aspx?param1=4006812008&&param2=6812008001&&param3=4006812008','et','width=550,height=546,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no');\"  style=\"cursor:hand\"><img src=\"images/fir.gif\" align=\"bottom\" alt=\"点此免费呼叫\" width=\"80px\"/></a></div>";
    divfoot.innerHTML=strfoot;
    
   // var objdiv=document.createElement('div');
   // objdiv.innerHTML="<a onclick=\"window.open('http://113.11.194.9:8089/Default.aspx?param1=4006812008&&param2=6812008001&&param3=4006812008','et','width=550,height=546,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no');\"  style=\"cursor:hand\"><img src=\"html/images/fir.gif\" align=\"bottom\" alt=\"点此免费呼叫\" width=\"80px\"/></a>";
   // document.body.appendChild(objdiv);
    //document.body.append("<a onclick=\"window.open('http://124.42.91.9:8089/Default.aspx?param1=4006812008&&param2=6812008001&&param3=4006812008','et','width=550,height=546,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no');\"  style=\"cursor:hand\"><img src=\"html/images/fir.gif\" align=\"bottom\" alt=\"点此免费呼叫\" width=\"80px\"/></a>");
    var increase=100;
    var direct=1;
    var max=document.body.offsetHeight
    var flag=true;
    function changePosition()
    {
        if(!flag)
        {
            return;
        }
        //alert(increase);
        document.getElementById('truck').style.left=document.body.offsetWidth-80;
        //alert(document.getElementById('truck').style.left);
        if(parseInt(document.getElementById('truck').style.top)>max-200)
        {
            direct=-1;
        }
        if(parseInt(document.getElementById('truck').style.top)<200)
        {
            direct=1;
        }
        increase=increase+10*direct;
        document.getElementById('truck').style.top=increase;
    }
    setInterval('changePosition()',1000);