jQuery(function(){
//选项卡滑动切换通用
jQuery(function(){jQuery(".hoverTag .chgBtn").hover(function(){jQuery(this).parent().find(".chgBtn").removeClass("chgCutBtn");jQuery(this).addClass("chgCutBtn");var cutNum=jQuery(this).parent().find(".chgBtn").index(this);jQuery(this).parents(".hoverTag").find(".chgCon").hide();jQuery(this).parents(".hoverTag").find(".chgCon").eq(cutNum).show();})})

//选项卡点击切换通用
jQuery(function(){jQuery(".clickTag .chgBtn").click(function(){jQuery(this).parent().find(".chgBtn").removeClass("chgCutBtn");jQuery(this).addClass("chgCutBtn");var cutNum=jQuery(this).parent().find(".chgBtn").index(this);jQuery(this).parents(".clickTag").find(".chgCon").hide();jQuery(this).parents(".clickTag").find(".chgCon").eq(cutNum).show();})})

$(".mct1_itms span").hover(function(){var cutInx1=$(".mct1_itms span").index(this);$(".mct1_itms span").removeClass("cor_blue");$(this).addClass("cor_blue");$(".mc3_wbox").hide();$(".mc3_wbox").eq(cutInx1).show()});
$(".mc3_imgBox").hover(function(){$(this).find(".mc3_line").show();},function(){$(this).find(".mc3_line").hide();});

$(".mbackTop").click(function(){$("body,html").animate({"scrollTop":0},500)});
$(window).scroll(function(){
  if($(document).scrollTop()>100){
	$(".mbackTop").fadeIn(300);  
  }else{$(".mbackTop").fadeOut(300);
  }
});

//弹出层
$(".mlayBox").height($(document).height());
$(".mreg_click").click(function(){$(".mlayConImg,.mlayBox").fadeIn(200)});
$(".mlay_close").click(function(){$(".mlayConImg,.mlayBox").fadeOut(200)});


})
//屏蔽页面错误
jQuery(window).error(function(){
  return true;
});
jQuery("img").error(function(){
  $(this).hide();
});