var lastId=0;
      function changeLeft(currId,cid){
        if(currId!=lastId){
          jQuery("#tag"+currId).attr("class","current_menu01");
          jQuery("#tag"+lastId).attr("class","left_menu");
          jQuery("#con"+currId).show();
          jQuery("#con"+lastId).hide();
          //jQuery("#freeCon").load("IndexInclude/LoadMachinateContent.do",{id:cid});
          lastId=currId;
        }
      }
	  
var lastNum=1;
      function changeTab(num){
        if(num!=lastNum){
          document.getElementById("index1_tab"+lastNum).style.display="none";
          document.getElementById("index1_tab"+num).style.display="";
          var obj=document.getElementById("aTab"+num);
	  
          if(num==1){
            obj.className="index1_first2";obj.setAttribute("class","index1_first2");
          }
          if(num==2){
            obj.className="index1_other2";obj.setAttribute("class","index1_other2");
          }
          if(num==3){
            obj.className="index1_other2";obj.setAttribute("class","index1_other2");
          }
          if(num==4){
            obj.className="index1_other2";obj.setAttribute("class","index1_other2");
          }
          if(num==5){
            obj.className="index1_last2";obj.setAttribute("class","index1_last2");
          }
          var oobj=document.getElementById("aTab"+lastNum);
          if(lastNum==1){
            oobj.className="index1_first";oobj.setAttribute("class","index1_first");
          }else if(lastNum==5){
            oobj.className="index1_last";oobj.setAttribute("class","index1_last");
          }else{
            oobj.className="index1_other";oobj.setAttribute("class","index1_other");
          }
          lastNum=num;
        }
      }
	  
 var _bdhm_top = 0;
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    var _bdhm_tim = new Image(1,1);
    _bdhm_tim.id = "bdhmPerimg";
    _bdhm_tim.src = _bdhmProtocol + "hm.baidu.com/_tt.gif?si=df0e09d6f25a15a815563df9827f48fa&rnd=" + Math.round(Math.random()*2147483647);
    _bdhm_tim.onload=function(){_bdhm_top = 1;}

function showProduct(obj){
    jQuery(obj).show();
  }
  function hideProduct(obj){
    jQuery(obj).hide();
  }
  function showBg(obj){
    jQuery(obj).addClass("bg_abc1d2");
  }
  function removeBg(obj){
    jQuery(obj).removeClass("bg_abc1d2");
  }
  function showKF(){
    var kf=jQuery("#kf_layer")
    if(kf.css("display")=="none"){
      kf.show();
    }else{
      kf.hide();
    }
  }