var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
/*! shiwangyun.com */
(function(e,t,i,n){var a=e(t);e.fn.lazyload=function(i){function o(){var t=0;s.each(function(){var i=e(this);if(!(l.skip_invisible&&!i.is(":visible")||e.abovethetop(this,l)||e.leftofbegin(this,l)))if(e.belowthefold(this,l)||e.rightoffold(this,l)){if(++t>l.failure_limit)return!1}else i.trigger("appear"),t=0})}var r,s=this,l={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null};return i&&(n!==i.failurelimit&&(i.failure_limit=i.failurelimit,delete i.failurelimit),n!==i.effectspeed&&(i.effect_speed=i.effectspeed,delete i.effectspeed),e.extend(l,i)),r=l.container===n||l.container===t?a:e(l.container),0===l.event.indexOf("scroll")&&r.bind(l.event,function(){return o()}),this.each(function(){var t=this,i=e(t);t.loaded=!1,i.one("appear",function(){if(!this.loaded){if(l.appear){var n=s.length;l.appear.call(t,n,l)}e(" ").bind("load",function(){i.hide().attr("src",i.data(l.data_attribute))[l.effect](l.effect_speed),t.loaded=!0;var n=e.grep(s,function(e){return!e.loaded});if(s=e(n),l.load){var a=s.length;l.load.call(t,a,l)}}).attr("src",i.data(l.data_attribute))}}),0!==l.event.indexOf("scroll")&&i.bind(l.event,function(){t.loaded||i.trigger("appear")})}),a.bind("resize",function(){o()}),/iphone|ipod|ipad.*os 5/gi.test(navigator.appVersion)&&a.bind("pageshow",function(t){t.originalEvent.persisted&&s.each(function(){e(this).trigger("appear")})}),e(t).load(function(){o()}),this},e.belowthefold=function(i,o){var r;return r=o.container===n||o.container===t?a.height()+a.scrollTop():e(o.container).offset().top+e(o.container).height(),e(i).offset().top-o.threshold>=r},e.rightoffold=function(i,o){var r;return r=o.container===n||o.container===t?a.width()+a.scrollLeft():e(o.container).offset().left+e(o.container).width(),e(i).offset().left-o.threshold>=r},e.abovethetop=function(i,o){var r;return r=o.container===n||o.container===t?a.scrollTop():e(o.container).offset().top,r>=e(i).offset().top+o.threshold+e(i).height()},e.leftofbegin=function(i,o){var r;return r=o.container===n||o.container===t?a.scrollLeft():e(o.container).offset().left,r>=e(i).offset().left+o.threshold+e(i).width()},e.inviewport=function(t,i){return!(e.rightoffold(t,i)||e.leftofbegin(t,i)||e.belowthefold(t,i)||e.abovethetop(t,i))},e.extend(e.expr[":"],{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return e.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!e.rightoffold(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return e.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!e.rightoffold(t,{threshold:0})}})})(jQuery,window,document),function(e){e.fn.slides=function(t){return t=e.extend({},e.fn.slides.option,t),this.each(function(){function i(i,n,a){if(!s&&r){switch(s=!0,t.animationStart(I+1),i){case"next":k=I,x=I+1,x=v===x?0:x,d=2*m,i=2*-m,I=x;break;case"prev":k=I,x=I-1,x=-1===x?v-1:x,d=0,i=0,I=x;break;case"pagination":x=parseInt(a,10),k=e("."+t.paginationClass+" li."+t.currentClass+" a",h).attr("href").match("[^#/]+$"),x>k?(d=2*m,i=2*-m):(d=0,i=0),I=x}"fade"===n?t.crossfade?p.children(":eq("+x+")",h).css({zIndex:10}).fadeIn(t.fadeSpeed,t.fadeEasing,function(){t.autoHeight?p.animate({height:p.children(":eq("+x+")",h).outerHeight()},t.autoHeightSpeed,function(){p.children(":eq("+k+")",h).css({display:"none",zIndex:0}),p.children(":eq("+x+")",h).css({zIndex:0}),t.animationComplete(x+1,h),s=!1}):(p.children(":eq("+k+")",h).css({display:"none",zIndex:0}),p.children(":eq("+x+")",h).css({zIndex:0}),t.animationComplete(x+1,h),s=!1)}):p.children(":eq("+k+")",h).fadeOut(t.fadeSpeed,t.fadeEasing,function(){t.autoHeight?p.animate({height:p.children(":eq("+x+")",h).outerHeight()},t.autoHeightSpeed,function(){p.children(":eq("+x+")",h).fadeIn(t.fadeSpeed,t.fadeEasing)}):p.children(":eq("+x+")",h).fadeIn(t.fadeSpeed,t.fadeEasing,function(){e.browser.msie&&e(this).get(0).style.removeAttribute("filter")}),t.animationComplete(x+1,h),s=!1}):(p.children(":eq("+x+")").css({left:d,display:"block"}),t.autoHeight?p.animate({left:i,height:p.children(":eq("+x+")").outerHeight()},t.slideSpeed,t.slideEasing,function(){p.css({left:-m}),p.children(":eq("+x+")").css({left:m,zIndex:5}),p.children(":eq("+k+")").css({left:m,display:"none",zIndex:0}),t.animationComplete(x+1,h),s=!1}):p.animate({left:i},t.slideSpeed,t.slideEasing,function(){p.css({left:-m}),p.children(":eq("+x+")").css({left:m,zIndex:5}),p.children(":eq("+k+")").css({left:m,display:"none",zIndex:0}),t.animationComplete(x+1,h),s=!1})),t.pagination&&(e("."+t.paginationClass+" li."+t.currentClass,h).removeClass(t.currentClass),e("."+t.paginationClass+" li:eq("+x+")",h).addClass(t.currentClass))}}function n(){clearInterval(h.data("interval"))}function a(){t.pause?(clearTimeout(h.data("pause")),clearInterval(h.data("interval")),u=setTimeout(function(){clearTimeout(h.data("pause")),f=setInterval(function(){i("next",w)},t.play),h.data("interval",f)},t.pause),h.data("pause",u)):n()}if(t.withTitle){var o="";e("."+t.container,e(this)).find("a").each(function(){var t=e(this).attr("title"),i=e(this).attr("href");o+='
'+t+" "}),e(this).after('"),t.slidesLoaded(e(this))}e("."+t.container,e(this)).children().wrapAll('
');var r,s,l,d,c,u,f,h=e(this),p=e(".slides_control",h),v=p.children().size(),m=p.children().outerWidth(),g=p.children().outerHeight(),b=t.start-1,w=0>t.effect.indexOf(",")?t.effect:t.effect.replace(" ","").split(",")[0],y=0>t.effect.indexOf(",")?w:t.effect.replace(" ","").split(",")[1],x=0,k=0,S=0,I=0;if(2>v)return e("."+t.container,e(this)).fadeIn(t.fadeSpeed,t.fadeEasing,function(){r=!0}),e("."+t.next+", ."+t.prev).fadeOut(0),!1;if(!(2>v)){if(0>b&&(b=0),b>v&&(b=v-1),t.start&&(I=b),t.randomize&&p.randomize(),e("."+t.container,h).css({overflow:"hidden",position:"relative"}),p.children().css({position:"absolute",top:0,left:p.children().outerWidth(),zIndex:0,display:"none"}),p.css({position:"relative",width:3*m,height:g,left:-m}),e("."+t.container,h).css({display:"block"}),t.autoHeight&&(p.children().css({height:"auto"}),p.animate({height:p.children(":eq("+b+")").outerHeight()},t.autoHeightSpeed)),t.preload&&p.find("img:eq("+b+")").length){e("."+t.container,h).css({background:"url("+t.preloadImage+") no-repeat 50% 50%"});var _=p.find("img:eq("+b+")").attr("src")+"?"+(new Date).getTime();c="slides_control"!=e("img",h).parent().attr("class")?p.children(":eq(0)")[0].tagName.toLowerCase():p.find("img:eq("+b+")"),p.find("img:eq("+b+")").attr("src",_).load(function(){p.find(c+":eq("+b+")").fadeIn(t.fadeSpeed,t.fadeEasing,function(){e(this).css({zIndex:5}),e("."+t.container,h).css({background:""}),r=!0})})}else p.children(":eq("+b+")").fadeIn(t.fadeSpeed,t.fadeEasing,function(){r=!0});t.bigTarget&&(p.children().css({cursor:"pointer"}),p.children().click(function(){return i("next",w),!1})),t.hoverPause&&t.play&&(p.bind("mouseover",function(){n()}),p.bind("mouseleave",function(){a()})),t.generateNextPrev&&(e("."+t.container,h).after('Prev '),e("."+t.prev,h).after('Next ')),e("."+t.next,h).click(function(e){e.preventDefault(),t.play&&a(),i("next",w)}),e("."+t.prev,h).click(function(e){e.preventDefault(),t.play&&a(),i("prev",w)}),t.generatePagination?(t.prependPagination?h.prepend(""):h.append(""),p.children().each(function(){e("."+t.paginationClass,h).append(''+(S+1)+" "),S++})):e("."+t.paginationClass+" li a",h).each(function(){e(this).attr("href","#"+S),S++}),e("."+t.paginationClass+" li:eq("+b+")",h).addClass(t.currentClass),e("."+t.paginationClass+" li a",h).hover(function(){return t.play&&a(),l=e(this).attr("href").match("[^#/]+$"),I!=l&&i("pagination",y,l),!1}),e("a.link",h).click(function(){return t.play&&a(),l=e(this).attr("href").match("[^#/]+$")-1,I!=l&&i("pagination",y,l),!1}),t.play&&(f=setInterval(function(){i("next",w)},t.play),h.data("interval",f))}})},e.fn.slides.option={preload:!1,preloadImage:"/img/loading.gif",container:"slides_container",generateNextPrev:!1,next:"next",prev:"prev",pagination:!0,generatePagination:!0,prependPagination:!1,paginationClass:"pagination",currentClass:"current",fadeSpeed:350,fadeEasing:"",slideSpeed:350,slideEasing:"",start:1,effect:"slide",crossfade:!0,randomize:!1,play:0,pause:0,hoverPause:!0,autoHeight:!1,autoHeightSpeed:350,bigTarget:!1,withTitle:!1,animationStart:function(){},animationComplete:function(e,t){var i=t.next(".slider_title_lists");i.size()>0&&(i.find("li").hide(),i.find("li:eq("+(e-1)+")").show())},slidesLoaded:function(e){e.next(".slider_title_lists").find("li:eq(0)").show()}},e.fn.randomize=function(t){function n(){return Math.round(Math.random())-.5}return e(this).each(function(){var a=e(this),o=a.children(),r=o.length;if(r>1){o.hide();var s=[];for(i=0;r>i;i++)s[s.length]=i;s=s.sort(n),e.each(s,function(e,i){var n=o.eq(i),r=n.clone(!0);r.show().appendTo(a),void 0!==t&&t(n,r),n.remove()})}})}}(jQuery),function(e,t){function i(e,t){return new Date(e,t+1,0).getDate()}function n(e,t){for(e=""+e,t=t||2;t>e.length;)e="0"+e;return e}function a(e,t,i,a){var o=t.getDate(),r=t.getDay(),s=t.getMonth(),l=t.getFullYear(),d={d:o,dd:n(o),ddd:h[a].shortDays[r],dddd:h[a].days[r],m:s+1,mm:n(s+1),mmm:h[a].shortMonths[s],mmmm:h[a].months[s],yy:(l+"").slice(2),yyyy:l},c=u[e](i,t,d,a);return p.html(c).html()}function o(e){return parseInt(e,10)}function r(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()==t.getMonth()&&e.getDate()==t.getDate()}function s(e){if(e!==t){if(e.constructor==Date)return e;if("string"==typeof e){var i=e.split("-");if(3==i.length)return new Date(o(i[0]),o(i[1])-1,o(i[2]));if(!/^-?\d+$/.test(e))return;e=o(e)}var n=new Date;return n.setDate(n.getDate()+e),n}}function l(n,l){function d(t,i,o){M=t,g=t.getFullYear(),b=t.getMonth(),w=t.getDate(),o||(o=e.Event("api")),"click"==o.type&&!e.browser.msie&&n.focus(),o.type="beforeChange",P.trigger(o,[t]),o.isDefaultPrevented()||(n.val(a(i.formatter,t,i.format,i.lang)),o.type="change",P.trigger(o),n.data("date",t),k.hide(o))}function u(t){t.type="onShow",P.trigger(t),e(document).on("keydown.d",function(t){if(t.ctrlKey)return!0;var i=t.keyCode;if(8==i||46==i)return n.val(""),k.hide(t);if(27==i||9==i)return k.hide(t);if(e(f).index(i)>=0){if(!y)return k.show(t),t.preventDefault();var a=e("#"+_.weeks+" a"),o=e("."+_.focus),r=a.index(o);return o.removeClass(_.focus),74==i||40==i?r+=7:75==i||38==i?r-=7:76==i||39==i?r+=1:(72==i||37==i)&&(r-=1),r>41?(k.addMonth(),o=e("#"+_.weeks+" a:eq("+(r-42)+")")):0>r?(k.addMonth(-1),o=e("#"+_.weeks+" a:eq("+(r+42)+")")):o=a.eq(r),o.addClass(_.focus),t.preventDefault()}return 34==i?k.addMonth():33==i?k.addMonth(-1):36==i?k.today():(13==i&&(e(t.target).is("select")||e("."+_.focus).click()),e([16,17,18,9]).index(i)>=0)}),e(document).on("click.d",function(t){var i=t.target;!e(i).parents("#"+_.root).length&&i!=n[0]&&(!p||i!=p[0])&&k.hide(t)})}var p,v,m,g,b,w,y,x,k=this,S=new Date,I=S.getFullYear(),_=l.css,C=h[l.lang],T=e("#"+_.root),$=T.find("#"+_.title),M=n.attr("data-value")||l.value||n.val(),N=n.attr("min")||l.min,q=n.attr("max")||l.max;if(0===N&&(N="0"),M=s(M)||S,N=s(N||new Date(I+l.yearRange[0],1,1)),q=s(q||new Date(I+l.yearRange[1]+1,1,-1)),!C)throw"Dateinput: invalid language: "+l.lang;if("date"==n.attr("type")){var x=n.clone(),L=x.wrap("
").parent().html(),E=e(L.replace(/type/i,"type=text data-orig-type"));l.value&&E.val(l.value),n.replaceWith(E),n=E}n.addClass(_.input);var P=n.add(k);if(!T.length){if(T=e("").hide().css({position:"absolute"}).attr("id",_.root),T.children().eq(0).attr("id",_.head).end().eq(1).attr("id",_.body).children().eq(0).attr("id",_.days).end().eq(1).attr("id",_.weeks).end().end().end().find("a").eq(0).attr("id",_.prev).end().eq(1).attr("id",_.next),$=T.find("#"+_.head).find("div").attr("id",_.title),l.selectors){var j=e(" ").attr("id",_.month),D=e(" ").attr("id",_.year);$.html(j.add(D))}for(var A=T.find("#"+_.days),O=0;7>O;O++)A.append(e(" ").text(C.shortDays[(O+l.firstDay)%7]));e("body").append(T)}l.trigger&&(p=e(" ").attr("href","#").addClass(_.trigger).click(function(e){return l.toggle?k.toggle():k.show(),e.preventDefault()}).insertAfter(n));var B=T.find("#"+_.weeks);D=T.find("#"+_.year),j=T.find("#"+_.month),e.extend(k,{show:function(t){if(!(n.attr("readonly")||n.attr("disabled")||y)){if(t=t||e.Event(),t.type="onBeforeShow",P.trigger(t),t.isDefaultPrevented())return;e.each(c,function(){this.hide()}),y=!0,j.off("change").change(function(){k.setValue(o(D.val()),o(e(this).val()))}),D.off("change").change(function(){k.setValue(o(e(this).val()),o(j.val()))}),v=T.find("#"+_.prev).off("click").click(function(){return v.hasClass(_.disabled)||k.addMonth(-1),!1}),m=T.find("#"+_.next).off("click").click(function(){return m.hasClass(_.disabled)||k.addMonth(),!1}),k.setValue(M);var i=n.offset();return/iPad/i.test(navigator.userAgent)&&(i.top-=e(window).scrollTop()),T.css({top:i.top+n.outerHeight({margins:!0})+l.offset[0],left:i.left+l.offset[1]}),l.speed?T.show(l.speed,function(){u(t)}):(T.show(),u(t)),k}},setValue:function(n,a,c){var u=o(a)>=-1?new Date(o(n),o(a),o(c==t||isNaN(c)?1:c)):n||M;if(N>u?u=N:u>q&&(u=q),"string"==typeof n&&(u=s(n)),n=u.getFullYear(),a=u.getMonth(),c=u.getDate(),-1==a?(a=11,n--):12==a&&(a=0,n++),!y)return d(u,l),k;b=a,g=n,w=c;var f,h=new Date(n,a,1-l.firstDay),p=h.getDay(),x=i(n,a),I=i(n,a-1);if(l.selectors){j.empty(),e.each(C.months,function(t,i){new Date(n,t+1,1)>N&&q>new Date(n,t,0)&&j.append(e(" ").html(i).attr("value",t))}),D.empty();for(var T=S.getFullYear(),L=T+l.yearRange[0];T+l.yearRange[1]>L;L++)new Date(L+1,0,1)>N&&q>new Date(L,0,0)&&D.append(e(" ").text(L));j.val(a),D.val(n)}else $.html(C.months[a]+" "+n);B.empty(),v.add(m).removeClass(_.disabled);for(var E,P,A=p?0:-7;(p?42:35)>A;A++)E=e(" "),0===A%7&&(f=e("
").addClass(_.week),B.append(f)),p>A?(E.addClass(_.off),P=I-p+A+1,u=new Date(n,a-1,P)):p+x>A?(P=A-p+1,u=new Date(n,a,P),r(M,u)?E.attr("id",_.current).addClass(_.focus):r(S,u)&&E.attr("id",_.today)):(E.addClass(_.off),P=A-x-p+1,u=new Date(n,a+1,P)),N&&N>u&&E.add(v).addClass(_.disabled),q&&u>q&&E.add(m).addClass(_.disabled),E.attr("href","#"+P).text(P).data("date",u),f.append(E);return B.find("a").click(function(t){var i=e(this);return i.hasClass(_.disabled)||(e("#"+_.current).removeAttr("id"),i.attr("id",_.current),d(i.data("date"),l,t)),!1}),_.sunday&&B.find("."+_.week).each(function(){var t=l.firstDay?7-l.firstDay:0;e(this).children().slice(t,t+1).addClass(_.sunday)}),k},setMin:function(e,t){return N=s(e),t&&N>M&&k.setValue(N),k},setMax:function(e,t){return q=s(e),t&&M>q&&k.setValue(q),k},today:function(){return k.setValue(S)},addDay:function(e){return this.setValue(g,b,w+(e||1))},addMonth:function(e){var t=b+(e||1),n=i(g,t),a=n>=w?w:n;return this.setValue(g,t,a)},addYear:function(e){return this.setValue(g+(e||1),b,w)},destroy:function(){n.add(document).off("click.d keydown.d"),T.add(p).remove(),n.removeData("dateinput").removeClass(_.input),x&&n.replaceWith(x)},hide:function(t){if(y){if(t=e.Event(),t.type="onHide",P.trigger(t),t.isDefaultPrevented())return;e(document).off("click.d keydown.d"),T.hide(),y=!1}return k},toggle:function(){return k.isOpen()?k.hide():k.show()},getConf:function(){return l},getInput:function(){return n},getCalendar:function(){return T},getValue:function(e){return e?a(l.formatter,M,e,l.lang):M},isOpen:function(){return y}}),e.each(["onBeforeShow","onShow","change","onHide"],function(t,i){e.isFunction(l[i])&&e(k).on(i,l[i]),k[i]=function(t){return t&&e(k).on(i,t),k}}),l.editable||n.on("focus.d click.d",k.show).keydown(function(t){var i=t.keyCode;return y||0>e(f).index(i)?((8==i||46==i)&&n.val(""),t.shiftKey||t.ctrlKey||t.altKey||9==i?!0:t.preventDefault()):(k.show(t),t.preventDefault())}),s(n.val())&&d(M,l)}e.tools=e.tools||{version:"v1.2.7"};var d,c=[],u={},f=[75,76,38,39,74,72,40,37],h={};d=e.tools.dateinput={conf:{format:"mm/dd/yy",formatter:"default",selectors:!1,yearRange:[-5,5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:t,max:t,trigger:0,toggle:0,editable:0,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0,month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},addFormatter:function(e,t){u[e]=t},localize:function(t,i){e.each(i,function(e,t){i[e]=t.split(",")}),h[t]=i}},d.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"});var p=e(" ");d.addFormatter("default",function(e,t,i){return e.replace(/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,function(e){return e in i?i[e]:e})}),d.addFormatter("prefixed",function(e,t,i){return e.replace(/%(d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*')/g,function(e,t){return t in i?i[t]:e})}),e.expr[":"].date=function(t){var i=t.getAttribute("type");return i&&"date"==i||e(t).data("dateinput")},e.fn.dateinput=function(t){if(this.data("dateinput"))return this;t=e.extend(!0,{},d.conf,t),e.each(t.css,function(e,i){!i&&"prefix"!=e&&(t.css[e]=(t.css.prefix||"")+(i||e))});var i;return this.each(function(){var n=new l(e(this),t);c.push(n);var a=n.getInput().data("dateinput",n);i=i?i.add(a):a}),i?i:this}}(jQuery),function(e){function t(t,a){var o,r,s,l=this,d=t.add(l),c=e(window),u=e.tools.expose&&(a.mask||a.expose),f=(""+Math.random()).slice(10);u&&("string"==typeof u&&(u={color:u}),u.closeOnClick=u.closeOnEsc=!1);var h=a.target||t.attr("rel");if(r=h?e(h):null||t,!r.length)throw"Could not find Overlay: "+h;t&&-1==t.index(r)&&t.click(function(e){return l.load(e),e.preventDefault()}),e.extend(l,{load:function(t){if(l.isOpened())return l;var o=n[a.effect];if(!o)throw'Overlay: cannot find effect : "'+a.effect+'"';if(a.oneInstance&&e.each(i,function(){this.close(t)}),t=t||e.Event(),t.type="onBeforeLoad",d.trigger(t),t.isDefaultPrevented())return l;s=!0,u&&e(r).expose(u);var h=a.top,p=a.left,v=r.outerWidth({margin:!0}),m=r.outerHeight({margin:!0});return"string"==typeof h&&(h="center"==h?Math.max((c.height()-m)/2,0):parseInt(h,10)/100*c.height()),"center"==p&&(p=Math.max((c.width()-v)/2,0)),o[0].call(l,{top:h,left:p},function(){s&&(t.type="onLoad",d.trigger(t))}),u&&a.closeOnClick&&e.mask.getMask().one("click",l.close),a.closeOnClick&&e(document).on("click."+f,function(t){e(t.target).parents(r).length||l.close(t)}),a.closeOnEsc&&e(document).on("keydown."+f,function(e){27==e.keyCode&&l.close(e)}),l},close:function(t){return l.isOpened()?(t=t||e.Event(),t.type="onBeforeClose",d.trigger(t),t.isDefaultPrevented()?void 0:(s=!1,n[a.effect][1].call(l,function(){t.type="onClose",d.trigger(t)}),e(document).off("click."+f+" keydown."+f),u&&e.mask.close(),l)):l},getOverlay:function(){return r},getTrigger:function(){return t},getClosers:function(){return o},isOpened:function(){return s},getConf:function(){return a}}),e.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(t,i){e.isFunction(a[i])&&e(l).on(i,a[i]),l[i]=function(t){return t&&e(l).on(i,t),l}}),o=r.find(a.close||".close"),!o.length&&!a.close&&(o=e(' '),r.prepend(o)),o.click(function(e){l.close(e)}),a.load&&l.load()}e.tools=e.tools||{version:"v1.2.7"},e.tools.overlay={addEffect:function(e,t,i){n[e]=[t,i]},conf:{close:null,closeOnClick:!0,closeOnEsc:!0,closeSpeed:"fast",effect:"default",fixed:!e.browser.msie||e.browser.version>6,left:"center",load:!1,mask:null,oneInstance:!0,speed:"normal",target:null,top:"10%"}};var i=[],n={};e.tools.overlay.addEffect("default",function(t,i){var n=this.getConf(),a=e(window);n.fixed||(t.top+=a.scrollTop(),t.left+=a.scrollLeft()),t.position=n.fixed?"fixed":"absolute",this.getOverlay().css(t).fadeIn(n.speed,i)},function(e){this.getOverlay().fadeOut(this.getConf().closeSpeed,e)}),e.fn.overlay=function(n){var a=this.data("overlay");return a?a:(e.isFunction(n)&&(n={onBeforeLoad:n}),n=e.extend(!0,{},e.tools.overlay.conf,n),this.each(function(){a=new t(e(this),n),i.push(a),e(this).data("overlay",a)}),n.api?a:this)}}(jQuery),function(e){function t(e){var t=e.offset();return{top:t.top+e.height()/2,left:t.left+e.width()/2}}var i=e.tools.overlay,n=e(window);e.extend(i.conf,{start:{top:null,left:null},fadeInSpeed:"fast",zIndex:9999});var a=function(i,a){var o=this.getOverlay(),r=this.getConf(),s=this.getTrigger(),l=this,d=o.outerWidth({margin:!0}),c=o.data("img"),u=r.fixed?"fixed":"absolute";if(!c){var f=o.css("backgroundImage");if(!f)throw"background-image CSS property not set for overlay";f=f.slice(f.indexOf("(")+1,f.indexOf(")")).replace(/\"/g,""),o.css("backgroundImage","none"),c=e(' '),c.css({border:0,display:"none"}).width(d),e("body").append(c),o.data("img",c)}var h=r.start.top||Math.round(n.height()/2),p=r.start.left||Math.round(n.width()/2);if(s){var v=t(s);h=v.top,p=v.left}r.fixed?(h-=n.scrollTop(),p-=n.scrollLeft()):(i.top+=n.scrollTop(),i.left+=n.scrollLeft()),c.css({position:"absolute",top:h,left:p,width:0,zIndex:r.zIndex}).show(),i.position=u,o.css(i),c.animate({top:i.top,left:i.left,width:d},r.speed,function(){o.css("zIndex",r.zIndex+1).fadeIn(r.fadeInSpeed,function(){l.isOpened()&&!e(this).index(o)?a.call():o.hide()})}).css("position",u)},o=function(i){var a=this.getOverlay().hide(),o=this.getConf(),r=this.getTrigger(),s=a.data("img"),l={top:o.start.top,left:o.start.left,width:0};r&&e.extend(l,t(r)),o.fixed&&s.css({position:"absolute"}).animate({top:"+="+n.scrollTop(),left:"+="+n.scrollLeft()},0),s.animate(l,o.closeSpeed,i)};i.addEffect("apple",a,o)}(jQuery),function(e){function t(e,t){var i=Math.pow(10,t);return Math.round(e*i)/i}function i(e,t){var i=parseInt(e.css(t),10);if(i)return i;var n=e[0].currentStyle;return n&&n.width&&parseInt(n.width,10)}function n(e){var t=e.data("events");return t&&t.onSlide}function a(a,o){function r(e,i,n,r){if(void 0===n?n=i/f*w:r&&(n-=o.min),y&&(n=Math.round(n/y)*y),(void 0===i||y)&&(i=n*f/w),isNaN(n))return p;i=Math.max(0,Math.min(i,f)),n=i/f*w,(r||!d)&&(n+=o.min),d&&(r?i=f-i:n=o.max-n),n=t(n,x);var s="click"==e.type;if(_&&void 0!==c&&!s&&(e.type="onSlide",I.trigger(e,[n,i]),e.isDefaultPrevented()))return p;var l=s?o.speed:0,u=s?function(){e.type="change",I.trigger(e,[n])}:null;return d?(g.animate({top:i},l,u),o.progress&&b.animate({height:f-i+g.height()/2},l)):(g.animate({left:i},l,u),o.progress&&b.animate({width:i+g.width()/2},l)),c=n,h=i,a.val(n),p}function s(){d=o.vertical||i(m,"height")>i(m,"width"),d?(f=i(m,"height")-i(g,"height"),u=m.offset().top+f):(f=i(m,"width")-i(g,"width"),u=m.offset().left)}function l(){s(),p.setValue(void 0!==o.value?o.value:o.min)}var d,c,u,f,h,p=this,v=o.css,m=e("").data("rangeinput",p);a.before(m);var g=m.addClass(v.slider).find("a").addClass(v.handle),b=m.find("div").addClass(v.progress);e.each("min,max,step,value".split(","),function(e,t){var i=a.attr(t);parseFloat(i)&&(o[t]=parseFloat(i,10))});var w=o.max-o.min,y="any"==o.step?0:o.step,x=o.precision;if(void 0===x&&(x=(""+y).split("."),x=2===x.length?x[1].length:0),"range"==a.attr("type")){var k=a.clone().wrap("
").parent().html(),S=e(k.replace(/type/i,"type=text data-orig-type"));S.val(o.value),a.replaceWith(S),a=S}a.addClass(v.input);var I=e(p).add(a),_=!0;e.extend(p,{getValue:function(){return c},setValue:function(t,i){return s(),r(i||e.Event("api"),void 0,t,!0)},getConf:function(){return o},getProgress:function(){return b},getHandle:function(){return g},getInput:function(){return a},step:function(t,i){i=i||e.Event();var n="any"==o.step?1:o.step;p.setValue(c+n*(t||1),i)},stepUp:function(e){return p.step(e||1)},stepDown:function(e){return p.step(-e||-1)}}),e.each("onSlide,change".split(","),function(t,i){e.isFunction(o[i])&&e(p).on(i,o[i]),p[i]=function(t){return t&&e(p).on(i,t),p}}),g.drag({drag:!1}).on("dragStart",function(){s(),_=n(e(p))||n(a)}).on("drag",function(e,t,i){return a.is(":disabled")?!1:(r(e,d?t:i),void 0)}).on("dragEnd",function(e){e.isDefaultPrevented()||(e.type="change",I.trigger(e,[c]))}).click(function(e){return e.preventDefault()}),m.click(function(e){if(a.is(":disabled")||e.target==g[0])return e.preventDefault();s();var t=d?g.height()/2:g.width()/2;r(e,d?f-u-t+e.pageY:e.pageX-u-t)}),o.keyboard&&a.keydown(function(t){if(!a.attr("readonly")){var i=t.keyCode,n=-1!=e([75,76,38,33,39]).index(i),o=-1!=e([74,72,40,34,37]).index(i);if((n||o)&&!(t.shiftKey||t.altKey||t.ctrlKey))return n?p.step(33==i?10:1,t):o&&p.step(34==i?-10:-1,t),t.preventDefault()}}),a.blur(function(t){var i=e(this).val();i!==c&&p.setValue(i,t)}),e.extend(a[0],{stepUp:p.stepUp,stepDown:p.stepDown}),l(),f||e(window).load(l)}e.tools=e.tools||{version:"v1.2.7"};var o;o=e.tools.rangeinput={conf:{min:0,max:100,step:"any",steps:0,value:0,precision:void 0,vertical:0,keyboard:!0,progress:!1,speed:100,css:{input:"range",slider:"slider",progress:"progress",handle:"handle"}}};var r,s;e.fn.drag=function(t){return document.ondragstart=function(){return!1},t=e.extend({x:!0,y:!0,drag:!0},t),r=r||e(document).on("mousedown mouseup",function(i){var n=e(i.target);if("mousedown"==i.type&&n.data("drag")){var a=n.position(),o=i.pageX-a.left,l=i.pageY-a.top,d=!0;r.on("mousemove.drag",function(e){var i=e.pageX-o,a=e.pageY-l,r={};t.x&&(r.left=i),t.y&&(r.top=a),d&&(n.trigger("dragStart"),d=!1),t.drag&&n.css(r),n.trigger("drag",[a,i]),s=n}),i.preventDefault()}else try{s&&s.trigger("dragEnd")}finally{r.off("mousemove.drag"),s=null}}),this.data("drag",!0)},e.expr[":"].range=function(t){var i=t.getAttribute("type");return i&&"range"==i||e(t).filter("input").data("rangeinput")},e.fn.rangeinput=function(t){if(this.data("rangeinput"))return this;t=e.extend(!0,{},o.conf,t);var i;return this.each(function(){var n=new a(e(this),e.extend(!0,{},t)),o=n.getInput().data("rangeinput",n);i=i?i.add(o):o}),i?i:this}}(jQuery),function(e){function t(t,i){var n=e(i);return 2>n.length?n:t.parent().find(i)}function i(i,a){var o=this,r=i.add(o),s=i.children(),l=0,d=a.vertical;if(n||(n=o),s.length>1&&(s=e(a.items,i)),a.size>1&&(a.circular=!1),e.extend(o,{getConf:function(){return a},getIndex:function(){return l},getSize:function(){return o.getItems().size()},getNaviButtons:function(){return h.add(p)},getRoot:function(){return i},getItemWrap:function(){return s},getItems:function(){return s.find(a.item).not("."+a.clonedClass)},move:function(e,t){return o.seekTo(l+e,t)},next:function(e){return o.move(a.size,e)},prev:function(e){return o.move(-a.size,e)},begin:function(e){return o.seekTo(0,e)},end:function(e){return o.seekTo(o.getSize()-1,e)},focus:function(){return n=o,o},addItem:function(t){return t=e(t),a.circular?(s.children().last().before(t),s.children().first().replaceWith(t.clone().addClass(a.clonedClass))):(s.append(t),p.removeClass("disabled")),r.trigger("onAddItem",[t]),o},seekTo:function(t,i,c){if(t.jquery||(t*=1),a.circular&&0===t&&-1==l&&0!==i)return o;if(!a.circular&&0>t||t>o.getSize()||-1>t)return o;var u=t;t.jquery?t=o.getItems().index(t):u=o.getItems().eq(t);var f=e.Event("onBeforeSeek");if(!c&&(r.trigger(f,[t,i]),f.isDefaultPrevented()||!u.length))return o;var h=d?{top:-u.position().top}:{left:-u.position().left};return l=t,n=o,void 0===i&&(i=a.speed),s.animate(h,i,a.easing,c||function(){r.trigger("onSeek",[t])}),o}}),e.each(["onBeforeSeek","onSeek","onAddItem"],function(t,i){e.isFunction(a[i])&&e(o).on(i,a[i]),o[i]=function(t){return t&&e(o).on(i,t),o}}),a.circular){var c=o.getItems().slice(-1).clone().prependTo(s),u=o.getItems().eq(1).clone().appendTo(s);c.add(u).addClass(a.clonedClass),o.onBeforeSeek(function(e,t,i){if(!e.isDefaultPrevented()){if(-1==t)return o.seekTo(c,i,function(){o.end(0)}),e.preventDefault();t==o.getSize()&&o.seekTo(u,i,function(){o.begin(0)})}});var f=i.parents().add(i).filter(function(){return"none"===e(this).css("display")?!0:void 0});f.length?(f.show(),o.seekTo(0,0,function(){}),f.hide()):o.seekTo(0,0,function(){})}var h=t(i,a.prev).click(function(e){e.stopPropagation(),o.prev()}),p=t(i,a.next).click(function(e){e.stopPropagation(),o.next()});if(a.circular||(o.onBeforeSeek(function(e,t){setTimeout(function(){e.isDefaultPrevented()||(h.toggleClass(a.disabledClass,0>=t),p.toggleClass(a.disabledClass,t>=o.getSize()-1))},1)}),a.initialIndex||h.addClass(a.disabledClass)),2>o.getSize()&&h.add(p).addClass(a.disabledClass),a.mousewheel&&e.fn.mousewheel&&i.mousewheel(function(e,t){return a.mousewheel?(o.move(0>t?1:-1,a.wheelSpeed||50),!1):void 0}),a.touch){var v={};s[0].ontouchstart=function(e){var t=e.touches[0];v.x=t.clientX,v.y=t.clientY},s[0].ontouchmove=function(e){if(1==e.touches.length&&!s.is(":animated")){var t=e.touches[0],i=v.x-t.clientX,n=v.y-t.clientY;o[d&&n>0||!d&&i>0?"next":"prev"](),e.preventDefault()}}}a.keyboard&&e(document).on("keydown.scrollable",function(t){if(!(!a.keyboard||t.altKey||t.ctrlKey||t.metaKey||e(t.target).is(":input"))){if("static"!=a.keyboard&&n!=o)return;var i=t.keyCode;if(d&&(38==i||40==i))return o.move(38==i?-1:1),t.preventDefault();if(!d&&(37==i||39==i))return o.move(37==i?-1:1),t.preventDefault()}}),a.initialIndex&&o.seekTo(a.initialIndex,0,function(){})}e.tools=e.tools||{version:"v1.2.7"},e.tools.scrollable={conf:{activeClass:"active",circular:!1,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:"> *",items:".items",keyboard:!0,mousewheel:!1,next:".next",prev:".prev",size:1,speed:400,vertical:!1,touch:!0,wheelSpeed:0}};var n;e.fn.scrollable=function(t){var n=this.data("scrollable");return n?n:(t=e.extend({},e.tools.scrollable.conf,t),this.each(function(){n=new i(e(this),t),e(this).data("scrollable",n)}),t.api?n:this)}}(jQuery),function(e){var t=e.tools.scrollable;t.autoscroll={conf:{autoplay:!0,interval:3e3,autopause:!0}},e.fn.autoscroll=function(i){"number"==typeof i&&(i={interval:i});var n,a=e.extend({},t.autoscroll.conf,i);return this.each(function(){function t(){i&&clearTimeout(i),i=setTimeout(function(){o.next()},a.interval)}var i,o=e(this).data("scrollable"),r=o.getRoot(),s=!1;o&&(n=o),o.play=function(){i||(s=!1,r.on("onSeek",t),t())},o.pause=function(){i=clearTimeout(i),r.off("onSeek",t)},o.resume=function(){s||o.play()},o.stop=function(){s=!0,o.pause()},a.autopause&&r.add(o.getNaviButtons()).hover(o.pause,o.resume),a.autoplay&&o.play()}),a.api?n:this}}(jQuery),function(e){function t(t,i){var n=e(i);return 2>n.length?n:t.parent().find(i)}var i=e.tools.scrollable;i.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:!1,idPrefix:null,history:!1}},e.fn.navigator=function(n){"string"==typeof n&&(n={navi:n}),n=e.extend({},i.navigator.conf,n);var a;return this.each(function(){function i(e,t,i){s.seekTo(t),i.preventDefault(),u&&history.pushState({i:t},"")}function o(){return l.find(n.naviItem||"> *")}function r(t){var a=e("<"+(n.naviItem||"a")+"/>").click(function(n){i(e(this),t,n)});return 0===t&&a.addClass(c),n.indexed&&a.text(t+1),n.idPrefix&&a.attr("id",n.idPrefix+t),a.appendTo(l)}var s=e(this).data("scrollable"),l=n.navi.jquery?n.navi:t(s.getRoot(),n.navi),d=s.getNaviButtons(),c=n.activeClass,u=n.history&&history.pushState,f=s.getConf().size;s&&(a=s),s.getNaviButtons=function(){return d.add(l)},u&&(history.pushState({i:0},""),e(window).on("popstate",function(e){var t=e.originalEvent.state;t&&s.seekTo(t.i)})),o().length?o().each(function(t){e(this).click(function(n){i(e(this),t,n)})}):e.each(s.getItems(),function(e){0==e%f&&r(e)}),s.onBeforeSeek(function(e,t){setTimeout(function(){if(!e.isDefaultPrevented()){var i=t/f,n=o().eq(i);n.length&&o().removeClass(c).eq(i).addClass(c)
}},1)}),s.onAddItem(function(e,t){var i=s.getItems().index(t);0==i%f&&r(i)})}),n.api?a:this}}(jQuery),function(e){function t(t,i,n){var o,r=this,s=t.add(this),l=t.find(n.tabs),d=i.jquery?i:t.children(i);l.length||(l=t.children()),d.length||(d=t.parent().find(i)),d.length||(d=e(i)),e.extend(this,{click:function(i,d){var c=l.eq(i),u=!t.data("tabs");if("string"==typeof i&&i.replace("#","")&&(c=l.filter('[href*="'+i.replace("#","")+'"]'),i=Math.max(l.index(c),0)),n.rotate){var f=l.length-1;if(0>i)return r.click(f,d);if(i>f)return r.click(0,d)}if(!c.length){if(o>=0)return r;i=n.initialIndex,c=l.eq(i)}if(i===o)return r;if(d=d||e.Event(),d.type="onBeforeClick",s.trigger(d,[i]),!d.isDefaultPrevented()){var h=u?n.initialEffect&&n.effect||"default":n.effect;return a[h].call(r,i,function(){o=i,d.type="onClick",s.trigger(d,[i])}),l.removeClass(n.current),c.addClass(n.current),r}},getConf:function(){return n},getTabs:function(){return l},getPanes:function(){return d},getCurrentPane:function(){return d.eq(o)},getCurrentTab:function(){return l.eq(o)},getIndex:function(){return o},next:function(){return r.click(o+1)},prev:function(){return r.click(o-1)},destroy:function(){return l.off(n.event).removeClass(n.current),d.find('a[href^="#"]').off("click.T"),r}}),e.each("onBeforeClick,onClick".split(","),function(t,i){e.isFunction(n[i])&&e(r).on(i,n[i]),r[i]=function(t){return t&&e(r).on(i,t),r}}),n.history&&e.fn.history&&(e.tools.history.init(l),n.event="history"),l.each(function(t){e(this).on(n.event,function(e){return r.click(t,e),e.preventDefault()})}),d.find('a[href^="#"]').on("click.T",function(t){r.click(e(this).attr("href"),t)}),location.hash&&"a"==n.tabs&&t.find('[href="'+location.hash+'"]').length?r.click(location.hash):(0===n.initialIndex||n.initialIndex>0)&&r.click(n.initialIndex)}e.tools=e.tools||{version:"v1.2.7"},e.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialEffect:!1,initialIndex:0,event:"click",rotate:!1,slideUpSpeed:400,slideDownSpeed:400,history:!1},addEffect:function(e,t){a[e]=t}};var i,n,a={"default":function(e,t){this.getPanes().hide().eq(e).show(),t.call()},fade:function(e,t){var i=this.getConf(),n=i.fadeOutSpeed,a=this.getPanes();n?a.fadeOut(n):a.hide(),a.eq(e).fadeIn(i.fadeInSpeed,t)},slide:function(e,t){var i=this.getConf();this.getPanes().slideUp(i.slideUpSpeed),this.getPanes().eq(e).slideDown(i.slideDownSpeed,t)},ajax:function(e,t){this.getPanes().eq(0).load(this.getTabs().eq(e).attr("href"),t)}};e.tools.tabs.addEffect("horizontal",function(t,a){if(!i){var o=this.getPanes().eq(t),r=this.getCurrentPane();n||(n=this.getPanes().eq(0).width()),i=!0,o.show(),r.animate({width:0},{step:function(e){o.css("width",n-e)},complete:function(){e(this).hide(),a.call(),i=!1}}),r.length||(a.call(),i=!1)}}),e.fn.tabs=function(i,n){var a=this.data("tabs");return a&&(a.destroy(),this.removeData("tabs")),e.isFunction(n)&&(n={onBeforeClick:n}),n=e.extend({},e.tools.tabs.conf,n),this.each(function(){a=new t(e(this),i,n),e(this).data("tabs",a)}),n.api?a:this}}(jQuery),function(e){function t(t,i){function n(i){var n=e(i);return 2>n.length?n:t.parent().find(i)}function a(){o=setTimeout(function(){l.next()},i.interval)}var o,r=this,s=t.add(this),l=t.data("tabs"),d=!0,c=n(i.next).click(function(){l.next()}),u=n(i.prev).click(function(){l.prev()});if(e.extend(r,{getTabs:function(){return l},getConf:function(){return i},play:function(){if(o)return r;var t=e.Event("onBeforePlay");return s.trigger(t),t.isDefaultPrevented()?r:(d=!1,s.trigger("onPlay"),s.on("onClick",a),a(),r)},pause:function(){if(!o)return r;var t=e.Event("onBeforePause");return s.trigger(t),t.isDefaultPrevented()?r:(o=clearTimeout(o),s.trigger("onPause"),s.off("onClick",a),r)},resume:function(){d||r.play()},stop:function(){r.pause(),d=!0}}),e.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","),function(t,n){e.isFunction(i[n])&&e(r).on(n,i[n]),r[n]=function(t){return e(r).on(n,t)}}),i.autopause&&l.getTabs().add(c).add(u).add(l.getPanes()).hover(r.pause,r.resume),i.autoplay&&r.play(),i.clickable&&l.getPanes().click(function(){l.next()}),!l.getConf().rotate){var f=i.disabledClass;l.getIndex()||u.addClass(f),l.onBeforeClick(function(e,t){u.toggleClass(f,!t),c.toggleClass(f,t==l.getTabs().length-1)})}}var i;i=e.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:!1,autopause:!0,interval:3e3,clickable:!0,api:!1}},e.fn.slideshow=function(n){var a=this.data("slideshow");return a?a:(n=e.extend({},i.conf,n),this.each(function(){a=new t(e(this),n),e(this).data("slideshow",a)}),n.api?a:this)}}(jQuery),function(e){function t(){if(e.browser.msie){var t=e(document).height(),i=e(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,20>t-i?i:t]}return[e(document).width(),e(document).height()]}function i(t){return t?t.call(e.mask):void 0}e.tools=e.tools||{version:"v1.2.7"};var n;n=e.tools.expose={conf:{maskId:"exposeMask",loadSpeed:"slow",closeSpeed:"fast",closeOnClick:!0,closeOnEsc:!0,zIndex:9998,opacity:.8,startOpacity:0,color:"#fff",onLoad:null,onClose:null}};var a,o,r,s,l;e.mask={load:function(d,c){if(r)return this;"string"==typeof d&&(d={color:d}),d=d||s,s=d=e.extend(e.extend({},n.conf),d),a=e("#"+d.maskId),a.length||(a=e("
").attr("id",d.maskId),e("body").append(a));var u=t();return a.css({position:"absolute",top:0,left:0,width:u[0],height:u[1],display:"none",opacity:d.startOpacity,zIndex:d.zIndex}),d.color&&a.css("backgroundColor",d.color),i(d.onBeforeLoad)===!1?this:(d.closeOnEsc&&e(document).on("keydown.mask",function(t){27==t.keyCode&&e.mask.close(t)}),d.closeOnClick&&a.on("click.mask",function(t){e.mask.close(t)}),e(window).on("resize.mask",function(){e.mask.fit()}),c&&c.length&&(l=c.eq(0).css("zIndex"),e.each(c,function(){var t=e(this);/relative|absolute|fixed/i.test(t.css("position"))||t.css("position","relative")}),o=c.css({zIndex:Math.max(d.zIndex+1,"auto"==l?0:l)})),a.css({display:"block"}).fadeTo(d.loadSpeed,d.opacity,function(){e.mask.fit(),i(d.onLoad),r="full"}),r=!0,this)},close:function(){if(r){if(i(s.onBeforeClose)===!1)return this;a.fadeOut(s.closeSpeed,function(){i(s.onClose),o&&o.css({zIndex:l}),r=!1}),e(document).off("keydown.mask"),a.off("click.mask"),e(window).off("resize.mask")}return this},fit:function(){if(r){var e=t();a.css({width:e[0],height:e[1]})}},getMask:function(){return a},isLoaded:function(e){return e?"full"==r:r},getConf:function(){return s},getExposed:function(){return o}},e.fn.mask=function(t){return e.mask.load(t),this},e.fn.expose=function(t){return e.mask.load(t,this),this}}(jQuery),function(){function e(e,t){if(t)for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function t(e,t){var i=[];for(var n in e)e.hasOwnProperty(n)&&(i[n]=t(e[n]));return i}function i(t,i,o){if(l.isSupported(i.version))t.innerHTML=l.getHTML(i,o);else if(i.expressInstall&&l.isSupported([6,65]))t.innerHTML=l.getHTML(e(i,{src:i.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title});else if(t.innerHTML.replace(/\s/g,"")||(t.innerHTML="Flash version "+i.version+" or greater is required "+(d[0]>0?"Your version is "+d:"You have no flash plugin installed")+" "+("A"==t.tagName?"Click here to download latest version
":"Download latest version from here
"),"A"==t.tagName&&(t.onclick=function(){location.href=a})),i.onFail){var r=i.onFail.call(this);"string"==typeof r&&(t.innerHTML=r)}n&&(window[i.id]=document.getElementById(i.id)),e(this,{getRoot:function(){return t},getOptions:function(){return i},getConf:function(){return o},getApi:function(){return t.firstChild}})}var n=document.all,a="http://web.archive.org/web/20171007005204/http://www.adobe.com/go/getflashplayer",o="function"==typeof jQuery,r=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,s={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:!0,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:!1,cachebusting:!1};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){},__flash_savedUnloadHandler=function(){}}),window.flashembed=function(t,n,a){return"string"==typeof t&&(t=document.getElementById(t.replace("#",""))),t?("string"==typeof n&&(n={src:n}),new i(t,e(e({},s),n),a)):void 0};var l=e(window.flashembed,{conf:s,getVersion:function(){var e,t;try{t=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(i){try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),t=e&&e.GetVariable("$version")}catch(n){try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),t=e&&e.GetVariable("$version")}catch(a){}}}return t=r.exec(t),t?[t[1],t[3]]:[0,0]},asString:function(e){if(null===e||void 0===e)return null;var i=typeof e;switch("object"==i&&e.push&&(i="array"),i){case"string":return e=e.replace(RegExp('(["\\\\])',"g"),"\\$1"),e=e.replace(/^\s?(\d+\.?\d*)%/,"$1pct"),'"'+e+'"';case"array":return"["+t(e,function(e){return l.asString(e)}).join(",")+"]";case"function":return'"function()"';case"object":var n=[];for(var a in e)e.hasOwnProperty(a)&&n.push('"'+a+'":'+l.asString(e[a]));return"{"+n.join(",")+"}"}return(e+"").replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(t,i){t=e({},t);var a='",(t.w3c||n)&&(a+=' '),t.width=t.height=t.id=t.w3c=t.src=null,t.onFail=t.version=t.expressInstall=null;for(var o in t)t[o]&&(a+=' ');var r="";if(i){for(var s in i)if(i[s]){var d=i[s];r+=s+"="+encodeURIComponent(/function|object/.test(typeof d)?l.asString(d):d)+"&"}r=r.slice(0,-1),a+=' "}return a+=" "},isSupported:function(e){return d[0]>e[0]||d[0]==e[0]&&d[1]>=e[1]}}),d=l.getVersion();o&&(jQuery.tools=jQuery.tools||{version:"v1.2.7"},jQuery.tools.flashembed={conf:s},jQuery.fn.flashembed=function(e,t){return this.each(function(){jQuery(this).data("flashembed",flashembed(this,e,t))})})}(),function(e){function t(e){if(e){var t=n.contentWindow.document;t.open().close(),t.location.hash=e}}var i,n,a,o;e.tools=e.tools||{version:"v1.2.7"},e.tools.history={init:function(r){o||(e.browser.msie&&"8">e.browser.version?n||(n=e("").attr("src","javascript:false;").hide().get(0),e("body").append(n),setInterval(function(){var t=n.contentWindow.document,a=t.location.hash;i!==a&&e(window).trigger("hash",a)},100),t(location.hash||"#")):setInterval(function(){var t=location.hash;t!==i&&e(window).trigger("hash",t)},100),a=a?a.add(r):r,r.click(function(i){var a=e(this).attr("href");return n&&t(a),"#"!=a.slice(0,1)?(location.href="#"+a,i.preventDefault()):void 0}),o=!0)}},e(window).on("hash",function(t,n){n?a.filter(function(){var t=e(this).attr("href");return t==n||t==n.replace("#","")}).trigger("history",[n]):a.eq(0).trigger("history",[n]),i=n}),e.fn.history=function(t){return e.tools.history.init(this),this.on("history",t)}}(jQuery),function(e){function t(t){switch(t.type){case"mousemove":return e.extend(t.data,{clientX:t.clientX,clientY:t.clientY,pageX:t.pageX,pageY:t.pageY});case"DOMMouseScroll":e.extend(t,t.data),t.delta=-t.detail/3;break;case"mousewheel":t.delta=t.wheelDelta/120}return t.type="wheel",e.event.handle.call(this,t,t.delta)}e.fn.mousewheel=function(e){return this[e?"on":"trigger"]("wheel",e)},e.event.special.wheel={setup:function(){e.event.add(this,i,t,{})},teardown:function(){e.event.remove(this,i,t)}};var i=e.browser.mozilla?"DOMMouseScroll"+("1.9">e.browser.version?" mousemove":""):"mousewheel"}(jQuery),function(e){function t(t,i,n){var a=n.relative?t.position().top:t.offset().top,o=n.relative?t.position().left:t.offset().left,r=n.position[0];a-=i.outerHeight()-n.offset[0],o+=t.outerWidth()+n.offset[1],/iPad/i.test(navigator.userAgent)&&(a-=e(window).scrollTop());var s=i.outerHeight()+t.outerHeight();"center"==r&&(a+=s/2),"bottom"==r&&(a+=s),r=n.position[1];var l=i.outerWidth()+t.outerWidth();return"center"==r&&(o-=l/2),"left"==r&&(o-=l),{top:a,left:o}}function i(i,a){var o,r,s=this,l=i.add(s),d=0,c=0,u=i.attr("title"),f=i.attr("data-tooltip"),h=n[a.effect],p=i.is(":input"),v=p&&i.is(":checkbox, :radio, select, :button, :submit"),m=i.attr("type"),g=a.events[m]||a.events[p?v?"widget":"input":"def"];if(!h)throw'Nonexistent effect "'+a.effect+'"';if(g=g.split(/,\s*/),2!=g.length)throw"Tooltip: bad events configuration for "+m;i.on(g[0],function(e){clearTimeout(d),a.predelay?c=setTimeout(function(){s.show(e)},a.predelay):s.show(e)}).on(g[1],function(e){clearTimeout(c),a.delay?d=setTimeout(function(){s.hide(e)},a.delay):s.hide(e)}),u&&a.cancelDefault&&(i.removeAttr("title"),i.data("title",u)),e.extend(s,{show:function(n){if(!o&&(f?o=e(f):a.tip?o=e(a.tip).eq(0):u?o=e(a.layout).addClass(a.tipClass).appendTo(document.body).hide().append(u):(o=i.next(),o.length||(o=i.parent().next())),!o.length))throw"Cannot find tooltip for "+i;if(s.isShown())return s;o.stop(!0,!0);var p=t(i,o,a);if(a.tip&&o.html(i.data("title")),n=e.Event(),n.type="onBeforeShow",l.trigger(n,[p]),n.isDefaultPrevented())return s;p=t(i,o,a),o.css({position:"absolute",top:p.top,left:p.left}),r=!0,h[0].call(s,function(){n.type="onShow",r="full",l.trigger(n)});var v=a.events.tooltip.split(/,\s*/);return o.data("__set")||(o.off(v[0]).on(v[0],function(){clearTimeout(d),clearTimeout(c)}),v[1]&&!i.is("input:not(:checkbox, :radio), textarea")&&o.off(v[1]).on(v[1],function(e){e.relatedTarget!=i[0]&&i.trigger(g[1].split(" ")[0])}),a.tip||o.data("__set",!0)),s},hide:function(t){return o&&s.isShown()?(t=e.Event(),t.type="onBeforeHide",l.trigger(t),t.isDefaultPrevented()?void 0:(r=!1,n[a.effect][1].call(s,function(){t.type="onHide",l.trigger(t)}),s)):s},isShown:function(e){return e?"full"==r:r},getConf:function(){return a},getTip:function(){return o},getTrigger:function(){return i}}),e.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(t,i){e.isFunction(a[i])&&e(s).on(i,a[i]),s[i]=function(t){return t&&e(s).on(i,t),s}})}e.tools=e.tools||{version:"v1.2.7"},e.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,fadeIE:!1,position:["top","center"],offset:[0,0],relative:!1,cancelDefault:!0,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"
",tipClass:"tooltip"},addEffect:function(e,t,i){n[e]=[t,i]}};var n={toggle:[function(e){var t=this.getConf(),i=this.getTip(),n=t.opacity;1>n&&i.css({opacity:n}),i.show(),e.call()},function(e){this.getTip().hide(),e.call()}],fade:[function(t){var i=this.getConf();!e.browser.msie||i.fadeIE?this.getTip().fadeTo(i.fadeInSpeed,i.opacity,t):(this.getTip().show(),t())},function(t){var i=this.getConf();!e.browser.msie||i.fadeIE?this.getTip().fadeOut(i.fadeOutSpeed,t):(this.getTip().hide(),t())}]};e.fn.tooltip=function(t){var n=this.data("tooltip");return n?n:(t=e.extend(!0,{},e.tools.tooltip.conf,t),"string"==typeof t.position&&(t.position=t.position.split(/,?\s/)),this.each(function(){n=new i(e(this),t),e(this).data("tooltip",n)}),t.api?n:this)}}(jQuery),function(e){function t(t){var i=e(window),n=i.width()+i.scrollLeft(),a=i.height()+i.scrollTop();return[t.offset().top<=i.scrollTop(),t.offset().left+t.width()>=n,t.offset().top+t.height()>=a,i.scrollLeft()>=t.offset().left]}function i(e){for(var t=e.length;t--;)if(e[t])return!1;return!0}var n=e.tools.tooltip;n.dynamic={conf:{classNames:"top right bottom left"}},e.fn.dynamic=function(a){"number"==typeof a&&(a={speed:a}),a=e.extend({},n.dynamic.conf,a);var o,r=e.extend(!0,{},a),s=a.classNames.split(/\s/);return this.each(function(){var n=e(this).tooltip().onBeforeShow(function(n,a){var l=this.getTip(),d=this.getConf();o||(o=[d.position[0],d.position[1],d.offset[0],d.offset[1],e.extend({},d)]),e.extend(d,o[4]),d.position=[o[0],o[1]],d.offset=[o[2],o[3]],l.css({visibility:"hidden",position:"absolute",top:a.top,left:a.left}).show();var c=e.extend(!0,{},r),u=t(l);i(u)||(u[2]&&(e.extend(d,c.top),d.position[0]="top",l.addClass(s[0])),u[3]&&(e.extend(d,c.right),d.position[1]="right",l.addClass(s[1])),u[0]&&(e.extend(d,c.bottom),d.position[0]="bottom",l.addClass(s[2])),u[1]&&(e.extend(d,c.left),d.position[1]="left",l.addClass(s[3])),(u[0]||u[2])&&(d.offset[0]*=-1),(u[1]||u[3])&&(d.offset[1]*=-1)),l.css({visibility:"visible"}).hide()});n.onBeforeShow(function(){var e=this.getConf();this.getTip(),setTimeout(function(){e.position=[o[0],o[1]],e.offset=[o[2],o[3]]},0)}),n.onHide(function(){var e=this.getTip();e.removeClass(a.classNames)}),ret=n}),a.api?ret:this}}(jQuery),function(e){var t=e.tools.tooltip;e.extend(t.conf,{direction:"up",bounce:!1,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!e.browser.msie});var i={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]};t.addEffect("slide",function(e){var t=this.getConf(),n=this.getTip(),a=t.slideFade?{opacity:t.opacity}:{},o=i[t.direction]||i.up;a[o[1]]=o[0]+"="+t.slideOffset,t.slideFade&&n.css({opacity:0}),n.show().animate(a,t.slideInSpeed,e)},function(t){var n=this.getConf(),a=n.slideOffset,o=n.slideFade?{opacity:0}:{},r=i[n.direction]||i.up,s=""+r[0];n.bounce&&(s="+"==s?"-":"+"),o[r[1]]=s+"="+a,this.getTip().animate(o,n.slideOutSpeed,function(){e(this).hide(),t.call()})})}(jQuery),function(e){function t(t,i,n){i=e(i).first()||i;var a=t.offset().top,o=t.offset().left,r=n.position.split(/,?\s+/),s=r[0],l=r[1];a-=i.outerHeight()-n.offset[0],o+=t.outerWidth()+n.offset[1],/iPad/i.test(navigator.userAgent)&&(a-=e(window).scrollTop());var d=i.outerHeight()+t.outerHeight();"center"==s&&(a+=d/2),"bottom"==s&&(a+=d);var c=t.outerWidth();return"center"==l&&(o-=(c+i.outerWidth())/2),"left"==l&&(o-=c),{top:a,left:o}}function i(e){function t(){return this.getAttribute("type")==e}return t.key='[type="'+e+'"]',t}function n(i,n,o){function r(t,i,n){if(o.grouped||!t.length){var r;if(n===!1||e.isArray(n)){r=a.messages[i.key||i]||a.messages["*"],r=r[o.lang]||a.messages["*"].en;var s=r.match(/\$\d/g);s&&e.isArray(n)&&e.each(s,function(e){r=r.replace(this,n[e])})}else r=n[o.lang]||n;t.push(r)}}var l=this,d=n.add(l);i=i.not(":button, :image, :reset, :submit"),n.attr("novalidate","novalidate"),e.extend(l,{getConf:function(){return o},getForm:function(){return n},getInputs:function(){return i},reflow:function(){return i.each(function(){var i=e(this),n=i.data("msg.el");if(n){var a=t(i,n,o);n.css({top:a.top,left:a.left})}}),l},invalidate:function(t,n){if(!n){var a=[];e.each(t,function(e,t){var n=i.filter("[name='"+e+"']");n.length&&(n.trigger("OI",[t]),a.push({input:n,messages:[t]}))}),t=a,n=e.Event()}return n.type="onFail",d.trigger(n,[t]),n.isDefaultPrevented()||u[o.effect][0].call(l,t,n),l},reset:function(t){return t=t||i,t.removeClass(o.errorClass).each(function(){var t=e(this).data("msg.el");t&&(t.remove(),e(this).data("msg.el",null))}).off(o.errorInputEvent+".v"),l},destroy:function(){return n.off(o.formEvent+".V reset.V"),i.off(o.inputEvent+".V change.V"),l.reset()},checkValidity:function(t,n){t=t||i,t=t.not(":disabled");var a={};if(t=t.filter(function(){var t=e(this).attr("name");return a[t]?void 0:(a[t]=!0,e(this))}),!t.length)return!0;if(n=n||e.Event(),n.type="onBeforeValidate",d.trigger(n,[t]),n.isDefaultPrevented())return n.result;var f=[];t.each(function(){var t=[],i=e(this).data("messages",t),a=s&&i.is(":date")?"onHide.v":o.errorInputEvent+".v";return i.off(a),e.each(c,function(){var e=this,a=e[0];if(i.filter(a).length){var s=e[1].call(l,i,i.val());if(s!==!0){if(n.type="onBeforeFail",d.trigger(n,[i,a]),n.isDefaultPrevented())return!1;var c=i.attr(o.messageAttr);if(c)return t=[c],!1;r(t,a,s)}}}),t.length&&(f.push({input:i,messages:t}),i.trigger("OI",[t]),o.errorInputEvent&&i.on(a,function(e){l.checkValidity(i,e)})),o.singleError&&f.length?!1:void 0});var h=u[o.effect];if(!h)throw'Validator: cannot find effect "'+o.effect+'"';return f.length?(l.invalidate(f,n),!1):(h[1].call(l,t,n),n.type="onSuccess",d.trigger(n,[t]),t.off(o.errorInputEvent+".v"),!0)}}),e.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","),function(t,i){e.isFunction(o[i])&&e(l).on(i,o[i]),l[i]=function(t){return t&&e(l).on(i,t),l}}),o.formEvent&&n.on(o.formEvent+".V",function(e){return l.checkValidity(null,e)?(e.target=n,e.type=o.formEvent,void 0):e.preventDefault()}),n.on("reset.V",function(){l.reset()}),i[0]&&i[0].validity&&i.each(function(){this.oninvalid=function(){return!1}}),n[0]&&(n[0].checkValidity=l.checkValidity),o.inputEvent&&i.on(o.inputEvent+".V",function(t){l.checkValidity(e(this),t)}),i.filter(":checkbox, select").filter("[required]").on("change.V",function(t){var i=e(this);(this.checked||i.is("select")&&e(this).val())&&u[o.effect][1].call(l,i,t)}),i.filter(":radio[required]").on("change.V",function(t){var i=e("[name='"+e(t.srcElement).attr("name")+"']");null!=i&&0!=i.length&&l.checkValidity(i,t)}),e(window).resize(function(){l.reflow()})}e.tools=e.tools||{version:"v1.2.7"};var a,o=/\[type=([a-z]+)\]/,r=/^-?[0-9]*(\.[0-9]+)?$/,s=e.tools.dateinput,l=/^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$/i,d=/^(https?:\/\/)?[\da-z\.\-]+\.[a-z\.]{2,6}[#&+_\?\/\w \.\-=]*$/i;a=e.tools.validator={conf:{grouped:!1,effect:"default",errorClass:"invalid",inputEvent:null,errorInputEvent:"keyup",formEvent:"submit",lang:"en",message:"
",messageAttr:"data-message",messageClass:"error",offset:[0,0],position:"center right",singleError:!1,speed:"normal"},messages:{"*":{en:"Please correct this value"}},localize:function(t,i){e.each(i,function(e,i){a.messages[e]=a.messages[e]||{},a.messages[e][t]=i})},localizeFn:function(t,i){a.messages[t]=a.messages[t]||{},e.extend(a.messages[t],i)},fn:function(t,n,a){e.isFunction(n)?a=n:("string"==typeof n&&(n={en:n}),this.messages[t.key||t]=n);var r=o.exec(t);r&&(t=i(r[1])),c.push([t,a])},addEffect:function(e,t,i){u[e]=[t,i]}};var c=[],u={"default":[function(i){var n=this.getConf();e.each(i,function(i,a){var o=a.input;o.addClass(n.errorClass);var r=o.data("msg.el");r||(r=e(n.message).addClass(n.messageClass).appendTo(document.body),o.data("msg.el",r)),r.css({visibility:"hidden"}).find("p").remove(),e.each(a.messages,function(t,i){e("
").html(i).appendTo(r)}),r.outerWidth()==r.parent().width()&&r.add(r.find("p")).css({display:"inline"});var s=t(o,r,n);r.css({visibility:"visible",position:"absolute",top:s.top,left:s.left}).fadeIn(n.speed)})},function(t){var i=this.getConf();t.removeClass(i.errorClass).each(function(){var t=e(this).data("msg.el");t&&t.css({visibility:"hidden"})})}]};e.each("email,url,number".split(","),function(t,i){e.expr[":"][i]=function(e){return e.getAttribute("type")===i}}),e.fn.oninvalid=function(e){return this[e?"on":"trigger"]("OI",e)},a.fn(":email","Please enter a valid email address",function(e,t){return!t||l.test(t)}),a.fn(":url","Please enter a valid URL",function(e,t){return!t||d.test(t)}),a.fn(":number","Please enter a numeric value.",function(e,t){return r.test(t)}),a.fn("[max]","Please enter a value no larger than $1",function(e,t){if(""===t||s&&e.is(":date"))return!0;var i=e.attr("max");return parseFloat(t)<=parseFloat(i)?!0:[i]}),a.fn("[min]","Please enter a value of at least $1",function(e,t){if(""===t||s&&e.is(":date"))return!0;var i=e.attr("min");return parseFloat(t)>=parseFloat(i)?!0:[i]}),a.fn("[required]","Please complete this mandatory field.",function(e,t){return e.is(":checkbox")?e.is(":checked"):t}),a.fn("[pattern]",function(e,t){return""===t||RegExp("^"+e.attr("pattern")+"$").test(t)}),a.fn(":radio","Please select an option.",function(t){var i=!1;return e("[name='"+t.attr("name")+"']").each(function(t,n){e(n).is(":checked")&&(i=!0)}),i?!0:!1}),e.fn.validator=function(t){var i=this.data("validator");return i&&(i.destroy(),this.removeData("validator")),t=e.extend(!0,{},a.conf,t),this.is("form")?this.each(function(){var a=e(this);i=new n(a.find(":input"),a,t),a.data("validator",i)}):(i=new n(this,this.eq(0).closest("form"),t),this.data("validator",i))}}(jQuery),function(e){var t=function(t,i){function n(e){var t=e.offset();return{left:t.left,top:t.top}}function a(){function t(){c=n(b),u=e(".zoom_mover"),f=c.left+u.width()/2,h=c.left+s.width()-u.width()/2,p=c.top+u.height()/2,v=c.top+s.height()-u.height()/2,m=u.width()/2,g=u.height()/2,e(".zoomer_showdiv").css({left:c.left+s.width()+10,top:c.top,display:"none"})}function i(i){e("#manu_act_tools").size()&&t();var n=b.attr("src");w.attr("src",n);var a,o,s=i.pageX,l=i.pageY;s>f&&h>s?(a=c.left+s-f,w.css({left:Math.round(-r*(s-f)),right:"auto"})):f>=s?(a=c.left,w.css({left:0,right:"auto"})):(a=h-m,w.css({left:"auto",right:0})),l>p&&v>l?(o=c.top+l-p,w.css({top:Math.round(-r*(l-p)),bottom:"auto"})):p>=l?(o=c.top,w.css({top:0,bottom:"auto"})):(o=v-g,w.css({top:"auto",bottom:0})),e(".zoom_mover").css({left:a,top:o,display:"block"}),e(".zoomer_showdiv").show()}var a=s.find("img:eq(0)").height();s.find("img:eq(0)").width();var o=s.find("img:eq(0)").attr("src");e("body").append('');var r=e(".zoomer_showdiv").find("img").height()/a;if(1>=r){r=2;var l=s.find("img:eq(0)").width();e(".zoomer_showdiv").find("img").css({width:2*l,height:2*a})}var d=Math.round(a/r);e("body").append('');var c,u,f,h,p,v,m,g,b=s.find(".nivo-main-image");t();var w=e(".zoomer_showdiv").find("img");s.mousemove(i),u.mousemove(i),u.mouseover(function(){e(".zoom_mover").show(),e(".zoomer_showdiv").show()}),u.mouseleave(function(){e(".zoom_mover").hide(),e(".zoomer_showdiv").hide()}),s.mouseleave(function(){e(".zoom_mover").hide(),e(".zoomer_showdiv").hide()})}var o=e.extend({},e.fn.nivoSlider.defaults,i),r={currentSlide:0,currentImage:"",totalSlides:0,running:!1,paused:!1,stop:!1,controlNavEl:!1},s=e(t);s.data("nivo:vars",r).addClass("nivoSlider");var l=s.children();l.each(function(){var t=e(this),i="";t.is("img")||(t.is("a")&&(t.addClass("nivo-imageLink"),i=t),t=t.find("img:first"));var n=0===n?t.attr("width"):t.width(),a=0===a?t.attr("height"):t.height();""!==i&&i.css("display","none"),t.css("display","none"),r.totalSlides++}),o.randomStart&&(o.startSlide=Math.floor(Math.random()*r.totalSlides)),o.startSlide>0&&(o.startSlide>=r.totalSlides&&(o.startSlide=r.totalSlides-1),r.currentSlide=o.startSlide),r.currentImage=e(l[r.currentSlide]).is("img")?e(l[r.currentSlide]):e(l[r.currentSlide]).find("img:first"),e(l[r.currentSlide]).is("a")&&e(l[r.currentSlide]).css("display","block");var d=e(' ');d.attr("src",r.currentImage.attr("src")).show(),s.append(d),e(window).resize(function(){s.children("img").width(s.width()),d.attr("src",r.currentImage.attr("src")),d.stop().height("auto"),e(".nivo-slice").remove(),e(".nivo-box").remove()}),s.append(e('
'));var c=function(t){var i=e(".nivo-caption",s);if(""!=r.currentImage.attr("title")&&void 0!=r.currentImage.attr("title")){var n=r.currentImage.attr("title");"#"==n.substr(0,1)&&(n=e(n).html()),"block"==i.css("display")?setTimeout(function(){i.html(n)},t.animSpeed):(i.html(n),i.stop().fadeIn(t.animSpeed))}else i.stop().fadeOut(t.animSpeed)};c(o);var u=0;if(!o.manualAdvance&&l.length>1&&(u=setInterval(function(){k(s,l,o,!1)},o.pauseTime)),o.directionNav&&(s.append('"),o.directionNavHide&&(e(".nivo-directionNav",s).hide(),s.hover(function(){e(".nivo-directionNav",s).show()},function(){e(".nivo-directionNav",s).hide()})),e("a.nivo-prevNav",s).live("click",function(){return r.running?!1:(clearInterval(u),u="",r.currentSlide-=2,k(s,l,o,"prev"),void 0)}),e("a.nivo-nextNav",s).live("click",function(){return r.running?!1:(clearInterval(u),u="",k(s,l,o,"next"),void 0)})),o.controlNav){var f=o.stepNumbers,h=l.length,p=parseInt(Math.ceil(h/f));r.controlNavEl=e('');for(var v=0;p>v;v++)r.controlNavEl.find(".items").append('
');s.after(r.controlNavEl);for(var v=0;l.length>v;v++){if(o.controlNavThumbs){r.controlNavEl.addClass("nivo-thumbs-enabled");var m=l.eq(v);m.is("img")||(m=m.find("img:first"));var g=Math.ceil((v+1)/f)-1;m.attr("data-thumb")&&r.controlNavEl.find(".slide_cell:eq("+g+")").append(' ')}else r.controlNavEl.append(''+(v+1)+" ");r.controlNavEl.find(".slider_thumbs").scrollable()}e("img.nivo-control:eq("+r.currentSlide+")",r.controlNavEl).addClass("active"),e("img.nivo-control",r.controlNavEl).bind("click",function(){return r.running?!1:e(this).hasClass("active")?!1:(e("img.nivo-control").removeClass("active"),e(this).addClass("active"),clearInterval(u),u="",d.attr("src",r.currentImage.attr("src")),r.currentSlide=e(this).attr("rel")-1,k(s,l,o,"control"),void 0)})}if(o.enablezoomer){var b=new Image;b.src=s.find("img:eq(0)").attr("src");var w=1;b.onload=function(){w&&a(),w=0},b.complete&&w&&(w=0,a())}o.pauseOnHover&&s.hover(function(){r.paused=!0,clearInterval(u),u=""},function(){r.paused=!1,""!==u||o.manualAdvance||(u=setInterval(function(){k(s,l,o,!1)},o.pauseTime))}),s.bind("nivo:animFinished",function(){d.attr("src",r.currentImage.attr("src")),r.running=!1,e(l).each(function(){e(this).is("a")&&e(this).fadeIn()}),e(l[r.currentSlide]).is("a")&&e(l[r.currentSlide]).fadeOut(),""!==u||r.paused||o.manualAdvance||(u=setInterval(function(){k(s,l,o,!1)},o.pauseTime)),o.afterChange.call(this)});var y=function(t,i,n){e(n.currentImage).parent().is("a")&&e(n.currentImage).parent().css("display","block"),e('img[src="'+n.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").width(t.width()).css("visibility","hidden").show();for(var a=e('img[src="'+n.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").parent().is("a")?e('img[src="'+n.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").parent().height():e('img[src="'+n.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").height(),o=0;i.slices>o;o++){var r=Math.round(t.width()/i.slices);o===i.slices-1?t.append(e('').css({left:r*o+"px",width:t.width()-r*o+"px",height:a+"px",display:"none",overflow:"hidden"})):t.append(e('').css({left:r*o+"px",width:r+"px",height:a+"px",display:"none",overflow:"hidden"}))}},x=function(t,i,n){e(n.currentImage).parent().is("a")&&e(n.currentImage).parent().css("display","block"),e('img[src="'+n.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").width(t.width()).css("visibility","hidden").show();for(var a=Math.round(t.width()/i.boxCols),o=Math.round(e('img[src="'+n.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").height()/i.boxRows),r=0;i.boxRows>r;r++)for(var s=0;i.boxCols>s;s++)s===i.boxCols-1?(t.append(e('').css({opacity:0,left:a*s+"px",top:o*r+"px",width:t.width()-a*s+"px"})),e('.nivo-box[name="'+s+'"]',t).height(e('.nivo-box[name="'+s+'"] img',t).height()+"px")):(t.append(e('').css({opacity:0,left:a*s+"px",top:o*r+"px",width:a+"px"})),e('.nivo-box[name="'+s+'"]',t).height(e('.nivo-box[name="'+s+'"] img',t).height()+"px"));
d.stop().animate({height:e(n.currentImage).height()},i.animSpeed)},k=function(t,i,n,a){var o=t.data("nivo:vars");if(o&&o.currentSlide===o.totalSlides-1&&n.lastSlide.call(this),(!o||o.stop)&&!a)return!1;n.beforeChange.call(this),a?("prev"===a&&d.attr("src",o.currentImage.attr("src")),"next"===a&&d.attr("src",o.currentImage.attr("src"))):d.attr("src",o.currentImage.attr("src")),o.currentSlide++,o.currentSlide===o.totalSlides&&(o.currentSlide=0,n.slideshowEnd.call(this)),0>o.currentSlide&&(o.currentSlide=o.totalSlides-1),o.currentImage=e(i[o.currentSlide]).is("img")?e(i[o.currentSlide]):e(i[o.currentSlide]).find("img:first"),n.controlNav&&(e("img",o.controlNavEl).removeClass("active"),e("img:eq("+o.currentSlide+")",o.controlNavEl).addClass("active")),c(n),e(".nivo-slice",t).remove(),e(".nivo-box",t).remove();var r=n.effect,s="";"random"===n.effect&&(s=["sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","fade","boxRandom","boxRain","boxRainReverse","boxRainGrow","boxRainGrowReverse"],r=s[Math.floor(Math.random()*(s.length+1))],void 0===r&&(r="fade")),-1!==n.effect.indexOf(",")&&(s=n.effect.split(","),r=s[Math.floor(Math.random()*s.length)],void 0===r&&(r="fade")),o.currentImage.attr("data-transition")&&(r=o.currentImage.attr("data-transition")),o.running=!0;var l=0,u=0,f="",h="",p="",v="";if("sliceDown"===r||"sliceDownRight"===r||"sliceDownLeft"===r)y(t,n,o),l=0,u=0,f=e(".nivo-slice",t),"sliceDownLeft"===r&&(f=e(".nivo-slice",t)._reverse()),f.each(function(){var i=e(this);i.css({top:"0px"}),u===n.slices-1?setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l):setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed)},100+l),l+=50,u++});else if("sliceUp"===r||"sliceUpRight"===r||"sliceUpLeft"===r)y(t,n,o),l=0,u=0,f=e(".nivo-slice",t),"sliceUpLeft"===r&&(f=e(".nivo-slice",t)._reverse()),f.each(function(){var i=e(this);i.css({bottom:"0px"}),u===n.slices-1?setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l):setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed)},100+l),l+=50,u++});else if("sliceUpDown"===r||"sliceUpDownRight"===r||"sliceUpDownLeft"===r){y(t,n,o),l=0,u=0;var m=0;f=e(".nivo-slice",t),"sliceUpDownLeft"===r&&(f=e(".nivo-slice",t)._reverse()),f.each(function(){var i=e(this);0===u?(i.css("top","0px"),u++):(i.css("bottom","0px"),u=0),m===n.slices-1?setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l):setTimeout(function(){i.animate({opacity:"1.0"},n.animSpeed)},100+l),l+=50,m++})}else if("fold"===r)y(t,n,o),l=0,u=0,e(".nivo-slice",t).each(function(){var i=e(this),a=i.width();i.css({top:"0px",width:"0px"}),u===n.slices-1?setTimeout(function(){i.animate({width:a,opacity:"1.0"},n.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l):setTimeout(function(){i.animate({width:a,opacity:"1.0"},n.animSpeed)},100+l),l+=50,u++});else if("fade"===r)y(t,n,o),h=e(".nivo-slice:first",t),h.css({width:t.width()+"px"}),h.fadeIn(2*n.animSpeed,function(){t.trigger("nivo:animFinished")}).show();else if("slideInRight"===r)y(t,n,o),h=e(".nivo-slice:first",t),h.css({width:"0px",opacity:"1"}),h.animate({width:t.width()+"px"},2*n.animSpeed,"",function(){t.trigger("nivo:animFinished")});else if("slideInLeft"===r)y(t,n,o),h=e(".nivo-slice:first",t),h.css({width:"0px",opacity:"1",left:"",right:"0px"}),h.animate({width:t.width()+"px"},2*n.animSpeed,"",function(){h.css({left:"0px",right:""}),t.trigger("nivo:animFinished")});else if("boxRandom"===r)x(t,n,o),p=n.boxCols*n.boxRows,u=0,l=0,v=S(e(".nivo-box",t)),v.each(function(){var i=e(this);u===p-1?setTimeout(function(){i.animate({opacity:"1"},n.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l):setTimeout(function(){i.animate({opacity:"1"},n.animSpeed)},100+l),l+=20,u++});else if("boxRain"===r||"boxRainReverse"===r||"boxRainGrow"===r||"boxRainGrowReverse"===r){x(t,n,o),p=n.boxCols*n.boxRows,u=0,l=0;var g=0,b=0,w=[];w[g]=[],v=e(".nivo-box",t),("boxRainReverse"===r||"boxRainGrowReverse"===r)&&(v=e(".nivo-box",t)._reverse()),v.each(function(){w[g][b]=e(this),b++,b===n.boxCols&&(g++,b=0,w[g]=[])});for(var k=0;2*n.boxCols>k;k++){for(var I=k,_=0;n.boxRows>_;_++)I>=0&&n.boxCols>I&&(function(i,a,o,s,l){var d=e(w[i][a]),c=d.width(),u=d.height();("boxRainGrow"===r||"boxRainGrowReverse"===r)&&d.width(0).height(0),s===l-1?setTimeout(function(){d.animate({opacity:"1",width:c,height:u},n.animSpeed/1.3,"",function(){t.trigger("nivo:animFinished")})},100+o):setTimeout(function(){d.animate({opacity:"1",width:c,height:u},n.animSpeed/1.3)},100+o)}(_,I,l,u,p),u++),I--;l+=100}}},S=function(e){for(var t,i,n=e.length;n;t=parseInt(Math.random()*n,10),i=e[--n],e[n]=e[t],e[t]=i);return e},I=function(e){this.console&&console.log!==void 0&&console.log(e)};return this.element=e(t),this.stop=function(){e(t).data("nivo:vars").stop||(e(t).data("nivo:vars").stop=!0,I("Stop Slider"))},this.start=function(){e(t).data("nivo:vars").stop&&(e(t).data("nivo:vars").stop=!1,I("Start Slider"))},o.afterLoad.call(this),this};e.fn.nivoSlider=function(i){return this.each(function(){var n=e(this);if(n.data("nivoslider"))return n.data("nivoslider");var a=new t(this,i);n.data("nivoslider",a)})},e.fn.nivoSlider.defaults={effect:"fade",slices:15,boxCols:8,boxRows:4,animSpeed:500,pauseTime:3e3,startSlide:0,enablezoomer:!1,directionNav:!0,directionNavHide:!0,controlNav:!0,controlNavThumbs:!0,pauseOnHover:!0,manualAdvance:!0,keyboardNav:!0,prevText:"<",nextText:">",randomStart:!1,stepNumbers:5,controlNavThumbsFromRel:!0,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}},e.fn._reverse=[].reverse}(jQuery),function(e){var t=function(t,i){var n=e.extend({},e.fn.mainNavi.defaults,i),a=e(t);if(n.animSpeed,"normal"==n.effect)e("li.parent",a).each(function(){e(this).hover(function(){e(this).find("ul:eq(0)").show()},function(){e(this).find("ul:eq(0)").hide()})});else if("slideDown"==n.effect){var o=[],r=[];e("li.parent",a).each(function(t){e(this).hover(function(){var i=this;clearTimeout(r[t]),o[t]=setTimeout(function(){e(i).find("ul:eq(0)").slideDown(n.animSpeed)},200)},function(){var i=this;clearTimeout(o[t]),r[t]=setTimeout(function(){e(i).find("ul:eq(0)").slideUp(n.animSpeed)},200)})})}else if("fade"==n.effect){var o=[],r=[];e("li.parent",a).each(function(t){e(this).hover(function(){var i=this;clearTimeout(r[t]),o[t]=setTimeout(function(){e(i).find("ul:eq(0)").fadeIn(n.animSpeed)},200)},function(){var i=this;clearTimeout(o[t]),r[t]=setTimeout(function(){e(i).find("ul:eq(0)").fadeOut(n.animSpeed)},200)})})}};e.fn.mainNavi=function(i){return this.each(function(){var n=e(this);if(n.data("mainNavi"))return n.data("mainNavi");var a=new t(this,i);n.data("mainNavi",a)})},e.fn.mainNavi.defaults={effect:"normal",animSpeed:500}}(jQuery),function(e){var t=function(t,i){var n=e.extend({},e.fn.mainNavi.defaults,i),a=e(t);n.animSpeed,"normal"==n.effect?e(".expend",a).each(function(){var t=e(this).parent().next();t.is(":visible")&&e(this).attr("class","unexpend"),e(this).click(function(i){i.preventDefault(),t.is(":visible")?(e(this).attr("class","expend"),t.hide()):(e(this).attr("class","unexpend"),t.show())})}):"slideDown"==n.effect?e(".expend",a).each(function(){var t=e(this).parent().next();t.is(":visible")&&e(this).attr("class","unexpend"),e(this).click(function(i){i.preventDefault(),t.is(":visible")?(e(this).attr("class","expend"),t.slideUp(n.animSpeed)):(e(this).attr("class","unexpend"),t.slideDown(n.animSpeed))})}):"fade"==n.effect&&e(".expend",a).each(function(){var t=e(this).parent().next();t.is(":visible")&&e(this).attr("class","unexpend"),e(this).click(function(i){i.preventDefault(),t.is(":visible")?(e(this).attr("class","expend"),t.fadeOut(n.animSpeed)):(e(this).attr("class","unexpend"),t.fadeIn(n.animSpeed))})})};e.fn.leftNavi=function(i){return this.each(function(){var n=e(this);if(n.data("leftNavi"))return n.data("leftNavi");var a=new t(this,i);n.data("leftNavi",a)})},e.fn.leftNavi.defaults={effect:"normal",animSpeed:500}}(jQuery),function(e){var t=function(t,i){var n=e.extend({},e.fn.mainNavi.defaults,i),a=e(t);n.animSpeed,"normal"==n.effect?(e(".expend",a).each(function(){var t=e(this).parent().parent().next();t.is(":visible")&&e(this).attr("class","unexpend"),e(this).click(function(i){i.stopPropagation(),i.preventDefault(),t.is(":visible")?(e(this).attr("class","expend"),e(this).parent().parent().removeClass("unexpendbox"),e(this).parent().parent().addClass("expendbox"),t.hide()):(e(this).parent().parent().addClass("unexpendbox"),e(this).parent().parent().removeClass("expendbox"),e(this).attr("class","unexpend"),t.show())})}),e(".firlinkbx",a).each(function(){var t=e(this).next();0!=t.size()&&(t.is(":visible")&&e(this).addClass("unexpendbox"),e(this).click(function(){t.is(":visible")?(e(this).removeClass("unexpendbox"),e(this).addClass("expendbox"),e(this).find("a span").attr("class","expend"),t.hide()):(e(this).addClass("unexpendbox"),e(this).removeClass("expendbox"),e(this).find("a span").attr("class","unexpend"),t.show())}))})):"slideDown"==n.effect?(e(".expend",a).each(function(){var t=e(this).parent().parent().next();t.is(":visible")&&e(this).attr("class","unexpend"),e(this).click(function(i){i.preventDefault(),i.stopPropagation(),t.is(":visible")?(e(this).parent().parent().removeClass("unexpendbox"),e(this).parent().parent().addClass("expendbox"),e(this).attr("class","expend"),t.slideUp(n.animSpeed)):(e(this).parent().parent().addClass("unexpendbox"),e(this).parent().parent().removeClass("expendbox"),e(this).attr("class","unexpend"),t.slideDown(n.animSpeed))})}),e(".firlinkbx",a).each(function(){var t=e(this).next();return 0==t.size()?!0:(t.is(":visible")&&e(this).addClass("unexpendbox"),e(this).click(function(){t.is(":visible")?(e(this).removeClass("unexpendbox"),e(this).addClass("expendbox"),e(this).find("a span").attr("class","expend"),t.slideUp(n.animSpeed)):(e(this).addClass("unexpendbox"),e(this).removeClass("expendbox"),e(this).find("a span").attr("class","unexpend"),t.slideDown(n.animSpeed))}),void 0)})):"fade"==n.effect&&(e(".expend",a).each(function(){var t=e(this).parent().parent().next();t.is(":visible")&&e(this).attr("class","unexpend"),e(this).click(function(i){i.stopPropagation(),i.preventDefault(),t.is(":visible")?(e(this).parent().parent().removeClass("unexpendbox"),e(this).parent().parent().addClass("expendbox"),e(this).attr("class","expend"),t.fadeOut(n.animSpeed)):(e(this).parent().parent().addClass("unexpendbox"),e(this).parent().parent().removeClass("expendbox"),e(this).attr("class","unexpend"),t.fadeIn(n.animSpeed))})}),e(".firlinkbx",a).each(function(){var t=e(this).next();0!=t.size()&&(t.is(":visible")&&e(this).addClass("unexpendbox"),e(this).click(function(){t.is(":visible")?(e(this).removeClass("unexpendbox"),e(this).addClass("expendbox"),e(this).find("a span").attr("class","expend"),t.fadeOut(n.animSpeed)):(e(this).addClass("unexpendbox"),e(this).removeClass("expendbox"),e(this).find("a span").attr("class","unexpend"),t.fadeIn(n.animSpeed))}))}))};e.fn.leftNaviExpand=function(i){return this.each(function(){var n=e(this);if(n.data("leftNavi"))return n.data("leftNavi");var a=new t(this,i);n.data("leftNavi",a)})},e.fn.leftNaviExpand.defaults={effect:"normal",animSpeed:500}}(jQuery),function(e){var t=function(t,i){function n(){var t;document.documentElement&&document.documentElement.scrollTop?t=document.documentElement.scrollTop:document.body&&(t=document.body.scrollTop),percent=(t-r)/10,percent=percent>0?Math.ceil(percent):Math.floor(percent);var i=parseInt(e(".coupletLbox",o).css("top"))+percent;e(".coupletLbox,.coupletRbox",o).css("top",i),r+=percent}var a=e.extend({},e.fn.couplet.defaults,i),o=e(t),r=0;"left"==a.layout?e(".coupletRbox",o).hide():"right"==a.layout?e(".coupletLbox",o).hide():"both"==a.layout&&e(".coupletLbox,.coupletRbox",o).show(),e(".couplet_close",o).click(function(){o.remove()}),setInterval(n,30)};e.fn.couplet=function(i){return this.each(function(){var n=e(this);if(n.data("couplet"))return n.data("couplet");var a=new t(this,i);n.data("couplet",a)})},e.fn.couplet.defaults={layout:"both"}}(jQuery),function(e){var t=function(t,i){function n(){var t;document.documentElement&&document.documentElement.scrollTop?t=document.documentElement.scrollTop:document.body&&(t=document.body.scrollTop),percent=(t-o)/10,percent=percent>0?Math.ceil(percent):Math.floor(percent);var i=parseInt(e(a).css("top"))+percent;e(a).css("top",i),o+=percent}e.extend({},e.fn.IMStyle.defaults,i);var a=e(t),o=0;setInterval(n,30)};e.fn.IMStyle=function(i){return this.each(function(){var n=e(this);if(n.data("IMStyle"))return n.data("IMStyle");var a=new t(this,i);n.data("IMStyle",a)})},e.fn.IMStyle.defaults={layout:"both"}}(jQuery),function(e){var t=function(t){jQuery.validator.addMethod("IsHeight",function(e,t){var i=/^[0-9]{2,3}$/;return this.optional(t)||i.test(e)},"请正确填写您的身高"),jQuery.validator.addMethod("checkName",function(t,i){var n=/^[\u4E00-\u9FA5a-zA-Z]{1,50}$/;return this.optional(i)||n.test(e.trim(t))},"请正确填写您的姓名"),jQuery.validator.addMethod("IsZipCode",function(e,t){var i=/^[0-9]{6}$/;return this.optional(t)||i.test(e)},"请正确填写您的邮政编码"),jQuery.validator.addMethod("IsMobile",function(e,t){var i=e.length,n=/^\d{7,11}$/;return this.optional(t)||11==i&&n.test(e)},"手机号码格式错误"),jQuery.validator.addMethod("IsTelephone",function(e,t){var i=/^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$/;return this.optional(t)||i.test(e)},"电话号码格式错误"),jQuery.validator.addMethod("checkDate",function(e,t){var i=/^(\d{1,4})(-|\/)(\d{1,2})(-|\/)(\d{1,2})$/,n=e.match(i);if(null==n)return!1;var a=new Date(n[1],n[3]-1,n[5]),o=a.getFullYear()==n[1]&&a.getMonth()+1==n[3]&&a.getDate()==n[5];return this.optional(t)||o},""),e(t).find("form").validate({rules:{txtEmployeeName:{required:!0,checkName:!0,maxlength:50},txtBirthday:{},txtHeight:{},txtSchool:{maxlength:100},txtMajor:{maxlength:50},txtDegree:{maxlength:10},txtGraduatedTime:{date:!0},txtBirthplace:{required:!0,maxlength:100},txtEducation:{required:!0,maxlength:500},txtWorking:{required:!0,maxlength:700},txtTelephone:{IsTelephone:!0},txtMobile:{required:!0,IsMobile:!0},txtEmail:{required:!0,email:!0},txtPostCode:{IsZipCode:!0},txtAddress:{maxlength:100}},messages:{txtEmployeeName:{required:I18NSWYLAN.LeaveName,checkName:I18NSWYLAN.OnlyChineseLetters,maxlength:I18NSWYLAN.UpWords},txtBirthday:{required:I18NSWYLAN.FillBirth,checkDate:I18NSWYLAN.FillFormatdate},txtHeight:{required:I18NSWYLAN.FillHeight,IsHeight:I18NSWYLAN.FillCorrectHeight},txtSchool:{maxlength:"最多100个字"},txtMajor:{maxlength:"最多50个字"},txtDegree:{maxlength:"最多10个字"},txtGraduatedTime:{date:I18NSWYLAN.FillFormatdate},txtBirthplace:{required:I18NSWYLAN.FillRegistration,maxlength:"最多100个字"},txtEducation:{required:I18NSWYLAN.FillEduExp,maxlength:"最多500个字"},txtWorking:{required:I18NSWYLAN.FillWorkExp,maxlength:"最多700个字"},txtTelephone:{IsTelephone:I18NSWYLAN.TelNumError},txtMobile:{required:I18NSWYLAN.FillMobPhoneNum,IsMobile:I18NSWYLAN.MobPhoneNumError},txtEmail:{required:I18NSWYLAN.FillMail,email:I18NSWYLAN.FillFormatMail},txtPostCode:{IsZipCode:I18NSWYLAN.FillCorrCode},txtAddress:{maxlength:"最多100个字"}},submitHandler:function(){i(t)}})},i=function(t){var i={};i.jobid=e(t).find("input[name='hidJobId']").eq(0).val(),i.EmployeeName=e(t).find("input[name='txtEmployeeName']").eq(0).val(),i.Birthday=e(t).find("input[name='txtBirthday']").eq(0).val(),i.Height=e(t).find("input[name='txtHeight']").eq(0).val(),e(t).find("input[name='rdoGenderSex']").each(function(){e(this)[0].checked&&(i.Gender=e(this).val())}),i.School=e(t).find("input[name='txtSchool']").eq(0).val(),e(t).find("input[name='rdoIsMarriaged']").each(function(){e(this)[0].checked&&(i.IsMarriaged=e(this).val())}),i.Major=e(t).find("input[name='txtMajor']").eq(0).val(),i.Degree=e(t).find("input[name='txtDegree']").eq(0).val(),i.GraduatedTime=e(t).find("input[name='txtGraduatedTime']").eq(0).val(),i.Birthplace=e(t).find("input[name='txtBirthplace']").eq(0).val(),i.Education=e(t).find("textarea[name='txtEducation']").eq(0).val(),i.Working=e(t).find("textarea[name='txtWorking']").eq(0).val(),i.Telephone=e(t).find("input[name='txtTelephone']").eq(0).val(),i.Mobile=e(t).find("input[name='txtMobile']").eq(0).val(),i.Email=e(t).find("input[name='txtEmail']").eq(0).val(),i.Address=e(t).find("input[name='txtAddress']").eq(0).val(),i.PostCode=e(t).find("input[name='txtPostCode']").eq(0).val(),e.ajax({url:"/Jobs/AddEmployee",data:i,type:"post",dataType:"json",success:function(i){i.Code>0?(alert(i.Msg),location.href=e(t).find("input[name='hidListURL']").eq(0).val()):alert(i.Msg)}})};e.fn.Employee_Submit=function(i){return this.each(function(){var n=e(this);if(n.data("Employee_submit"))return n.data("Employee_submit");var a=new t(this,i);n.data("Employee_submit",a)})}}(jQuery),function(e){var t=function(t){var n=e(t);jQuery.validator.addMethod("IsMobile",function(e,t){var i=e.length,n=/^\d{7,11}$/;return this.optional(t)||11==i&&n.test(e)},I18NSWYLAN.MobPhoneNumError),jQuery.validator.addMethod("IsTelephone",function(e,t){var i=/^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$/;return this.optional(t)||i.test(e)},I18NSWYLAN.TelNumError),e(t).find("form").validate({rules:{lecontent:{required:!0,maxlength:200},msg_telphone:{IsTelephone:!0},msg_phone:{required:!0,IsMobile:!0},msg_email:{required:!0,email:!0},vaildtxt:{required:!0}},messages:{lecontent:{required:I18NSWYLAN.FillMsg,maxlength:"最多200个字"},msg_telphone:{IsTelephone:I18NSWYLAN.TelNumError},msg_phone:{required:I18NSWYLAN.FillMobPhoneNum,IsMobile:I18NSWYLAN.FillMobPhoneNum},msg_email:{required:I18NSWYLAN.FillMail,email:I18NSWYLAN.FillFormatMail},vaildtxt:{required:I18NSWYLAN.FillVerCode}},submitHandler:function(){i(t)}}),n.find("input[name='validimg']").click(function(){e(this).attr("src","/ValidationCode/CreateImage?"+Math.random())}),n.find(".MsgList").find(".toggle_adreplay").toggle(function(t){t.preventDefault(),e(this).parents(".adm_reply").find(".replay_lists li:gt(0)").show(),e(this).text("收起")},function(t){t.preventDefault(),e(this).parents(".adm_reply").find(".replay_lists li:gt(0)").hide(),e(this).text("展开")})},i=function(t){var i=e(t),n={},a=i.find("input[name='hffg']").eq(0).val();if("True"==a){var o=i.find("input[name='vaildtxt']").eq(0).val();n.vild=o}n.ProductId=i.find("input[name='hidProductId']").eq(0).val(),n.MesageType=i.find("input[name='hidMesageType']").eq(0).val(),n.lecontent=i.find("textarea[name='lecontent']").eq(0).val(),n.email=i.find("input[name='msg_email']").eq(0).val(),n.telphone=i.find("input[name='msg_telphone']").eq(0).val(),n.company=i.find("input[name='msg_company']").eq(0).val(),n.phone=i.find("input[name='msg_phone']").eq(0).val(),n.address=i.find("input[name='msg_address']").eq(0).val(),i.find("input[name='sex']").each(function(){e(this)[0].checked&&(n.sex=e(this).val())}),n.title=i.find("input[name='msg_title']").eq(0).val(),i.find("input[name='msg_ckemail']").size()>0&&(n.msg_hidchemail=i.find("input[name='msg_ckemail']").eq(0)[0].checked?1:0),i.find("input[name='msg_ckphone']").size()>0&&(n.msg_hidchphone=i.find("input[name='msg_ckphone']").eq(0)[0].checked?1:0),i.find(".logerro_tip").hide(),e.ajax({type:"post",url:"/Product/ProductInquireAdd",dataType:"json",data:n,success:function(t){if(null!=t)if(0==t.code){if(1==t.fg)i.find(".logerro_tip").text(I18NSWYLAN.fgMsgSuccess).show(),i.find("input[name='validimg']").eq(0).attr("src","/ValidationCode/CreateImage?"+Math.random());else{var n="",n+=""+t.cxt+"
",i.find("input[name='msgList']").eq(0).prepend(n),i.find(".logerro_tip").text(I18NSWYLAN.postMsg).show(),i.find("input[name='lecontent']").eq(0).val(""),e("input[name='msg_email']").eq(0).val(""),i.find("input[name='msg_telphone']").eq(0).val(""),i.find("input[name='msg_company']").eq(0).val(""),i.find("input[name='msg_phone']").eq(0).val(""),i.find("input[name='msg_address']").eq(0).val(""),i.find("input[name='msg_title']").eq(0).val(""),i.find("input[name='validimg']").eq(0).attr("src","/ValidationCode/CreateImage?"+Math.random())}location.href=location.href}else 2==t.code?(i.find(".logerro_tip").eq(0).text("验证码不正确!").show(),i.find("input[name='validimg']").eq(0).attr("src","/ValidationCode/CreateImage?"+Math.random())):1==t.code&&(i.find(".logerro_tip").eq(0).text(I18NSWYLAN.postMsgErro).show(),i.find("input[name='validimg']").eq(0).attr("src","/ValidationCode/CreateImage?"+Math.random()))}})};e.fn.ProductInquire_Submit=function(i){return this.each(function(){var n=e(this);if(n.data("ProductInquire_Submit"))return n.data("ProductInquire_Submit");var a=new t(this,i);n.data("ProductInquire_Submit",a)})}}(jQuery),function(e){var t=function(t){var i=e(t).find(".divVideoPlayHolder"),n=i.data("videotagid");i.data("videosharefilepath");var a=i.data("videopathtype"),o=i.data("isautoplay"),r="";i.size()>0&&""!=i.eq(0).data("websitehosturl")&&(r=i.eq(0).data("websitehosturl"));var s="";s=1==a?i.data("videourl"):i.data("videodataid");var l={f:s,c:"0",p:o},d={bgcolor:"#000000",allowFullScreen:!0,allowScriptAccess:"always"};1==a?videoRemotechangePlayer(s,"a1-"+n):CKobject.embedSWF(r+"/Scripts/ckplayer/ckplayer.swf","a1-"+n,"ckplayer_a1","600","400",l,d);var c=document.getElementById("divRemark-"+n);c.innerHTML=c.title.replace(/script/gim,"script ")};e.fn.VideoDetail=function(i){return this.each(function(){var n=e(this);if(n.data("Videodetail"))return n.data("Videodetail");var a=new t(this,i);n.data("Videodetail",a)})}}(jQuery),function($){var toJSON=function(txtOrObj,hasIndent){function notify(e,t,i,n){if(t&&t.constructor==Array){draw.push((n?'"'+e+'":':"")+"[");for(var a=0;t.length>a;a++)notify(a,t[a],a==t.length-1,!1);draw.push("]"+(i?"":","))}else if(t&&"object"==typeof t){draw.push((n?'"'+e+'":':"")+"{");var o=0,a=0;for(var r in t)o++;for(var r in t)notify(r,t[r],++a==o,!0);draw.push("}"+(i?"":","))}else"string"==typeof t&&(t='"'+t+'"'),draw.push((n?'"'+e+'":':"")+t+(i?"":","))}var data=txtOrObj;if("string"==typeof data)try{data=eval("("+data+")")}catch(e){return""}var draw=[],last=!1,isLast=!0,indent=0;return notify("",data,isLast,!1),draw.join("")},SurveySave=function(e,t,i,n,a,o,r){var s,l={},d="",c="",u={},f=0,h=!0;l.surveyid=i,l.ffour=o,l.fthree=r,l.answertopics=[],$("div[name='"+t+"_list_pop']"),$(e).find("div[name='survey_"+t+"']").find(".topic").each(function(){u={},d=$(this).data("topicid"),c=$(this).data("topicclass"),SurveyValidate(e,d,c,$(this))||(h=!1),"TextArea"==c?(s=$(this).find("textarea"),u.answerid=0,u.surveytopicid=d,u.value=$.trim(s.val()),l.answertopics.push(u)):"Radio"==c?(u.answerid=0,u.surveytopicid=d,u.value="",$(this).find("input:checked").each(function(){f=$(this).val(),s=$(e).find("input[name='"+d+"_Text_"+f+"']").eq(0),u.value+=f,s&&s.val()&&(u.value+="@"+$.trim(s.val()))}),l.answertopics.push(u)):"CheckBox"==c&&(u.answerid=0,u.surveytopicid=d,u.value="",$(this).find("input:checked").each(function(){f=$(this).val(),s=$(e).find("input[name='"+d+"_Text_"+f+"']").eq(0),u.value+="|"+f,s&&s.val()&&(u.value+="@"+$.trim(s.val()))}),u.value.length>0&&(u.value=u.value.substring(1)),l.answertopics.push(u))});var p=0,v=$(e).data("widgettitle").toLowerCase();h&&$.ajax({url:"/Survey/SurveySave",data:toJSON(l),type:"post",dataType:"json",success:function(n){null!=n&&(1==n.Code?0==p&&("singlevotedetail"==v||"votedetail"==v?SurveyOutcome(e,t,i):alert(n.Msg)):alert(n.Msg),p++,"QuestionnaireDetail"!=$(e).data("widgettitle")&&"SingleQuestionDetail"!=$(e).data("widgettitle")||""==$(e).data("redirecturl")||(location.href=$(e).data("redirecturl")))}})},SurveyValidate=function(e,t,i,n){var a,o=n.find("[name='"+t+"_errormsg']").eq(0),r=0,s=!0,l=!0;return o[0]&&(o.text(""),"TextArea"==i?(a=n.find("textarea"),0>=$.trim(a.val()).length&&(o.text("请填写答案"),l=!1)):"Radio"==i?(n.find("input:checked").each(function(){s=!1,r=$(this).val(),a=$(e).find("input[name='"+t+"_Text_"+r+"']").eq(0),a&&a.attr("type")&&0>=$.trim(a.val()).length&&(o.text("请填写选择项连带的输入框"),l=!1)}),s&&(o.text("请填写答案"),l=!1)):"CheckBox"==i&&(n.find("input:checked").each(function(){s=!1,r=$(this).val(),a=$(e).find("input[name='"+t+"_Text_"+r+"']").eq(0),a&&a.attr("type")&&0>=$.trim(a.val()).length&&(o.text("请填写选择项连带的输入框"),l=!1)}),s&&(o.text("请填写答案"),l=!1))),l},SurveyClear=function(e,t){$(e).find("div[name='survey_"+t+"']").find(".topic").each(function(){topic={},tid=$(this).data("topicid"),tclass=$(this).data("topicclass"),SurveyValidate(e,tid,tclass,$(this))||(flag=!1),"TextArea"==tclass?($otemp=$(this).find("textarea"),$otemp.val("")):"Radio"==tclass?$(this).find("input:checked").each(function(){tv=$(this).val(),$otemp=$(e).find("input[name='"+tid+"_Text_"+tv+"']").eq(0),$(this).attr("checked",!1),$otemp&&$otemp.val()&&$otemp.val("")}):"CheckBox"==tclass&&$(this).find("input:checked").each(function(){tv=$(this).val(),$otemp=$(e).find("input[name='"+tid+"_Text_"+tv+"']").eq(0),$(this).attr("checked",!1),$otemp&&$otemp.val()&&$otemp.val("")})})},SurveyOutcome=function(e,t,i){var n=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],a={};a.id=i;var o=$("div[name='"+t+"_list_pop']");o.html(""),$.ajax({url:"/Survey/SurveyStatistics",data:a,type:"post",dataType:"json",success:function(i){if(1==i.Code){$(e).find("div[name='"+t+"_title_pop']").html(i.Survey.title),$(e).find("div[name='"+t+"_title_pop']").html("");for(var a="",r=[],s=0;i.Survey.surveytopics.length>s;s++){if(a="",a+=i.Survey.surveytopics[s].title,1==i.Survey.surveytopics[s].isrequired&&(a+=" (必填)"),a+='【'+i.Survey.surveytopics[s].topicclassname,"Questionnaire"==i.Survey.mode&&(a+=""+i.Survey.surveytopics[s].scores+" 分 "),a+=" 】",a+="
",a+="",""==i.Survey.surveytopics[s].topicclass);else{r=i.Survey.surveytopics[s].options.split("|");for(var l=0;r.length>l;l++)a+=""+n[l]+". "+r[l]+" 【选择数:"+i.Survey.surveytopics[s].optionselects[l+1]+" 人 选择百分比: ",a+=i.Survey.answercount>0?Math.round(100*(i.Survey.surveytopics[s].optionselects[l+1]/i.Survey.answercount)):"0",a+="%】 "}a+="
",o.append(a)}}else-402==i.Code&&alert(i.Msg)}}),$("div[name="+t+"_pop]").dialog("open")},Surveydetail=function(e){var t=$(e);t.data("widgettitle").toLowerCase();var i=t.data("haspermission");""!=i&&(t.find("div[name='survey_errormsg_"+t.data("surveytagid")+"']").show(),t.find("div[name='survey_errormsg_"+t.data("surveytagid")+"']").html(i)),t.find(".SurveySaveSubmit").each(function(){t.find("div[name='"+$(this).data("surveytagid")+"_pop']").dialog({autoOpen:!1,position:["center ",100],width:500,draggable:!1}),$("."+$(this).data("surveytagid")+"_popcancel").click(function(e){e.preventDefault(),$("div[name='"+$(this).data("surveytagid")+"_pop']").dialog("close")}),$(this).click(function(){return SurveySave(e,$(this).data("surveytagid"),$(this).data("suyveyid"),!1,"",$("#Vote_TelPhone").val(),$("#Vote_name").val()),!1})})};$.fn.SurveyDetail=function(e){return this.each(function(){var t=$(this);if(t.data("Surveydetail"))return t.data("Surveydetail");var i=new Surveydetail(this,e);t.data("Surveydetail",i)})}}(jQuery),function(e){var t=function(t){var i=e(t),n=i.find(".appbaidu_result").data("id"),a=i.find(".appbaidu_instance").data("id"),o=new BMap.Map(a),r=i.find(".appbaidu_hdnSetPoints")[0],s=function(){o.centerAndZoom(new BMap.Point(121.491,31.233),11),u(!0),o.enableScrollWheelZoom(),o.enableContinuousZoom(),o.enableInertialDragging(),o.addControl(new BMap.NavigationControl);var e={offset:new BMap.Size(150,5)};o.addControl(new BMap.ScaleControl(e)),o.addControl(new BMap.OverviewMapControl)},l=[BMAP_DRIVING_POLICY_LEAST_TIME,BMAP_DRIVING_POLICY_LEAST_DISTANCE,BMAP_DRIVING_POLICY_AVOID_HIGHWAYS],d=function(e,t,i){var a=new BMap.DrivingRoute(o,{renderOptions:{map:o,panel:n},policy:i});a.search(e,t)};i.find(".classCar").click(function(){var e=i.find(".classStart").val(),t=i.find(".classEnd").val();d(e,t,l[0])});var c=new BMap.TransitRoute(o,{renderOptions:{map:o,panel:n},policy:BMAP_TRANSIT_POLICY_LEAST_TIME});i.find(".classAddress").click(function(){var e=i.find(".classStart").val(),t=i.find(".classEnd").val();c.search(e,t)});var u=function(e){if(o&&r.value.length>0)for(var t=r.value.split("|"),i=0;t.length>i;i++){var a=t[i].split(","),s=new BMap.Point(a[0],a[1]),l=new BMap.Marker(s),d=new BMap.Label(a[2],{offset:new BMap.Size(20,-10)});l.setLabel(d),o.addOverlay(l),l.setAnimation(BMAP_ANIMATION_BOUNCE),e&&0==i&&o.panTo(new BMap.Point(a[0],a[1]))}else new BMap.LocalSearch(o,{renderOptions:{map:o,panel:n}})};s()};e.fn.BaiduMap=function(i){return this.each(function(){var n=e(this);if(n.data("baiduMap"))return n.data("baiduMap");var a=new t(this,i);n.data("baiduMap",a)})},e.fn.BaiduMap.defaults={layout:"both"}}(jQuery),function(e){var t=function(t){var i=e(t);i.find("form").validate({rules:{txtLoginName:{required:!0,rangelength:[5,20]},txtLoginPass:{required:!0,rangelength:[3,15]},txtLoginPassAgain:{required:!0,rangelength:[3,15],equalTo:"[name=txtLoginPass]"},txtUserEmail:{required:!0,email:!0},txtUserMobile:{required:!0}},messages:{txtLoginName:{required:"请填写用户名",rangelength:"用户名为5到20个字符"},txtLoginPass:{required:"请填写密码",rangelength:"密码为3到15个字符"},txtLoginPassAgain:{required:"请再次输入密码",rangelength:"密码为3到15个字符",equalTo:"两次输入密码不一致"},txtUserEmail:{required:"请填写电子邮件",email:"请填写正确格式的电子邮件"},txtUserMobile:{required:"请填写正确格式的手机号码"}},submitHandler:function(){n()}});var n=function(){var t=i.find("input[name='txtLoginName']").val(),n=i.find("input[name='txtLoginPass']").val(),a=i.find("input[name='txtUserEmail']").val(),o=i.find("input[name='txtUserMobile']").val(),r=i.find("input[name='txtUserqq']").val(),s=i.find("input[name='txtUserName']").val(),l=i.find("input[name='txtUseraddress']").val(),d=i.find("input[name='phonefg']").val(),c=i.find("input[name='emailfg']").val(),u=i.find("input[name='telflag']").val(),f=i.find("input[name='emaflag']").val(),h={};h.telflag=u,h.emaflag=f,h.Pcheck=d,h.Echeck=c,h.loginname=t,h.loginpass=n,h.email=a,h.phone=o,h.qq=r,h.username=s,h.address=l,e.ajax({type:"POST",url:"/Member/MemberRegedit",data:h,success:function(t){1==t.Code?(alert(t.Msg),window.location=e("#hidurl").val()):alert(t.Msg)}})}};e.fn.MemberRegister=function(i){return this.each(function(){var n=e(this);if(n.data("Memberregister"))return n.data("Memberregister");var a=new t(this,i);n.data("Memberregister",a)})},e.fn.MemberRegister.defaults={layout:"both"}}(jQuery),function(e){var t=function(t){var i=e(t);i.find("form").validate({rules:{txtLoginName:{required:!0,rangelength:[5,20]},txtUserEmail:{required:!0,email:!0},txtUserMobile:{required:!0}},messages:{txtLoginName:{required:"请填写用户名",rangelength:"用户名为5到20个字符"},txtUserEmail:{required:"请填写电子邮件",email:"请填写正确格式的电子邮件"},txtUserMobile:{required:"请填写正确格式的手机号码"}},submitHandler:function(){n()}});var n=function(){var t=i.find("input[name='txtLoginPass']").val(),n=i.find("input[name='txtUserEmail']").val(),a=i.find("input[name='txtUserMobile']").val(),o=i.find("input[name='txtUserqq']").val(),r=i.find("input[name='txtUserName']").val(),s=i.find("input[name='txtUseraddress']").val(),l=i.find("input[name='hidmid']").val(),d={};d.pass=t,d.email=n,d.phone=a,d.qq=o,d.username=r,d.address=s,d.id=l,e.ajax({type:"POST",url:"/Member/Memberedits",data:d,success:function(e){1==e.Code?alert(e.Msg):alert(e.Msg)}})}};e.fn.MemberEdit=function(i){return this.each(function(){var n=e(this);if(n.data("Memberedit"))return n.data("Memberedit");var a=new t(this,i);n.data("Memberedit",a)})},e.fn.MemberEdit.defaults={layout:"both"}}(jQuery),function(e){var t=function(t){var i=e(t);i.find("input[name='hidmid']").val(),e(".Ver_jump").click(function(t){t.preventDefault();var n=e(this).attr("data-src"),a=i.find("input[name='hidmid']").val();window.location=n+"?id="+a}),e(".Ver_jumpedit").click(function(t){t.preventDefault();
var n=e(this).attr("data-src"),a=i.find("input[name='hidmid']").val();window.location=n+"?id="+a}),e("[name='validimg']").click(function(){e("[name='validimg']").attr("src","/ValidationCode/CreateImage?"+Math.random())})};e.fn.MemberLogin=function(i){return this.each(function(){var n=e(this);if(n.data("Memberlogin"))return n.data("Memberlogin");var a=new t(this,i);n.data("Memberlogin",a)})},e.fn.MemberLogin.defaults={layout:"both"}}(jQuery),function(e){var t=function(t){var i=e(t),n=i.find(".lansel_bx"),a=i.find(".lansel_lists");n.click(function(e){e.stopPropagation(),a.is(":visible")?a.hide():a.show()}),e("body").bind("click",function(){a.hide()})};e.fn.LanguageSelect=function(i){return this.each(function(){var n=e(this);if(n.data("languageSelect"))return n.data("languageSelect");var a=new t(this,i);n.data("languageSelect",a)})},e.fn.LanguageSelect.defaults={layout:"both"}}(jQuery),function(e){var t=function(t){var i=e(t),n=function(t,i){t>0&&e("div[name='data_page_nav']").pagination(t,{prev_text:"上一页",next_text:"下一页",num_display_entries:5,current_page:0,items_per_page:i,num_edge_entries:2,show_if_single_page:!0,load_first_page:!1,callback:a})},a=function(t){var n={},a=e.trim(i.find("[name='keyword']").val()),o=i.find("input[name=hidSearchType]").val();return n.k=a,n.s=o,n.P=t+1,n.aliascode=i.attr("id"),e("ul[name=ul_ResultList_holder]").html(""),e("div[name=div_noresult_tip]").hide(),e("div[name=div_nokeyword_tip]").hide(),""==a?(e("div[name=div_nokeyword_tip]").show(),void 0):(e.ajax({url:"/Common/GetSearchResultList",data:n,type:"post",async:!1,dataType:"json",success:function(t){if(t.Code>0){i.data("totalcount",t.totalcount),i.data("pagesize",t.pagesize);for(var n=[],r=0;t.v_list.length>r;r++)n.push(''),n.push('"),n.push(''),""!=t.v_list[r].Descr_LightKeyword&&n.push('
'+t.v_list[r].Descr_LightKeyword+"
"),n.push('
'+t.websitehosturl+"/"+t.detailurl+"/I"+t.v_list[r].IdHex+".html "+t.v_list[r].CreateTime_Str+"
"),n.push("
"),n.push(" ");e("ul[name=ul_ResultList_holder]").append(n.join("")),t.isshowpage>0?e("div[name='data_page_nav']").show():e("div[name='data_page_nav']").hide()}else i.data("totalcount",0),i.data("pagesize",10),"0"!=e("div[name=div_noresult_tip]").data("hassearchtype")&&(e("div[name=div_noresult_tip]").show(),e("div[name=div_nokeyword_tip]").hide(),e("div[name=div_noresult_tip] em").html(a)),e("div[name='data_page_nav']").hide()}}),void 0)};i.find(".s_tab :radio").bind("click",function(){i.find("input[name='hidSearchType']").val(e(this).val()),a(0),n(i.data("totalcount"),i.data("pagesize"))}),i.find("input[name='searchBtn']").bind("click",function(){var t=e.trim(i.find("[name=keyword]").val());i.find("input[name=hidSearchType]").val();var o=i.find("[name='keyword']");return""==t||t==I18NSWYLAN.FillKeyWords?(o.val(I18NSWYLAN.FillKeyWords),o.select().focus(),!1):(a(0),n(i.data("totalcount"),i.data("pagesize")),!1)}),i.find("input[name='keyword']").bind("keydown",function(e){e=e?e:window.event?window.event:"";var t=e.keyCode?e.keyCode:e.which?e.which:e.charCode;return 13==t?(i.find("input[name='searchBtn']").trigger("click"),!1):void 0}),i.find("form").bind("submit",function(){return!1}),n(i.data("totalcount"),i.data("pagesize")),i.data("isshowpage")>0?e("div[name='data_page_nav']").show():e("div[name='data_page_nav']").hide(),function(){var t=i.data("searchtype");i.find(":radio").each(function(){t==e(this).val()&&e(this).attr("checked","checked")});var n=e.trim(i.find("[name=keyword]").val());""!=n&&0==i.find(".result-op li").size()&&i.find("div[name=div_noresult_tip]").show()}()};e.fn.Search=function(i){return this.each(function(){var n=e(this);if(n.data("searchWidgetResult"))return n.data("searchWidgetResult");var a=new t(this,i);n.data("searchWidgetResult",a)})}}(jQuery),function(e){var t=function(t){var i=e(t);i.find(".s_tab :radio").bind("click",function(){i.find("input[name='hidSearchType']").val(e(this).val())}),i.find("input[name='searchBtn']").bind("click",function(){var t=e.trim(i.find("[name=keyword]").val()),n=i.find("input[name=hidSearchType]").val(),a=i.data("searchdetailurl"),o=i.data("websitehosturl"),r=i.find("[name='keyword']");return""==t||t==I18NSWYLAN.FillKeyWords?(r.val(I18NSWYLAN.FillKeyWords),r.select().focus(),!1):(location.href=0==window.location.href.indexOf(a)&&"Product"==n?window.location.href+"&k="+encodeURIComponent(t)+"&s="+n:o+"/"+a+".html?k="+encodeURIComponent(t)+"&s="+n,!1)}),i.find("input[name='keyword']").bind("keydown",function(e){e=e?e:window.event?window.event:"";var t=e.keyCode?e.keyCode:e.which?e.which:e.charCode;return 13==t?(i.find("input[name='searchBtn']").trigger("click"),!1):void 0}),i.find("form").bind("submit",function(){return!1})};e.fn.SearchLink=function(i){return this.each(function(){var n=e(this);if(n.data("searchLinkWidget"))return n.data("searchLinkWidget");var a=new t(this,i);n.data("searchLinkWidget",a)})}}(jQuery),function(e){var t=function(t){var i=e(t);i.find(".sortlists li"),i.find(".sortlists li").hover(function(){i.find(".details_pic").removeClass("disp_block").addClass("disp_none"),i.find(".details").removeClass("disp_block").addClass("disp_none"),i.find(".s_pd_title").removeClass("disp_none").addClass("disp_block"),e(this).find(".details_pic").removeClass("disp_none").addClass("disp_block"),e(this).find(".details").removeClass("disp_none").addClass("disp_block"),e(this).find(".s_pd_title").removeClass("disp_block").addClass("disp_none")},function(){})};e.fn.SortedProductList=function(i){return this.each(function(){var n=e(this);if(n.data("sortedProductList"))return n.data("sortedProductList");var a=new t(this,i);n.data("sortedProductList",a)})}}(jQuery),function(e){var t=function(t){var i={},n=e(t),a=[],o=[],r=0,s=n.data("plattype"),l=n.data("textnumber"),d=n.data("websitehosturl"),c=n.find(".book_wrap"),u=n.find(".book_wrap .book_left"),f=n.find(".book_wrap .book_right");n.find(".book_wrap .book_left").width();var h=n.find(".book_wrap .book_arrow").eq(0),p=n.find(".book_wrap .book_arrow").eq(1),v=n.find(".book_wrap .book_flip"),m=n.find(".ebook-popup"),g=n.find(".ebook-cancle");g.click(function(){m.fadeOut(1e3),m.css("height","auto")}),m.prependTo("body"),n.find(".book_pic img").live("click",function(){var t=e(this).attr("src");m.find("img").attr("src",t),m.fadeIn(1e3),m.height()0&&(y=!0,b=800,v.find(".book_overlayer img").hide(),v.find(".book_overlayer").addClass("book_ie_r")),n.find(".book_btn_fav").live("click",function(t){var i=e(this).attr("href"),n=e(this).attr("title");return document.all?(window.external.addFavorite(i,n),t.preventDefault()):window.sidebar?(window.sidebar.addPanel(n,i,""),t.preventDefault()):window.opera&&window.print?e(this).attr("rel","sidebar"):window.chrome?(alert("谷歌浏览器请使用Ctrl+D收藏本页"),t.preventDefault()):(alert("您的浏览器不支持自动收藏功能,请手动收藏本页。"),t.preventDefault()),!1}),a.push("
"),o.push("电子样本");var S=n.data("classifyid"),I=n.data("pagesize"),_={};_.c=S,_.pagesize=I,0==s&&e.ajax({url:"/EPhotoBook/PhotoBookPics",data:_,type:"post",async:!1,dataType:"json",success:function(e){if(e.Code>0)for(var t=0;e.list.length>t;t++)a.push('
'),o.push(e.list[t].ClassName+"_"+e.list[t].FileName)}}),a.push("
"),o.push("电子样本");var C=a.length;u.find(".book_pager").html(''+(w+1+1)/2+" / "+Math.ceil(C/2)+'
建议上传图片分辨率:宽 340px,高 538px.
'),a[w+1]?f.find(".book_content").html(a[w+1]).show():f.find(".book_content").html("").show(),o[w]?(u.find(".book_label").find(".book_photoname").html(o[w].length>l?o[w].substring(0,l)+"...":o[w]).attr("title",o[w]),u.find(".book_label").find("a").attr("title",o[w])):(u.find(".book_label").find(".book_photoname").html("电子样本"),u.find(".book_label").find("a").attr("title","电子样本")),o[w+1]?(f.find(".book_label").find(".book_photoname").html(o[w+1].length>l?o[w+1].substring(0,l)+"...":o[w+1]).attr("title",o[w+1]),f.find(".book_label").find("a").attr("title",o[w+1])):(f.find(".book_label").find(".book_photoname").html("电子样本"),f.find(".book_label").find("a").attr("title","电子样本")),h.click(function(){w-2>=0&&(i.ajax_refer=w/2+1,i.ajax_url=w/2,i.ajax_isLastPage=0,w-=2,y?v.find(".book_overlayer").removeClass("book_ie_r").addClass("book_ie_l"):v.find("img").attr("src","/Content/app_images/flip_l.png"),v.find(".book_container").css("background","url(/Content/app_images/book_r.jpg) left top no-repeat"),v.find(".book_label").html(f.find(".book_label").html()),v.find(".book_content").html(a[w+1]),v.find(".book_label").find(".book_photoname").html(o[w+1].length>l?o[w+1].substring(0,l)+"...":o[w+1]).attr("title",o[w+1].substring(0,l)),v.find(".book_label").find("a").attr("title",o[w+1]),v.find(".book_pager").html(""),u.find(".book_pager").html(""),y?(u.find(".book_content").hide(),window.setTimeout(function(){a[w]?u.find(".book_content").html(a[w]).show():u.find(".book_content").html("").show(),o[w]?(u.find(".book_label").find(".book_photoname").html(o[w].length>l?o[w].substring(0,l)+"...":o[w]).attr("title",o[w]),u.find(".book_label").find("a").attr("title",o[w])):(u.find(".book_label").find(".book_photoname").html("电子样本"),u.find(".book_label").find("a").attr("title","电子样本")),o[w+1]?(f.find(".book_label").find(".book_photoname").html(o[w+1].length>l?o[w+1].substring(0,l)+"...":o[w+1]).attr("title",o[w+1]),f.find(".book_label").find("a").attr("title",o[w+1])):(f.find(".book_label").find(".book_photoname").html("电子样本"),f.find(".book_label").find("a").attr("title","电子样本"))},b/4)):window.setTimeout(function(){a[w]?u.find(".book_content").hide().html(a[w]).css({opacity:1,display:"block"}).animate({opacity:1},b-b/4):u.find(".book_content").html(""),o[w]?(u.find(".book_label").find(".book_photoname").html(o[w].length>l?o[w].substring(0,l)+"...":o[w]).attr("title",o[w]),u.find(".book_label").find("a").attr("title",o[w])):(u.find(".book_label").find(".book_photoname").html("电子样本"),u.find(".book_label").find("a").attr("title","电子样本")),o[w+1]?(f.find(".book_label").find(".book_photoname").html(o[w+1].length>l?o[w+1].substring(0,l)+"...":o[w+1]).attr("title",o[w+1]),f.find(".book_label").find("a").attr("title",o[w+1])):(f.find(".book_label").find(".book_photoname").html("电子样本").attr("title","电子样本"),f.find(".book_label").find("a").attr("title","电子样本"))},b/4),v.find(".book_container").stop().css({"margin-left":-526}).animate({"margin-left":0},b,"linear"),v.find(".book_overlayer").stop().css({width:100,"margin-left":-26}).animate({width:652,"margin-left":-195},b,"linear"),v.stop().css({left:15,display:"block"}).animate({left:490},b,"linear",function(){f.find(".book_content").html(v.find(".book_content").html()),u.find(".book_pager").html(''+(w+1+1)/2+" / "+Math.ceil(C/2)+'
建议上传图片分辨率:宽 340px,高 538px.
'),$.slider("value",(w+1)*T),e(this).hide(0)}))}),p.click(function(){C-1>=w+2&&(i.ajax_refer=w/2+1,i.ajax_url=w/2+2,i.ajax_isLastPage=0,w+=2,y?v.find(".book_overlayer").removeClass("book_ie_l").addClass("book_ie_r"):v.find("img").attr("src","/Content/app_images/flip_r.png"),v.find(".book_container").css("background","url(/Content/app_images/book_l.jpg) left top no-repeat"),v.find(".book_label").html(""),v.find(".book_content").html(a[w]),v.find(".book_label").find(".book_photoname").html(o[w]).attr("title",o[w].substring(0,l)),v.find(".book_label").find("a").attr("title",o[w]),v.find(".book_pager").html(''+(w+1+1)/2+" / "+Math.ceil(C/2)+'
建议上传图片分辨率:宽 340px,高 538px.
'),v.find(".book_overlayer").css({width:"100%","margin-left":0}),y?(f.find(".book_content").hide(),window.setTimeout(function(){a[w+1]?f.find(".book_content").html(a[w+1]).show():f.find(".book_content").html("").show(),o[w+1]?(f.find(".book_label").find(".book_photoname").html(o[w+1].length>l?o[w+1].substring(0,l)+"...":o[w+1]).attr("title",o[w+1]),f.find(".book_label").find("a").attr("title",o[w+1])):f.find(".book_label").find(".book_photoname").html("电子样本"),o[w]?(u.find(".book_label").find(".book_photoname").html(o[w].length>l?o[w].substring(0,l)+"...":o[w]).attr("title",o[w]),u.find(".book_label").find("a").attr("title",o[w])):(u.find(".book_label").find(".book_photoname").html("电子样本"),u.find(".book_label").find("a").attr("title","电子样本"))},b/4)):window.setTimeout(function(){a[w+1]?(f.find(".book_content").hide().html(a[w+1]).css({opacity:.5,display:"block"}).animate({opacity:1},b-b/4).attr("title",o[w+1]),f.find(".book_label").find("a").attr("title",o[w+1])):f.find(".book_content").html(""),o[w+1]?(f.find(".book_label").find(".book_photoname").html(o[w+1].length>l?o[w+1].substring(0,l)+"...":o[w+1]).attr("title",o[w+1]),f.find(".book_label").find("a").attr("title",o[w+1])):f.find(".book_label").find(".book_photoname").html("电子样本"),o[w]?(u.find(".book_label").find(".book_photoname").html(o[w].length>l?o[w].substring(0,l)+"...":o[w]).attr("title",o[w]),u.find(".book_label").find("a").attr("title",o[w])):(u.find(".book_label").find(".book_photoname").html("电子样本"),u.find(".book_label").find("a").attr("title","电子样本"))},b/4),v.stop().css({left:850,width:100,display:"block"}).animate({left:15,width:652},b,"linear",function(){u.find(".book_content").html(v.find(".book_content").html()),u.find(".book_pager").html(''+(w+1+1)/2+" / "+Math.ceil(C/2)+'
建议上传图片分辨率:宽 340px,高 538px.
'),$.slider("value",(w+1)*T),e(this).hide(0)}))}),h.width(),c.hover(function(){h.find(".book_mask").stop().animate({opacity:.1},200,"linear").next().show(),p.find(".book_mask").stop().animate({opacity:.1},200,"linear").next().show()},function(){h.find(".book_mask").animate({opacity:0},500,"linear",function(){e(this).next().hide()}),p.find(".book_mask").animate({opacity:0},500,"linear",function(){e(this).next().hide()})});var T=parseInt(e(".book_glide").width()/(2*Math.ceil(C/2)-1)),$=n.find(".book_glide").slider({min:T,max:n.find(".book_glide").width(),step:2*T,slide:function(e,t){n.find(".book_glide a").attr("title",(t.value/T+1)/2+"/"+Math.ceil(C/2)),t.value/T>w?(w=t.value/T-2-1,p.click()):w>t.value/T&&(w=t.value/T+2-1,h.click())}});n.find(".book_glide a").attr("title","1/"+Math.ceil(C/2)).attr("hidefocus","true").css("outline","0").focus(function(){e(this).blur()}),function(){function t(){0>parseInt(o.css("left"))?r.unbind("click").one("click",i).addClass(l):r.removeClass(l),parseInt(o.css("left"))>-(parseInt(o.css("width"))-5*a)?s.unbind("click").one("click",n).addClass(l):s.removeClass(l)}function i(e){e.preventDefault(),14>parseInt(o.css("left"))&&o.animate({left:"+="+5*a},800,function(){t()})}function n(e){e.preventDefault(),parseInt(o.css("left"))>-(parseInt(o.css("width"))-5*a)+14&&o.animate({left:"-="+5*a},800,function(){t()})}var a=166,o=e(".book_review ul"),r=e(".book_review .book_ab_l"),s=e(".book_review .book_ab_r"),l="on";o.css("width",a*o.children().length),t()}()};e.fn.PhotoBook=function(i){return this.each(function(){var n=e(this);if(n.data("PhotoBook"))return n.data("PhotoBook");var a=new t(this,i);n.data("PhotoBook",a)})}}(jQuery),function(e){var t=function(t){var i=e(t),n=i.find("input[name=txtMobileNumber]");n.click(function(){return e(this).val("").select(),!1}),n.blur(function(){var t=e.trim(n.val());if(""==t)return n.val("请填写正确格式手机号码"),!1;if("请填写正确格式手机号码"==t)return!1;var i=/^\d{7,11}$/;return i.test(t)?void 0:(n.val("请填写正确格式手机号码"),!1)}),i.find("input[name=btnSend]").click(function(){var t=e.trim(n.val());if(""==t)return n.val("请填写正确格式手机号码").focus().select(),!1;if("请填写正确格式手机号码"==t)return n.focus().select(),!1;var a=/^\d{7,11}$/;if(!a.test(t))return n.val("请填写正确格式手机号码").focus().select(),!1;var o=i.find(".prod_message").find(".msg_tip"),r={};r.mobile=t,r.location=location.href,e.ajax({url:"/Product/SendShortMessage",data:r,type:"post",async:!1,dataType:"json",success:function(e){e.Code>0?o.size()>0&&o.html("发送成功!"):o.size()>0&&o.html("发送失败!")}})})};e.fn.ProductSlider=function(i){return this.each(function(){var n=e(this);if(n.data("ProductSlider"))return n.data("ProductSlider");var a=new t(this,i);n.data("ProductSlider",a)})}}(jQuery),function(e){var t=function(t,i){var n,a=e.extend({},e.fn.ScrollText.defaults,i),o=a.delay,r=a.speed,s=a.direction,l=!1,d=e(t).find(".lists");if(1!=d.find("li").size()){var c=d.find("li").height(),u=function(){d.animate({marginTop:-c},r,function(){return d.find("li:eq(0)").appendTo(d),d.css("marginTop",0),l?(clearTimeout(n),void 0):(n=setTimeout(h,o),void 0)})},f=function(){d.find("li:last").prependTo(d),d.css("marginTop",-c),d.animate({marginTop:0},r,function(){return l?(clearTimeout(n),void 0):(n=setTimeout(h,o),void 0)})},h=function(){return"up"==s?u:"down"==s?f:void 0}();h(),d.hover(function(){l=!0},function(){l=!1,h()})}};e.fn.ScrollText=function(i){return this.each(function(){var n=e(this);if(n.data("ScrollText"))return n.data("ScrollText");var a=new t(this,i);n.data("ScrollText",a)})},e.fn.ScrollText.defaults={speed:1e3,delay:5e3,direction:"up"}}(jQuery),function(e){var t=function(t,i){function n(){function e(){parseInt($.css("margin-top"))<=-$.height()/2&&($.css("margin-top",0),I=0),I++,$.animate({"margin-top":-T*I},a.scrollTime)}function t(){parseInt($.css("margin-top"))>=0&&$.css("margin-top",-$.height()/2),$.animate({"margin-top":parseInt($.css("margin-top"))+T},a.scrollTime)}function i(){parseInt($.css("margin-left"))<=-$.width()/2&&($.css("margin-left",0),I=0),I++,$.animate({"margin-left":-M*I},a.scrollTime)}function n(){parseInt($.css("margin-left"))>=0&&$.css("margin-left",-$.width()/2),$.animate({"margin-left":parseInt($.css("margin-left"))+M},a.scrollTime)}"up"==_&&(S=setInterval(function(){e()},a.spaceTime),$.on("mouseover",function(){clearInterval(S)}),$.on("mouseout",function(){S=setInterval(function(){e()},a.spaceTime)})),"down"==_&&(S=setInterval(function(){t()},a.spaceTime),$.on("mouseover",function(){clearInterval(S)}),$.on("mouseout",function(){S=setInterval(function(){t()},a.spaceTime)})),"left"==_&&($.css("width",C*$.find(".Marquee_li").length),S=setInterval(function(){i()},a.spaceTime),$.on("mouseover",function(){clearInterval(S)}),$.on("mouseout",function(){S=setInterval(function(){i()},a.spaceTime)})),"right"==_&&($.css("width",C*$.find(".Marquee_li").length),S=setInterval(function(){n()},a.spaceTime),$.on("mouseover",function(){clearInterval(S)}),$.on("mouseout",function(){S=setInterval(function(){n()},a.spaceTime)}))}var a=e.extend({},e.fn.ImagesMarquee.defaults,i),o=e(t);if(0==a.ifscroll)return $LAB.script("/Scripts/plugin/jquery.jqzoom.js?version="+window.VERSION).wait(function(){e(function(){e(t).find(".jqzoom").each(function(){var t=e(this).data("binded");t||(e(this).data("binded","binded"),e(this).jqueryzoom({xzoom:200,yzoom:200,offset:10,position:"right",preload:1}))})})}),void 0;if(1==a.ifshowzoom&&$LAB.script("/Scripts/plugin/jquery.jqzoom.js?version="+window.VERSION).wait(function(){e(function(){e(t).find(".jqzoom").each(function(){var t=e(this).data("binded");t||(e(this).data("binded","binded"),e(this).jqueryzoom({xzoom:200,yzoom:200,offset:10,position:"right",preload:1}))})})}),0==a.effectType){var r,s=a.movegap,l=a.speed,d=a.direction,c=0,u=0,f=e(t).find("ul"),h=f.find("li:eq(0)"),p=f.find("li").size(),v=parseInt(f.css("paddingLeft")),m=parseInt(f.css("paddingTop"));("left"==d||"right"==d)&&f.find("li").css({display:"inline","float":"left"}),e(t).find(".prev_btn").click(function(){x=g}),e(t).find(".next_btn").click(function(){x=b});var g=function(){var e=parseInt(h.width())+parseInt(h.css("paddingLeft"))+parseInt(h.css("paddingRight"))+parseInt(h.css("marginLeft"))+parseInt(h.css("marginRight"));return f.css({width:e*(p+1)}),c-=s,-e-v>=c?(f.find("li:eq(0)").appendTo(f),c+=e,f.css("marginLeft",c),void 0):(f.css("marginLeft",c),void 0)},b=function(){var e=parseInt(h.width())+parseInt(h.css("paddingLeft"))+parseInt(h.css("paddingRight"))+parseInt(h.css("marginLeft"))+parseInt(h.css("marginRight"));return f.css({width:e*(p+1)}),c>=0?(c=-e+c,f.css("marginLeft",c),f.find("li:last").prependTo(f),void 0):(c+=s,f.css("marginLeft",c),void 0)},w=function(){var e=parseInt(h.height())+parseInt(h.css("paddingTop"))+parseInt(h.css("paddingBottom"))+parseInt(h.css("marginTop"))+parseInt(h.css("marginBottom"));return f.css({height:e*(p+1)}),u-=s,-e-m>=u?(f.find("li:eq(0)").appendTo(f),u+=e,f.css("marginTop",u),void 0):(f.css("marginTop",u),void 0)},y=function(){var e=parseInt(h.height())+parseInt(h.css("paddingTop"))+parseInt(h.css("paddingBottom"))+parseInt(h.css("marginTop"))+parseInt(h.css("marginBottom"));return f.css({height:e*(p+1)}),u>=0?(f.find("li:last").prependTo(f),u-=e,f.css("marginTop",u),void 0):(u+=s,f.css("marginTop",u),void 0)},x=function(){return"left"==d?g:"right"==d?b:"up"==d?w:"down"==d?y:void 0}(),k=function(){x(),r=setTimeout(k,l)};k(),f.hover(function(){clearTimeout(r)},function(){k()})}else if(1==a.effectType){var S=null,I=0,_="",C=o.find(".Marquee_li").eq(0).outerWidth(!0),T=o.find(".Marquee_li").eq(0).outerHeight(!0);o.find(".Marquee_li").css({display:"inline","float":"left"});var $=o.find(".Marquee_lists"),M=o.find(".Marquee_box").width(),N=$.html();$.html(N+N),"up"==a.direction&&(_="up"),"down"==a.direction&&(_="down"),"left"==a.direction&&(_="left"),"right"==a.direction&&(_="right"),n(),o.find(".prev_btn").click(function(){clearInterval(S),_="left",$.off("mouseover"),$.off("mouseout"),n()}),o.find(".next_btn").click(function(){clearInterval(S),_="right",$.off("mouseover"),$.off("mouseout"),n()})}};e.fn.ImagesMarquee=function(i){return this.each(function(){var n=e(this);if(n.data("ImagesMarquee"))return n.data("ImagesMarquee");var a=new t(this,i);n.data("ImagesMarquee",a)})},e.fn.ImagesMarquee.defaults={effectType:0,movegap:5,speed:16,direction:"right",ifscroll:1,spaceTime:3e3,scrollTime:500}}(jQuery),function(e){var t=function(t,i){var n=e.extend({},e.fn.TabSwitch.defaults,i);n.effect;var a=n.trigger,o=e(t),r=o.find(".news_tab_Much a");r.attr("href",o.find(".tabs-switch_active a").attr("href"));var s=o.find(".tabs-switch_lists");s.find("a").each(function(t){e(this).bind(a,function(i){i.preventDefault(),s.find(".tabs-switch_btn").removeClass("tabs-switch_active"),e(this).parent().addClass("tabs-switch_active"),r.attr("href",e(this).attr("href")),o.find(".tabs-switch_cell").hide(),o.find(".tabs-switch_cell:eq("+t+")").show()})})};e.fn.TabSwitch=function(i){return this.each(function(){var n=e(this);if(n.data("TabSwitch"))return n.data("TabSwitch");var a=new t(this,i);n.data("TabSwitch",a)})},e.fn.TabSwitch.defaults={trigger:"click"}}(jQuery),function(e){var t=function(t,i){i=e.extend({},e.fn.ProductPicLazyLoad.defaults,i);var n=e(t);n.find("img").lazyload({event:"sporty",effect:"fadeIn"}),e(window).bind("scroll",function(){setTimeout(function(){n.find("img").trigger("sporty")},1e3)}),i.initial&&(1==i.defalutType?$LAB.script("/Scripts/plugin/jquery.jqzoom.js?version="+window.VERSION).wait(function(){e(function(){e(".jqzoom").each(function(){var t=e(this).data("binded");t||(e(this).data("binded","binded"),e(this).jqueryzoom({xzoom:200,yzoom:200,offset:10,position:"right",preload:1}))})})}):2==i.defalutType&&$LAB.script("/Scripts/plugin/ProductInitzoom.js?version="+window.VERSION).wait(function(){n.productListPicZoom(i)}))};e.fn.ProductPicLazyLoad=function(i){return this.each(function(){var n=e(this);if(n.data("ProductPicLazyLoad"))return n.data("ProductPicLazyLoad");var a=new t(this,i);n.data("ProductPicLazyLoad",a)})},e.fn.ProductPicLazyLoad.defaults={initial:!1}}(jQuery),function(e){function t(t){var i={code:0,loginmsg:"",webcallkey:""},n={};return n.webcalldataid=t,e.ajax({url:"/WebCall/WebCallLogin",type:"post",data:n,async:!1,dataType:"json",success:function(e){null!=e&&(i.code=e.code,i.loginmsg=e.loginmsg,i.webcallkey=e.webcallkey)}}),i}function i(t,i){var n="",a={};return a.webCallKey=t,a.clientPhone=i,e.ajax({url:"/WebCall/MobileArea",type:"post",data:a,async:!1,dataType:"json",success:function(e){null!=e&&e.code>0&&(n=e.mobileareamsg)}}),n}function n(t,i,n){var a={code:0,resultmsg:""},o={};return o.webcalldataid=t,o.webCallKey=n,o.clientPhone=i,e.ajax({url:"/WebCall/WebCallBack",type:"post",data:o,async:!1,dataType:"json",success:function(e){null!=e&&(a.code=e.code,a.resultmsg=e.resultmsg)}}),a}function a(t){var i=t.find("input[name=txtValidateCode]").val();if("请输入验证码"==e.trim(i)||""==e.trim(i))return t.find("input[name=txtValidateCode]").focus(),!1;var n;return e.ajax({url:"/WebCall/CheckValidateCode",type:"post",async:!1,dataType:"json",success:function(e){n=null!=e?e.webcallvcode:""}}),n!=e.trim(i)?(t.find("p.error").html("验证码不正确"),t.find("img.validate-img").attr("src",t.data("websitehosturl")+"/WebCall/GetValidateCode?time="+(new Date).getTime()),t.find("input[name=txtValidateCode]").focus(),!1):(t.find("img.validate-img").attr("src",t.data("websitehosturl")+"/WebCall/GetValidateCode?time="+(new Date).getTime()),!0)}function o(t){if(""!=t){var i={};i.webcallphone=t,e.ajax({url:"/WebCall/WebCallPotenCustomerAdd",data:i,type:"post",dataType:"json",success:function(e){}})}}var r=function(r){var s=e(r),l=s.find("div.webcall-outer");"1"==s.data("showcallwin")&&l.fadeOut(),s.find("a.trigger-btn").click(function(){l.fadeIn()}),s.find(".close a").click(function(){return l.fadeOut(),!1}),s.find("input[name=txtValidateCode]").focus(function(){"请输入验证码"==e.trim(e(this).val())&&e(this).val("")}).blur(function(){""==e.trim(e(this).val())&&e(this).val("请输入验证码")}).bind("keydown",function(e){e=e?e:window.event?window.event:"";var t=e.keyCode?e.keyCode:e.which?e.which:e.charCode;return 13==t?(s.find("a.ac_submit").trigger("click"),!1):void 0}),s.find("input[name=DialogText]").focus(function(){"请输入您用于接听的电话号码"==e.trim(e(this).val())&&e(this).val("")}).blur(function(){if(""==e.trim(e(this).val()))e(this).val("请输入您用于接听的电话号码");else if("请输入您用于接听的电话号码"!=e.trim(e(this).val())){var t=/^\d{7,11}$/;t.test(e.trim(e(this).val()))||s.find("p.error").html("电话号码格式不正确")}}).bind("keydown",function(e){e=e?e:window.event?window.event:"";var t=e.keyCode?e.keyCode:e.which?e.which:e.charCode;return 13==t?(s.find("a.ac_submit").trigger("click"),!1):void 0}),s.find("a.ac_submit").click(function(){s.find("p.error").html("");var r=s.data("webcalldataid");if(""==r)return s.find("p.error").html("未启用公司400号码!"),!1;s.find("p.error").html(" ");var l=s.find("input[name=DialogText]").val();if("请输入您用于接听的电话号码"==e.trim(l)||""==e.trim(l))return s.find("input[name=DialogText]").focus(),!1;var d=/^\d{7,11}$/;if(!d.test(e.trim(l)))return s.find("p.error").html("电话号码格式不正确"),s.find("input[name=DialogText]").focus(),!1;var c=a(s);if(!c)return!1;var u=i("",l);u=""!=u?" 欢迎来自"+u+"的客户 ":" ",s.find("p.error").html(u+' 正在连接 ');var f=t(r);if(f.code>0){s.find("p.error").html(u+" 连接成功!");var h=n(r,l,f.webcallkey);h.code>0?(s.find("p.error").html(u+" 已经接通,请注意接听。"),o(e.trim(l))):s.find("p.error").html(" "+h.resultmsg)}else s.find("p.error").html(" "+f.loginmsg);return setTimeout(function(){s.find("p.error").html(" ")},3e4),!1})};e.fn.WebMobileCall=function(t){return this.each(function(){var i=e(this);if(i.data("WebMobileCall"))return i.data("WebMobileCall");var n=new r(this,t);i.data("WebMobileCall",n)})}}(jQuery);var aniInitObj={};(function(e){e.aniWigetInit=function(){$("[data-wiget-type]").each(function(){var e=jQuery.parseJSON($(this).attr("data-wiget-para")),t=$(this).attr("data-wiget-type");switch(t){case"ProductCatepicShelter":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/product_catepic_shelter.js?version="+window.VERSION).wait(function(){i.ProductCatepicShelter(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"JadeProductDetail":case"JadeProductSearch":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/JadeProductSearch.js?version="+window.VERSION),$(this).data("haveIntialed","haveIntialed")}break;case"UniteProductSearch":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/UniteProductSearch.js?version="+window.VERSION),$(this).ProductPicLazyLoad(e),$(this).data("haveIntialed","haveIntialed")}break;case"UniteProductSearchExpend":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/UniteProductSearchExpend.js?version="+window.VERSION),$(this).ProductPicLazyLoad(e),$(this).data("haveIntialed","haveIntialed")}break;case"ProductSearch":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/ProductSearch.js?version="+window.VERSION).wait(function(){i.ProductSearch(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"ClassifiedProductSearch":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/ClassifiedProductSearch.js?version="+window.VERSION).wait(function(){i.ClassifiedProductSearch(e)}),$(this).ProductPicLazyLoad(e),$(this).data("haveIntialed","haveIntialed")}break;case"productDvthumb":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script(["/Scripts/plugin/jcarousellite_1.0.1.js?version="+window.VERSION,"/Scripts/plugin/jquery.jqzoom-core.js?version="+window.VERSION]).wait().script("/Scripts/plugin/productdvthumb.js?version="+window.VERSION).wait(function(){i.productDvthumb(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"RecProductSwitch":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script(["/Scripts/plugin/RecProductSwitch.js?version="+window.VERSION]).wait(function(){i.recProductSwitch(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"ProDetailExpend":if(!$(this).data("haveIntialed")){var i=$(this),n=$(this).find(".slider_thumb");n.nivoSlider(e),$LAB.script(["/Scripts/plugin/ProDetailExpend.js?version="+window.VERSION]).wait(function(){i.ProDetailExpend(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"AdverSlider":$(this).data("haveIntialed")||($(this).find(".slider_wrap").slides(e),$(this).data("haveIntialed","haveIntialed"));break;case"AdverSliderExpend":var i=$(this);$LAB.script("/Scripts/plugin/AdverSliderExpend.js?version="+window.VERSION).wait(function(){i.bannerImgFade(e)});break;case"AdverSliderJDTu":var i=$(this);$LAB.script("/Scripts/plugin/AdverSliderJDTu.js?version="+window.VERSION).wait(function(){i.FocusPic(e)});break;case"AdverSliderOrbit":var i=$(this);$LAB.script("/Scripts/plugin/jquery.orbit-1.2.3.min.js?version="+window.VERSION).wait(function(){i.find(".orbit_featured").orbit()});break;case"AdverSliderLunbo":var i=$(this);$LAB.script("/Scripts/plugin/jquery.slides.js?version="+window.VERSION).wait(function(){var t=0-e.width/2;i.find(".bigImgBanner_bd").css({height:e.height}),i.find(".slides_wrapperbox").css({width:e.width,marginLeft:t,left:"50%"}),i.find(".slides_wrapperbox").slidesjs({width:e.width,height:e.height,play:{auto:!0,interval:e.interval,swap:!0,effect:e.effect,pauseOnHover:!0},navigation:{active:!0,effect:e.effect},pagination:{active:!0,effect:e.effect},effect:{slide:{speed:e.speed,crossfade:!0},fade:{speed:e.speed,crossfade:!0}}})});break;case"AdverSlider3D":var i=$(this);$LAB.script("/Scripts/plugin/jQuery-jcImgScroll.js?version="+window.VERSION).wait(function(){i.find(".AS3D_bd").jcImgScroll({width:e.width,height:e.height,offsetX:e.offsetX,autoScroll:e.autoScroll,timeScroll:e.timeScroll,arrow:{width:e.awidth,height:e.height,x:e.ax},title:e.stitle,setTitle:{height:e.sheight,border:e.sborder,bgColor:e.sbgcolor,color:e.scolor,padding:20,opacity:.8}})
});break;case"AdverSliderAlbumEffect":var i=$(this);$LAB.script("/Scripts/plugin/ecAlbumEffect.js?version="+window.VERSION).wait(function(){i.find(".ecAlbumEffect").ecAlbumEffect({fadeTime:e.fadeTime,spaceTime:e.spaceTime,isScroll:e.isScroll})});break;case"AdverEffectExpend":var i=$(this);$LAB.script("/Scripts/plugin/ecAlbumEffectExpend.js?version="+window.VERSION).wait(function(){i.find(".eecAlbumEffect").ecAlbumEffect({fadeTime:e.fadeTime})});break;case"SidesOpacityBanner":var i=$(this);$LAB.script("/Scripts/plugin/sidesOpacityBanner.js?version="+window.VERSION).wait(function(){i.sidesOpacityBanner({duration:e.duration,millisec:e.millisec})});break;case"newsRollList":var i=$(this);$LAB.script("/Scripts/plugin/newsrolllist.js?version="+window.VERSION).wait(function(){i.NewsRollList(e)});break;case"CommPagePic":$(this).data("haveIntialed")||$(this).find(".js-cpc-boxer").hover(function(){$(this).addClass("cpc_boxhover")},function(){$(this).removeClass("cpc_boxhover")});break;case"newsSlidertop":$(this).data("haveIntialed")||($(this).find(".slider_wrap").slides(e),$(this).data("haveIntialed","haveIntialed"));break;case"horizNewsSlider":$(this).data("haveIntialed")||($(this).find(".slider_wrap").slides(e),$(this).data("haveIntialed","haveIntialed"));break;case"MsgListMarquee":var i=$(this);$LAB.script("/Scripts/plugin/newsrolllist.js?version="+window.VERSION).wait(function(){i.NewsRollList(e)});break;case"PhotoThumbSlider":var n=$(this).find(".slider_thumb");n.nivoSlider(e);break;case"ProductSlider":var n=$(this).find(".slider_thumb");n.nivoSlider(e),$(this).ProductSlider(e);break;case"PhotoListAndDetail":var n=$(this).find(".galleryImgThumbnails");$LAB.script("/Scripts/plugin/jquery.fancybox-1.3.4.pack.js?version="+window.VERSION).wait().script("/Scripts/plugin/galleryImgThumbnails.js?version="+window.VERSION).wait(function(){n.galleryImgThumbnails({duration:500})});break;case"MainNavi":$(this).find(".navi_lists").mainNavi(e);break;case"MainNaviMore":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/MainNaviMore.js?version="+window.VERSION).wait(function(){i.mainNaviMore(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"MainNaviMoreChild":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/MainNaviMoreChild.js?version="+window.VERSION).wait(function(){i.navSlideDown(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"LeftNavi":$(this).find(".navi_lists").leftNavi(e);break;case"LeftNaviExpand":$(this).find(".navi_lists").leftNaviExpand(e);break;case"couplet":$(this).couplet(e);break;case"IMStyle":$(this).IMStyle(e);break;case"VideoDetail":$(this).VideoDetail(e);break;case"Employee_Submit":$(this).Employee_Submit(e);break;case"SurveyDetail":$(this).SurveyDetail(e);break;case"MapBaidu":$(this).BaiduMap(e);break;case"MemberRegister":$(this).MemberRegister(e);break;case"MemberEdit":$(this).MemberEdit(e);break;case"MemberLogin":$(this).MemberLogin(e);break;case"BasicSharing":$(this).data("haveIntialed")||(SharingEvent.ConfigSharing(),$(this).data("haveIntialed","haveIntialed"));break;case"LanguageSelect":$(this).LanguageSelect();break;case"Search":$(this).Search();break;case"SearchLink":$(this).SearchLink();break;case"TitleKeysSearch":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/SearchTitle.js?version="+window.VERSION).wait(function(){i.Search(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"scrollText":$(this).ScrollText(e);break;case"imagesMarquee":$(this).ImagesMarquee(e);break;case"ScrollFLink":$(this).ImagesMarquee(e);break;case"ScrollPhotoList":$(this).ImagesMarquee(e);break;case"PhotoListShaded":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/ImageShaned.js?version="+window.VERSION).wait(function(){i.imgMasking(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"AlbumListShaded":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/ImageShaned.js?version="+window.VERSION).wait(function(){i.imgMasking(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"TabSwitch":$(this).TabSwitch(e);break;case"SortedProductList":$(this).SortedProductList(e);break;case"PhotoBook":$(this).PhotoBook(e);break;case"ProductPicLazyLoad":$(this).ProductPicLazyLoad(e);break;case"ProductInquire_Submit":$(this).ProductInquire_Submit(e);case"WebMobileCall":$(this).WebMobileCall(e);case"PhotosSlider":$(this).data("haveIntialed")||($(this).find(".slider_wrap").slides(e),$(this).data("haveIntialed","haveIntialed"));break;case"PicProductSlider":$(this).data("haveIntialed")||($(this).find(".slider_wrap").slides(e),$(this).data("haveIntialed","haveIntialed"));break;case"TalkAppExpand":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/TalkAppExpand.js?version="+window.VERSION).wait(function(){i.qqtalkfix(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"NewsComposite":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/NewsLeftSlider.js?version="+window.VERSION).wait(function(){$(i).newsImgScroll(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"ProductDetailMask":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/jquery.lightbox.js?version="+window.VERSION).wait(function(){$(i).find(".fancybox").lightBox(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"FriendLinkTab":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/friendLinkTab.js?version="+window.VERSION).wait(function(){i.friendLinkTab(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"NewsPic":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/NewsPic.js?version="+window.VERSION).wait(function(){i.newsImgScrollWithTitle(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"MainNaviChanLang":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/MainNaviChanLang.js?version="+window.VERSION).wait(function(){i.mainNaviChanLang(e)}),$(this).data("haveIntialed","haveIntialed")}break;case"CommPageInfo":if(!$(this).data("haveIntialed")){var i=$(this);$LAB.script("/Scripts/plugin/commPageInfoImg.js?version="+window.VERSION).wait(function(){i.commPageInfoImg(e)}),$(this).data("haveIntialed","haveIntialed")}break;default:return}})}})(aniInitObj),"undefined"==typeof PUBLICENVIRONMENT||1==PUBLICENVIRONMENT?aniInitObj.aniWigetInit():$(function(){aniInitObj.aniWigetInit()});
}
/*
FILE ARCHIVED ON 00:52:04 Oct 07, 2017 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 09:04:12 Oct 08, 2025.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
/*
playback timings (ms):
captures_list: 1.179
exclusion.robots: 0.06
exclusion.robots.policy: 0.044
esindex: 0.025
cdx.remote: 161.754
LoadShardBlock: 463.02 (3)
PetaboxLoader3.datanode: 1057.579 (4)
load_resource: 718.437
PetaboxLoader3.resolve: 119.636
*/