﻿<!--
 /* 首页和客服中心下拉菜单 */

function MM_showHideLayers() { //v2.0
  var i, visStr, args, theObj;
  args = MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
    visStr   = args[i+2];
    if (navigator.appName == 'Netscape' && document.layers != null) {
      theObj = eval(args[i]);
      if (theObj) theObj.visibility = visStr;
    } else if (document.all != null) { //IE
      if (visStr == 'show') visStr = 'visible'; //convert vals
      if (visStr == 'hide') visStr = 'hidden';
      theObj = eval(args[i+1]);
      if (theObj) theObj.style.visibility = visStr;
  } }
}

//-->

<!--
 /* 首页小标签变换一半 */

function setTab(m,n){
var tli=document.getElementById("menu"+m).getElementsByTagName("li");
for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"xixi_qh168_item1":"xixi_qh168_item2";
}
}

//-->

<!--
 /* 目录树打开关闭 */

function xixikai(name)
{
if (name.style.display=="none")
  name.style.display=""
else
{
name.style.display="none"
}
}
function xixiguan(name)
{
name.style.display="none"
}

// -->

<!--
 /* 客服中心按钮 */

        var    aa = 0 ;
        var    name = "";
        var    num = 0;
        if (document.images) {

            img1on = new Image ();
            img1on.src = "img/service12.gif";
            img1off = new Image ();
            img1off.src = "img/service11.gif";

            img2on = new Image ();
            img2on.src = "img/service22.gif";
            img2off = new Image ();
            img2off.src = "img/service21.gif";

            img3on = new Image ();
            img3on.src = "img/service32.gif";
            img3off = new Image ();
            img3off.src = "img/service31.gif";

            img4on = new Image ();
            img4on.src = "img/service42.gif";
            img4off = new Image ();
            img4off.src = "img/service41.gif";

            img5on = new Image ();
            img5on.src = "img/service52.gif";
            img5off = new Image ();
            img5off.src = "img/service51.gif";

            img6on = new Image ();
            img6on.src = "img/service62.gif";
            img6off = new Image ();
            img6off.src = "img/service61.gif";

            img7on = new Image ();
            img7on.src = "img/service72.gif";
            img7off = new Image ();
            img7off.src = "img/service71.gif";

            img8on = new Image ();
            img8on.src = "img/service82.gif";
            img8off = new Image ();
            img8off.src = "img/service81.gif";

        }

function imgOn(imgName,flag) {
if ((aa==0) | (aa != flag))
   {        if (document.images)
           {
            document[imgName].src = eval(imgName + "on.src");
           }
  }
}
function imgOff(imgName,flag) {
if ((aa==0) | (aa != flag))
        {if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}
}

// -->

