$('.sousuo-srk').bind('input propertychange',function(){var text=$(".sousuo-srk").val();if(text!=""){$(".tishi").addClass("now");}else{$(".tishi").removeClass("now");}});jQuery("#nav-menu").slide({type:"menu",titCell:".menu-li",targetCell:".menu-box",effect:"slideDown",delayTime:300,triggerTime:0,defaultPlay:false,returnDefault:true,titOnClassName:"now"});jQuery(".banner").slide({mainCell:".bd ul",trigger:"click",autoPlay:true});jQuery(".content1 .inner").slide({effect:"fade",mainCell:".tab-bd",titCell:".tab-hd li",trigger:"click",titOnClassName:"now"});$(".content1-tit .content1-tit-li").click(function(){$(".content1-tit .content1-tit-lianjie").removeClass("now");$(".content1-tit .content1-tit-lianjie").eq($(".content1-tit .content1-tit-li.now").attr("data-num")-1).addClass("now");});$(".content1-tit .content1-tit-li").click(function(){$(".content1-location .content1-location-li").removeClass("now");$(".content1-location .content1-location-li").eq($(".content1-tit .content1-tit-li.now").attr("data-num")-1).addClass("now");});jQuery(".content3-mlxd").slide({mainCell:".content3-mlxd-neirong ul",prevCell:".content3-mlxd-tit-jiantou-left",nextCell:".content3-mlxd-tit-jiantou-right"});var footXwdhZhuangTai=false;$(".foot-xwdh").click(function(){if(footXwdhZhuangTai==false){$(".foot-xwdh-anniu-jiantou").addClass("now");$(".foot-xwdh-lianjiebox").addClass("now");$(".foot-xwdh-lianjiebox").scrollTop(0);footXwdhZhuangTai=true;}else if(footXwdhZhuangTai==true){$(".foot-xwdh-anniu-jiantou").removeClass("now");$(".foot-xwdh-lianjiebox").removeClass("now");footXwdhZhuangTai=false;}});$(document).bind("click",function(e){var e=e||window.event;var target=e.target||e.srcElement;while(target){if(target.id&&target.id=="foot-xwdh"){return;} target=target.parentNode;} $(".foot-xwdh-anniu-jiantou").removeClass("now");$(".foot-xwdh-lianjiebox").removeClass("now");footXwdhZhuangTai=false;})