var str_qq_codes = "872949440:279315991:442908068:847611255:"; //设置多个QQ号码,QQ要求以:隔开; 同时修改divOnlineService下的QQ号。
var arr_qq_codes = str_qq_codes.split(":");
var online= new Array(1,1,1,1,1,1); 
var clientIPAddr='<%=request.getRemoteAddr()%>';
var clientHost='<%=request.getRemoteHost()%>';
var serverRemoteUrl=window.location.href;
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F51df6d7906574ac24094fd0908de26fc' type='text/javascript'%3E%3C/script%3E"));
function accessLog(){ 
   var isAccesserCookieEnabled=navigator.cookieEnabled;
   var strAccesserStation=navigator.appVersion;
   var nDir=-1,nLoc=0,strAccessUserID="genlex";
   if      (serverRemoteUrl.indexOf("genlex.net.cn/")>=0)
   {   nDir=serverRemoteUrl.indexOf("genlex.net.cn/");nLoc=14;strAccessUserID="genlex.net.cn";}
   else if (serverRemoteUrl.indexOf("genlex.net.cn")>=0)
   {   nDir=serverRemoteUrl.indexOf("genlex.net.cn"); nLoc=13;strAccessUserID="genlex.net.cn";}
   else if (serverRemoteUrl.indexOf("/genlex/")>=0)
   {   nDir=serverRemoteUrl.indexOf("/genlex/"); nLoc=8;strAccessUserID="genlex.lan";}
   else if (serverRemoteUrl.indexOf("/genlex")>=0)
   {   nDir=serverRemoteUrl.indexOf("/genlex");  nLoc=7;strAccessUserID="genlex.lan";}
   if (nDir>=0)
       serverRemoteUrl=serverRemoteUrl.substring(nDir+nLoc);
   serverRemoteUrl=serverRemoteUrl.replace(/\//g,'.');
   var strLogParam="http://www.myscm.cn:8080/AL3CRM/crm/CRM990999.do?trancode=CRM990999&mode=1";
   strLogParam+="&AccessUserID="+strAccessUserID;
   strLogParam+="&AccessUrl="+serverRemoteUrl;
   if (clientIPAddr.indexOf("getRemoteAddr")>=0)
       clientIPAddr="000.000.0.000";
   strLogParam+="&AccesserIP="+clientIPAddr;
   strLogParam+="&AccesserStation="+strAccesserStation;
   try{
       frmLog.action=strLogParam;
       frmLog.submit();
   }catch(e){}
} 
function afterOnLoad(){ 
   accessLog();
   //float_OnlineServiceDiv();
} 
/*设置一个图像*/
function picsize(obj,MaxWidth){
   img=new Image();   //新建一个Image对象，用这个对象的width就不会出现width为0的现象 
   img.src=obj.src; 
   if (img.width>MaxWidth) 
      return MaxWidth; 
   else 
     return img.width; 
}

//Enter "frombottom" or "fromtop" 
var verticalpos="fromtop" 
function float_OnlineServiceDiv() 
{ 
    var startX =6, startY = 300;
    if (document.body.clientWidth>=780)
        startX=document.body.clientWidth-110;  //靠右
    var isNetScape = (navigator.appName.indexOf("Netscape") != -1); 
    function ml(id) 
    { 
        var el=document.getElementById?document.getElementById(id):document.all?document.all[id]:document.layers[id]; 
        if(document.layers) el.style=el; 
        el.sP=function(x,y){this.style.left=x;this.style.top=y;}; 
        el.x = startX; 
        if (verticalpos=="fromtop") 
            el.y  = startY; 
        else{ 
            el.y  = isNetScape ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight; 
            el.y -= startY; 
        } 
        return el; 
    } 
    window.stayToLocation=function() 
    { 
        if (verticalpos=="fromtop"){ 
            var pY = ns ? pageYOffset : document.body.scrollTop; 
            ftlObj.y += (pY + startY - ftlObj.y)/8; 
        } 
        else{ 
            var pY = isNetScape ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight; 
            ftlObj.y += (pY - startY - ftlObj.y)/8; 
        } 
        ftlObj.sP(ftlObj.x, ftlObj.y); 
        setTimeout("stayToLocation()", 10); 
    } 
    ftlObj = ml("divOnlineService"); 
    stayToLocation(); 
} 

//显示层
function show(d1){
  document.getElementById(d1).style.display='block';  
}

//隐藏层
function hide(d1){
  document.getElementById(d1).style.display='none';  
}

//自动隐藏显示层
function showandhide(s,d)
{  //alert(d);
  if(document.getElementById(d).style.display=='none')
  {    
      document.getElementById(d).style.display='block';
      document.getElementById(s).innerHTML='<font color="red">收缩</font>';
      document.getElementById("img"+d).src="../img/arrow_top_hide.gif";
  }
  else
  {
      document.getElementById(d).style.display='none';  
      document.getElementById(s).innerHTML='<font color="red">展开</font>';
      document.getElementById("img"+d).src="../img/arrow_top_show.gif";
  }
}

//选择二级菜单时,设置一级菜单的背景图
function bg_block(id)
{
  document.getElementById(id).style.backgroundImage="url(../bg/bgq.gif)";
}

function bg_none(id)
{
  document.getElementById(id).style.backgroundImage="";
}

function mouseover_style(id)
{
  var obj=document.getElementById(id);
  var width=100;
  var height=75;
  
  for(var i=0;i<10;i++)
  {
    width=width+22;
    height=height+20;
  }
  obj.style.width=width;
  obj.style.height=height;
}

function mouseout_style(id)
{
  var obj=document.getElementById(id);
  obj.style.width=100;
  obj.style.height=75;
}

document.write('<div id="header">');
document.write('  <div id="logo"><table border="0"><tr><td><img src="../img/logo8.gif" width="150" height="40"/></td><td><font style="font-style:魏碑; font-size:22px;color:blue;"><b>金律科技-专业物流软件</b></font></td></tr></table></div> ');
document.write('  <div id="barner"><table><tr><td><a href="../about/branch.htm"><font style="font-style:新宋体; font-size:24px; color:#FF0000"><b>0755-82891087</b></font></a></td><td><a href="../about/branch.htm"><img src="../img/phone.gif" height="45" width="70"/></a></td></tr></table></div>');
document.write('  <div>');
document.write('  <TABLE  border="0" cellspacing="0" cellpadding="0" align="center" width="100%">');
document.write('    <TR id="nav_main">');
document.write('        <A href="../index.html"><TD id="index" width="120" align="center" valign=middle height="30" style="color:#FFFFFF" onmousemove="this.className=\'onmouseoverStyle_menuA\'" onmouseout="this.className=\'onmouseoutStyle_menuA\'">');
document.write('          <b>首页</b></TD></A>');
document.write('        <A href="../product/AL3.htm"><TD id="service" width="120" align="center" valign=middle style="color:#FFFFFF" onmousemove="show(1);this.className=\'onmouseoverStyle_menuA\'" onmouseout="hide(1);this.className=\'onmouseoutStyle_menuA\'">');
document.write('          <b>产品及服务</b></TD></a>');
document.write('        <A href="../case/case1.htm"><TD id="succeed" width="120" align="center" valign=middle style="color:#FFFFFF" onmousemove="show(2);this.className=\'onmouseoverStyle_menuA\'"  onmouseout="hide(2); this.className=\'onmouseoutStyle_menuA\'">');
document.write('          <b>成功案例</b></TD></a>');
document.write('        <A href="../hr/job.htm"><TD id="hr" width="120" align="center" valign=middle style="color:#FFFFFF" onmousemove="show(3);this.className=\'onmouseoverStyle_menuA\'"  onmouseout="hide(3); this.className=\'onmouseoutStyle_menuA\'">');
document.write('          <b>人力资源</b></TD></A>');
document.write('        <A href="../about/about.htm"><TD id="about" width="120" align="center" valign=middle style="color:#FFFFFF" onmousemove="show(4);this.className=\'onmouseoverStyle_menuA\'"  onmouseout="hide(4); this.className=\'onmouseoutStyle_menuA\'">');
document.write('          <b>关于金律</b></TD></a>');
document.write('        <A href="../about/branch.htm"><TD width="120" align="center" valign=middle style="color:#FFFFFF" onmousemove="this.className=\'onmouseoverStyle_menuA\'" onmouseout="this.className=\'onmouseoutStyle_menuA\'">');
document.write('          <b>联系我们</b></TD></a>');
document.write('        <TD></TD><TD width="150" valign="middle" align="right"><input type="text" /></TD>');
document.write('        <TD width="80" valign="middle" align="center"><input type="image" name="search_btn" id="search_btn" src="../img/search_btn.gif" /></TD>');
document.write('    </TR>');
document.write('    <TR>');
document.write('        <TD style="height:0px;">&nbsp;</TD>');
document.write('        <TD><DIV id="1" onMouseMove="show(1);bg_block(\'service\')" onmouseout="hide(1);bg_none(\'service\')" style="display:none" class="MenuDiv" >');
document.write('           <a href="../product/AL3.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           软件产品</dt></a>');
document.write('           <a href="../demo/demo_AL3.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           试用系统</dt></a>');
document.write('           <a href="../res/whitepaper.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           资料下载</dt></a>');
document.write('        <TD><DIV id="2" onmouseover="show(2);bg_block(\'succeed\')" onmouseout="hide(2);bg_none(\'succeed\')" style="display:none" class="MenuDiv">');
document.write('           <a href="../case/case1.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           成功案例</dt></a>');
document.write('           <a href="../about/agent.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           诚寻合作</dt></a></DIV></TD>');
document.write('        <TD><DIV id="3" onmouseover="show(3);bg_block(\'hr\')" onmouseout="hide(3);bg_none(\'hr\')" style="display:none" class="MenuDiv">');
document.write('           <a href="../hr/job.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           招聘信息</dt></a>');
document.write('           <a href="../hr/apply.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           求职申请</dt></a></DIV></TD>');
document.write('        <TD><DIV id="4" onmouseover="show(4);bg_block(\'about\')" onmouseout="hide(4);bg_none(\'about\')" style="display:none" class="MenuDiv">');
document.write('           <a href="../about/about.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           公司简介</dt></a>');
document.write('           <a href="../about/culture.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           企业文化</dt></a>');
document.write('           <a href="../about/org.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           组织结构</dt></a>');
document.write('           <a href="../about/branch.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           分支机构</dt></a>');
document.write('           <a href="../about/his.htm"><dt class="MenuB" onmouseover="this.className=\'mouseOverStyle_menuB\'" onmouseout="this.className=\'mouseOutStyle_menuB\'">');
document.write('           发展历程</dt></a>');
document.write('        <TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>');
document.write('    </TR>');
document.write('  </TABLE>');
document.write('  </div>');
document.write('</div>');
  
    
    



