function gotoeictop(n){$("li",$(n)).hover(function(){$(".totop_litxt").hide(),$(".totop_litxt",this).show(),$(this).addClass("totopli_selected"),$(this).attr("id")=="sewm_li"&&($(".eic_gotophidden").hide(),$("#eic_twowm").show()),$(this).attr("id")=="yycs_li"&&($(".eic_gotophidden").hide(),$("#eic_gotoptel").show()),$(this).attr("id")=="vjlq_li"&&($(".eic_gotophidden").hide(),$("#eic_gotopfenxiang").show()),$(this).attr("id")=="zxwd_li"&&($(".eic_gotophidden").hide(),$("#eic_looyu").show())},function(){$(this).attr("id")=="sewm_li"?$(n).mouseleave(function(){$(".eic_gotophidden").hide(),$(".totop_litxt").hide(),$("li",$(n)).removeClass("totopli_selected")}):($(this).removeClass("totopli_selected"),$(".totop_litxt").hide())}),$(window).scroll(function(){var n=$(window).scrollTop();n>=150?$("#fhdb_li").css("visibility","visible"):$("#fhdb_li").css("visibility","hidden"),n>=150?$("#eic-header-nav").css({position:"fixed",top:"0"}):$("#eic-header-nav").css({position:"relative"})}),$("#fhdb_li").click(function(){$("html,body").animate({scrollTop:0},1e3)})}function jtabshow(n){$.jtabber(n)}function jTurnlr(n){$(n.mainDiv).jCarouselLite(n)}function jBoxPopUp(n){$(n.mainDiv).colorbox(n),$(".eic_popbox .eic_popbox_close").click(function(){jQuery().colorbox.close()})}function showDownMenu(n,t,i){$(t).click(function(){$(i).hide(),n||$($(this).attr("name")).show(),$(this).parent().children().removeClass("on"),$(this).addClass("on")})}(function(n){n.fn.extend({rollingUpDownTxt:function(){var t=n(this),r=2e3,i;t.hover(function(){clearInterval(i)},function(){i=setInterval(function(){var n=t.find("li:first"),i=n.height()+parseInt(n.css("padding-top"))+parseInt(n.css("padding-bottom"));n.animate({marginTop:-i+"px"},600,function(){n.css("marginTop",0).appendTo(t)})},r)}).trigger("mouseleave")}})})(jQuery),jQuery(function(n){typeof n.fn.lazyload=="function"&&n("img.lazy").lazyload({effect:"fadeIn",skip_invisible:!1}),n(".headernav-ul li").hover(function(){n(".eic-pulldownBox").hide(),n(".headernav-ul li a").removeClass("headernav-selected");var t=n(n(this).attr("name"));t.show(),n("a",this).addClass("headernav-selected")},function(){var t=n(n(this).attr("name"));n("#eic-header-nav").mouseleave(function(){t.hide(),n(".headernav-ul li a").removeClass("headernav-selected")})}),n(".search_news").hover(function(){n(".search_menu").show()},function(){n(".search_menu").hide()}),n(".search_menu li").hover(function(){n(this).addClass("selected")},function(){n(this).removeClass("selected")}),n(".search_menu li").click(function(){n(".search_news .search_type").html("").html(n(this).html()),n("#searchtypeid").attr("value",n(this).html()),n(".search_menu").hide()}),n(".menu-hd").hover(function(){n(".eic-fenlist",n(this).parent()).show(),n(this).addClass("fen_menu_hover")},function(){n(".eic_menu").mouseleave(function(){n(".eic-fenlist",n(this).parent()).hide(),n(".menu-hd").removeClass("fen_menu_hover")})});var t=!0;n("#eic_footer_show").click(function(){t?(n("#eic_footer_list").hide(),n("#eic_footer_show b").removeClass("showall"),n("#eic_footer_show b").addClass("showclose"),t=!1):(n("#eic_footer_list").show(),n("#eic_footer_show b").removeClass("showclose"),n("#eic_footer_show b").addClass("showall"),t=!0)}),n("#eic_footer_list a.eic_btn_up").click(function(){n("#eic_footer_list .eic_flink_info").show(),n("#eic_footer_list .eic_up").hide(),n("#eic_footer_list .eic_down").show()}),n("#eic_footer_list a.eic_btn_down").click(function(){n("#eic_footer_list .eic_flink_info").hide(),n("#eic_footer_list .eic_up").show(),n("#eic_footer_list .eic_down").hide()}),gotoeictop("#totop")}),function(n){function t(t,i){return parseInt(n.css(t[0],i))||0}function i(n){if(n[0].offsetWidth==0){var i=t(n,"width")+t(n,"paddingLeft")+t(n,"paddingRight");return i+t(n,"marginLeft")+t(n,"marginRight")}return n[0].offsetWidth+t(n,"marginLeft")+t(n,"marginRight")}function r(n){return n[0].offsetHeight+t(n,"marginTop")+t(n,"marginBottom")}n.fn.jCarouselLite=function(t){return t=n.extend({btnPrev:null,btnNext:null,btnGo:null,btnGoHover:null,mouseWheel:!1,auto:null,speed:1e3,easing:null,vertical:!1,circular:!0,visible:3,start:0,scroll:1,beforeStart:null,afterEnd:null},t||{}),this.each(function(){function y(){if(t.btnGoHover!=null){var f=t.btnGo.length,r=Math.floor(u/t.scroll),i=1;i=r<=0?f:r>f?1:r,n("li."+t.btnGoHover,n(t.btnGo[0]).parent()).removeClass(t.btnGoHover),n(t.btnGo[i-1]).addClass(t.btnGoHover)}return!1}function k(){return e.slice(u).slice(0,f)}function s(i){if(!w&&!a){if(t.beforeStart&&t.beforeStart.call(this,k()),t.circular)i<=t.start-f-1?(h.css(v,-((o-f*2)*c)+"px"),u=i==t.start-f-1?o-f*2-1:o-f*2-t.scroll):i>=o-f+1?(h.css(v,-(f*c)+"px"),u=i==o-f+1?f+1:f+t.scroll):u=i;else{if(i<0||i>o-f)return;u=i}w=!0,h.animate(v=="left"?{left:-(u*c)}:{top:-(u*c)},t.speed,t.easing,function(){t.afterEnd&&t.afterEnd.call(this,k()),w=!1}),t.circular||(n(t.btnPrev+","+t.btnNext).removeClass("disabled"),n(u-t.scroll<0&&t.btnPrev||u+t.scroll>o-f&&t.btnNext||[]).addClass("disabled"))}return!1}var w=!1,v=t.vertical?"top":"left",b=t.vertical?"height":"width",l=n(this),h=n("ul",l),p=n("li",h),d=p.size(),f=t.visible,a;t.circular&&(h.prepend(p.slice(d-f-0).clone()).append(p.slice(0,f).clone()),t.start+=f);var e=n("li",h),o=e.size(),u=t.start;l.css("visibility","visible"),e.css({overflow:"hidden",float:t.vertical?"none":"left"}),h.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"}),l.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});var c=t.vertical?r(e):i(e),g=c*o,nt=c*f;e.css({width:e.width(),height:e.height()}),h.css(b,g+"px").css(v,-(u*c)),l.css(b,nt+"px"),t.btnPrev&&n(t.btnPrev).click(function(){return t.btnGo!=null?(s(u-t.scroll),y()):s(u-t.scroll)}),t.btnNext&&n(t.btnNext).click(function(){return t.btnGo!=null?(s(u+t.scroll),y()):s(u+t.scroll)}),t.btnGo&&n.each(t.btnGo,function(i,r){n(r).click(function(){var n=parseInt(r.substring(r.length-1));return s(t.visible*n),y()})}),t.mouseWheel&&l.mousewheel&&l.mousewheel(function(n,i){return i>0?s(u-t.scroll):s(u+t.scroll)}),t.auto&&setInterval(function(){s(u+t.scroll),t.btnGo!=null&&y()},t.auto+t.speed),a=!1,n(this).mouseover(function(){a=!0}).mouseout(function(){a=!1})})}}(jQuery),function(n){n.jtabber=function(t){var i=t.mainLinkTag,u=t.activeLinkClass,f=t.hiddenContentClass,r=isNaN(t.showDefaultTab)?1:t.showDefaultTab,e=t.effect,o=t.effectSpeed,s=t.eventval==null?"mouseenter":t.eventval;isNaN(r)||(r--,n("."+f+":eq("+r+")").css("display","block"),n(i+":eq("+r+")").addClass(u)),n(i).bind(s.toString(),function(){n(i).each(function(){n(this).removeClass(u)}),n("."+f).css("display","none"),n(this).addClass(u);var t=n("."+f).eq(n(i).index(this));if(e!=null)switch(e){case"slide":t.slideDown(o);break;case"fade":t.fadeIn(o)}else t.css("display","block");return!1})}}(jQuery),!function(n,t,i,r){var u=n(t);n.fn.lazyload=function(f){function s(){var t=0;o.each(function(){var i=n(this);if((!e.skip_invisible||i.is(":visible"))&&!n.abovethetop(this,e)&&!n.leftofbegin(this,e))if(n.belowthefold(this,e)||n.rightoffold(this,e)){if(++t>e.failure_limit)return!1}else i.trigger("appear"),t=0})}var h,o=this,e={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&(r!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),r!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),n.extend(e,f)),h=e.container===r||e.container===t?u:n(e.container),0===e.event.indexOf("scroll")&&h.bind(e.event,function(){return s()}),this.each(function(){var i=this,t=n(i);i.loaded=!1,(t.attr("src")===r||t.attr("src")===!1)&&t.is("img")&&t.attr("src",e.placeholder),t.one("appear",function(){if(!this.loaded){if(e.appear){var r=o.length;e.appear.call(i,r,e)}n("").bind("load",function(){var r=t.attr("data-"+e.data_attribute),u,f;t.hide(),t.is("img")?t.attr("src",r):t.css("background-image","url('"+r+"')"),t[e.effect](e.effect_speed),i.loaded=!0,u=n.grep(o,function(n){return!n.loaded}),(o=n(u),e.load)&&(f=o.length,e.load.call(i,f,e))}).attr("src",t.attr("data-"+e.data_attribute))}}),0!==e.event.indexOf("scroll")&&t.bind(e.event,function(){i.loaded||t.trigger("appear")})}),u.bind("resize",function(){s()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&u.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&o.each(function(){n(this).trigger("appear")})}),n(i).ready(function(){s()}),this},n.belowthefold=function(i,f){var e;return e=f.container===r||f.container===t?(t.innerHeight?t.innerHeight:u.height())+u.scrollTop():n(f.container).offset().top+n(f.container).height(),e<=n(i).offset().top-f.threshold},n.rightoffold=function(i,f){var e;return e=f.container===r||f.container===t?u.width()+u.scrollLeft():n(f.container).offset().left+n(f.container).width(),e<=n(i).offset().left-f.threshold},n.abovethetop=function(i,f){var e;return e=f.container===r||f.container===t?u.scrollTop():n(f.container).offset().top,e>=n(i).offset().top+f.threshold+n(i).height()},n.leftofbegin=function(i,f){var e;return e=f.container===r||f.container===t?u.scrollLeft():n(f.container).offset().left,e>=n(i).offset().left+f.threshold+n(i).width()},n.inviewport=function(t,i){return!(n.rightoffold(t,i)||n.leftofbegin(t,i)||n.belowthefold(t,i)||n.abovethetop(t,i))},n.extend(n.expr[":"],{"below-the-fold":function(t){return n.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!n.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return n.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!n.rightoffold(t,{threshold:0})},"in-viewport":function(t){return n.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!n.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return n.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!n.rightoffold(t,{threshold:0})}})}(jQuery,window,document)