//搜索选择
$(function() {

    $("#search_area").find(".search_menu").click(function() {
        $(this).addClass("current").siblings(".search_menu").removeClass("current");
        var index = parseInt($(this).index())+1;
        $(".search_hots").children("a.show").removeClass("show");
        $(".search_hots").children(".key"+index).addClass("show");
})})
//顶部搜索
var nsi=1;
function topover(){
document.getElementById("topdiv").style.display="";
}
function topout(){
document.getElementById("topdiv").style.display="none";
}
function topjconc(x,y){
nsi=x;
document.getElementById("topnwd").innerHTML=y;
topout();
}
function topftj(){
if((document.topf1.topt.value).replace("/\s/","")==""){alert("请输入搜索关键词");document.topf1.topt.focus();return false;}
topf1.action="../search/so.php?admin="+nsi;
}



//头部弹出www.shopwwx.com开发
$(document).ready(function() {
    $(".tan li:not(.not)").live({
        mouseenter: function() {
            $(this).addClass("curr")
        },
        mouseleave: function() {
            $(this).removeClass("curr")
        }
    });
})

var xmlHttpidl = false;

if (!xmlHttpidl && typeof XMLHttpRequest != 'undefined') {
  xmlHttpidl = new XMLHttpRequest();
}
function idldl(x){
 if(x==0){}else{
 url ="../tem/idl.php";
 }
 xmlHttpidl.open("get", url, true);
 xmlHttpidl.onreadystatechange = updatePageidl;
 xmlHttpidl.send(null);
}
function updatePageidl() {
 if (xmlHttpidl.readyState == 4) {
  response = xmlHttpidl.responseText;
  response=response.replace(/[\r\n]/g,'');
  a=response.split("|");
  if(a[0]=="err1"){idlzt(1);return false;}

  else if(a[0]=="ok"){
  userCheckses();
  //修复开始，其他页面余额
  document.getElementById("yue").innerHTML=a[4];
  document.getElementById("idl4").innerHTML=a[2];
  document.getElementById("idl3").innerHTML=a[3];
  //修复结束
  document.getElementById("id").innerHTML=a[1];
  //修复开始,积分获取
  document.getElementById("idljifen").innerHTML=a[5];
  //修复完成，积分获取
  //修复开始，头像
  document.getElementById("idltx").src=a[6];

}
 }
}

//头部弹出www.shopwwx.com结束

//首页下拉菜单  www.sho pw wx.co m开发
function yhifdis(x){
if(x==0){dis="none";}else{dis="";}
if(document.getElementById("typeallnum")){
 for(i=10;i<=document.getElementById("typeallnum").innerHTML;i++){
  document.getElementById("yhmenu"+i).style.display=dis;	 
 }
}	
}
function leftmenuover(){
 document.getElementById("leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function leftmenuout(){
 if(!document.getElementById("leftnone")){
  document.getElementById("leftmenu").style.display="none";	
 }else{
  yhifdis(0);	 
 }
}
function yhmenuover(x){
document.getElementById("yhmenu"+x).className="menu1 menu2";	
document.getElementById("rmenu"+x).style.display="";	
}
function yhmenuout(x){
document.getElementById("yhmenu"+x).className="menu1";	
document.getElementById("rmenu"+x).style.display="none";	
}
//群码 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuqunmaoverqunma(x){
document.getElementById("shopwwxcom_yhmenuqunma"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuqunma"+x).style.display="";	
}
function shopwwxcom_yhmenuqunmaout(x){
document.getElementById("shopwwxcom_yhmenuqunma"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuqunma"+x).style.display="none";	
}
//单子 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenujiedanoverjiedan(x){
document.getElementById("shopwwxcom_yhmenujiedan"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenujiedan"+x).style.display="";	
}
function shopwwxcom_yhmenujiedanout(x){
document.getElementById("shopwwxcom_yhmenujiedan"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenujiedan"+x).style.display="none";	
}
//素材 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenusucaioversucai(x){
document.getElementById("shopwwxcom_yhmenusucai"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenusucai"+x).style.display="";	
}
function shopwwxcom_yhmenusucaiout(x){
document.getElementById("shopwwxcom_yhmenusucai"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenusucai"+x).style.display="none";	
}
//卡点卡密 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenukadianoverkadian(x){
document.getElementById("shopwwxcom_yhmenukadian"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenukadian"+x).style.display="";	
}
function shopwwxcom_yhmenukadianout(x){
document.getElementById("shopwwxcom_yhmenukadian"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenukadian"+x).style.display="none";	
}
//软件市场 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuruanjianoverruanjian(x){
document.getElementById("shopwwxcom_yhmenuruanjian"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuruanjian"+x).style.display="";	
}
function shopwwxcom_yhmenuruanjianout(x){
document.getElementById("shopwwxcom_yhmenuruanjian"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuruanjian"+x).style.display="none";	
}
//找服务 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenufuwuoverfuwu(x){
document.getElementById("shopwwxcom_yhmenufuwu"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenufuwu"+x).style.display="";	
}
function shopwwxcom_yhmenufuwuout(x){
document.getElementById("shopwwxcom_yhmenufuwu"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenufuwu"+x).style.display="none";	
}
//转让 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuzhuanrangoverzhuanrang(x){
document.getElementById("shopwwxcom_yhmenuzhuanrang"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuzhuanrang"+x).style.display="";	
}
function shopwwxcom_yhmenuzhuanrangout(x){
document.getElementById("shopwwxcom_yhmenuzhuanrang"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuzhuanrang"+x).style.display="none";	
}
//需求 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuxuqiuoverxuqiu(x){
document.getElementById("shopwwxcom_yhmenuxuqiu"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuxuqiu"+x).style.display="";	
}
function shopwwxcom_yhmenuxuqiuout(x){
document.getElementById("shopwwxcom_yhmenuxuqiu"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuxuqiu"+x).style.display="none";	
}
//营销 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuyingxiaooveryingxiao(x){
document.getElementById("shopwwxcom_yhmenuyingxiao"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuyingxiao"+x).style.display="";	
}
function shopwwxcom_yhmenuyingxiaoout(x){
document.getElementById("shopwwxcom_yhmenuyingxiao"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuyingxiao"+x).style.display="none";	
}
//自助 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuzizhuoverzizhu(x){
document.getElementById("shopwwxcom_yhmenuzizhu"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuzizhu"+x).style.display="";	
}
function shopwwxcom_yhmenuzizhuout(x){
document.getElementById("shopwwxcom_yhmenuzizhu"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuzizhu"+x).style.display="none";	
}
//悬浮教程 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenujiaochengoverjiaocheng(x){
document.getElementById("shopwwxcom_yhmenujiaocheng"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenujiaocheng"+x).style.display="";	
}
function shopwwxcom_yhmenujiaochengout(x){
document.getElementById("shopwwxcom_yhmenujiaocheng"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenujiaocheng"+x).style.display="none";	
}
//平台App www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuappxzoverappxz(x){
document.getElementById("shopwwxcom_yhmenuappxz"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuappxz"+x).style.display="";	
}
function shopwwxcom_yhmenuappxzout(x){
document.getElementById("shopwwxcom_yhmenuappxz"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuappxz"+x).style.display="none";	
}
//悬浮域名 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuwangzhioverwangzhi(x){
document.getElementById("shopwwxcom_yhmenuwangzhi"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuwangzhi"+x).style.display="";	
}
function shopwwxcom_yhmenuwangzhiout(x){
document.getElementById("shopwwxcom_yhmenuwangzhi"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuwangzhi"+x).style.display="none";	
}

//悬浮单机游戏 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_danjioverwangzhi(x){
document.getElementById("shopwwxcom_danji"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_danjiyouxi"+x).style.display="";	
}
function shopwwxcom_danjiout(x){
document.getElementById("shopwwxcom_danji"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_danjiyouxi"+x).style.display="none";	
}

//记录 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenujiluoverjilu(x){
document.getElementById("shopwwxcom_yhmenujilu"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenujilu"+x).style.display="";	
}
function shopwwxcom_yhmenujiluout(x){
document.getElementById("shopwwxcom_yhmenujilu"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenujilu"+x).style.display="none";	
}
//app www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuappoverapp(x){
document.getElementById("shopwwxcom_yhmenuapp"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuapp"+x).style.display="";	
}
function shopwwxcom_yhmenuappout(x){
document.getElementById("shopwwxcom_yhmenuapp"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuapp"+x).style.display="none";	
}
//购物车 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenucheoverche(x){
document.getElementById("shopwwxcom_yhmenuche"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuche"+x).style.display="";	
}
function shopwwxcom_yhmenucheout(x){
document.getElementById("shopwwxcom_yhmenuche"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuche"+x).style.display="none";	
}
//招商加盟 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuzhaoshangoverzhaoshang(x){
document.getElementById("shopwwxcom_yhmenuzhaoshang"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuzhaoshang"+x).style.display="";	
}
function shopwwxcom_yhmenuzhaoshangout(x){
document.getElementById("shopwwxcom_yhmenuzhaoshang"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuzhaoshang"+x).style.display="none";	
}
//客服 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenukefuoverkefu(x){
document.getElementById("shopwwxcom_yhmenukefu"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenukefu"+x).style.display="";	
}
function shopwwxcom_yhmenukefuout(x){
document.getElementById("shopwwxcom_yhmenukefu"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenukefu"+x).style.display="none";	
}
//悬浮域名 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuyouxioveryouxi(x){
document.getElementById("shopwwxcom_yhmenuyouxi"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuyouxi"+x).style.display="";	
}
function shopwwxcom_yhmenuyouxiout(x){
document.getElementById("shopwwxcom_yhmenuyouxi"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuyouxi"+x).style.display="none";	
}
//悬浮导航代运营 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenufuwuqioverfuwuqi(x){
document.getElementById("shopwwxcom_yhmenufuwuqi"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenufuwuqi"+x).style.display="";	
}
function shopwwxcom_yhmenufuwuqiout(x){
document.getElementById("shopwwxcom_yhmenufuwuqi"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenufuwuqi"+x).style.display="none";	
}
//悬浮导航三个 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuover(x){
document.getElementById("shopwwxcom_yhmenu"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenu"+x).style.display="";	
}
function shopwwxcom_yhmenuout(x){
document.getElementById("shopwwxcom_yhmenu"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenu"+x).style.display="none";	
}
//接单赚钱 www.sho pw wx.com开发
function shopwwxcom_leftmenuoverff(){
 document.getElementById("leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function yhmenuovermm(x){
document.getElementById("yhmenumm"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("rmenumm"+x).style.display="";	
}
function yhmenuoutmm(x){
document.getElementById("yhmenumm"+x).className="shopwwxcom_menu99";	
document.getElementById("rmenumm"+x).style.display="none";	
}
//qq微信 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuqqwxoverqqwx(x){
document.getElementById("shopwwxcom_yhmenuqqwx"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuqqwx"+x).style.display="";	
}
function shopwwxcom_yhmenuqqwxout(x){
document.getElementById("shopwwxcom_yhmenuqqwx"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuqqwx"+x).style.display="none";	
}
//vip www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuvipovervip(x){
document.getElementById("shopwwxcom_yhmenuvip"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuvip"+x).style.display="";	
}
function shopwwxcom_yhmenuvipout(x){
document.getElementById("shopwwxcom_yhmenuvip"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuvip"+x).style.display="none";	
}
//侵权 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenubaohuoverbaohu(x){
document.getElementById("shopwwxcom_yhmenubaohu"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenubaohu"+x).style.display="";	
}
function shopwwxcom_yhmenubaohuout(x){
document.getElementById("shopwwxcom_yhmenubaohu"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenubaohu"+x).style.display="none";	
}
//广告 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuadoverad(x){
document.getElementById("shopwwxcom_yhmenuad"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuad"+x).style.display="";	
}
function shopwwxcom_yhmenuadout(x){
document.getElementById("shopwwxcom_yhmenuad"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuad"+x).style.display="none";	
}
//友情 www.sho p w wx.com开发
function shopwwxcom_shopwwxcom_leftmenuover(){
 document.getElementById("shopwwxcom_leftmenu").style.display="";
 if(document.getElementById("leftnone")){yhifdis(1);}
}
function shopwwxcom_yhmenuyouqingoveryouqing(x){
document.getElementById("shopwwxcom_yhmenuyouqing"+x).className="shopwwxcom_menu99 shopwwxcom_menu29";	
document.getElementById("shopwwxcom_rmenuyouqing"+x).style.display="";	
}
function shopwwxcom_yhmenuyouqingout(x){
document.getElementById("shopwwxcom_yhmenuyouqing"+x).className="shopwwxcom_menu99";	
document.getElementById("shopwwxcom_rmenuyouqing"+x).style.display="none";	
}


