<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">// JavaScript Document
$(function(){$(".win-homepage").click(function(){if(document.all){document.body.style.behavior="url(#default#homepage)";document.body.setHomePage(document.URL)}else{alert("设置首页失败，请手动设置！")}});$(".win-favorite").click(function(){var sURL=document.URL;var sTitle=document.title;try{window.external.addFavorite(sURL,sTitle)}catch(e){try{window.sidebar.addPanel(sTitle,sURL,"")}catch(e){alert("加入收藏失败，请使用Ctrl+D进行添加")}}});$(".win-forward").click(function(){window.history.forward(1)});$(".win-back").click(function(){window.history.back(-1)});$(".win-backtop").click(function(){$("body,html").animate({scrollTop:0},1000);return false});$(".win-refresh").click(function(){window.location.reload()});$(".win-print").click(function(){window.print()});$(".win-close").click(function(){window.close()});$(".checkall").click(function(){var e=$(this);var name=e.attr("name");var checkfor=e.attr("checkfor");var type;if(checkfor!=""&amp;&amp;checkfor!=null&amp;&amp;checkfor!=undefined){type=e.closest("form").find("input[name='"+checkfor+"']")}else{type=e.closest("form").find("input[type='checkbox']")}if(name=="checkall"){$(type).each(function(index,element){element.checked=true});e.attr("name","ok")}else{$(type).each(function(index,element){element.checked=false});e.attr("name","checkall")}});$(".dropdown-toggle").click(function(){$(this).closest(".button-group, .drop").addClass("open")});$(".dropdown-hover").hover(function(){$(".button-group, .drop").removeClass("open");$(this).closest(".button-group, .drop").addClass("open")},function(){});$(document).bind("click",function(e){if($(e.target).closest(".button-group.open, .drop.open").length==0){$(".button-group, .drop").removeClass("open")}});$checkplaceholder=function(){var input=document.createElement("input");return"placeholder" in input};$placeholder=function placeholder(element){if($(element).val()==""&amp;&amp;($(element).attr("placeholder")||$emptyplaceholder(element))){$(element).val($(element).attr("placeholder"));$(element).data("pintuerholder",$(element).css("color"));$(element).css("color","rgb(169,169,169)");$(element).focus(function(){$hideplaceholder($(this))});$(element).blur(function(){$showplaceholder($(this))})}};if(!$checkplaceholder()){$("textarea[placeholder], input[placeholder]").each(function(index,element){$placeholder(element)})}$emptyplaceholder=function(element){var $content=$(element).val();return($content.length===0)||$content==$(element).attr("placeholder")};$showplaceholder=function(element){if(($(element).val().length===0||$(element).val()==$(element).attr("placeholder"))&amp;&amp;$(element).attr("type")!="password"){$(element).val($(element).attr("placeholder"));$(element).data("pintuerholder",$(element).css("color"));$(element).css("color","rgb(169,169,169)")}};$hideplaceholder=function(element){if($(element).data("pintuerholder")){$(element).val("");$(element).css("color",$(element).data("pintuerholder"));$(element).removeData("pintuerholder")}};$("textarea, input, select").blur(function(){var e=$(this);if(e.attr("data-validate")){e.closest(".field").find(".input-help").remove();var $checkdata=e.attr("data-validate").split(",");var $checkvalue=e.val();var $checkstate=true;var $checktext="";if(e.attr("placeholder")==$checkvalue){$checkvalue=""}if($checkvalue!=""||e.attr("data-validate").indexOf("required")&gt;=0){for(var i=0;i&lt;$checkdata.length;i++){var $checktype=$checkdata[i].split(":");if(!$pintuercheck(e,$checktype[0],$checkvalue)){$checkstate=false;$checktext=$checktext+"&lt;li&gt;"+$checktype[1]+"&lt;/li&gt;"}}}if($checkstate){e.closest(".form-group").removeClass("check-error");e.parent().find(".input-help").remove();e.closest(".form-group").addClass("check-success")}else{e.closest(".form-group").removeClass("check-success");e.closest(".form-group").addClass("check-error");e.closest(".field").append('&lt;div class="input-help"&gt;&lt;ul&gt;'+$checktext+"&lt;/ul&gt;&lt;/div&gt;")}}if(!$checkplaceholder()){$placeholder(e)}});$pintuercheck=function(element,type,value){$pintu=value.replace(/(^\s*)|(\s*$)/g,"");switch(type){case"required":return/[^(^\s*)|(\s*$)]/.test($pintu);break;case"chinese":return/^[\u0391-\uFFE5]+$/.test($pintu);break;case"number":return/^([+-]?)\d*\.?\d+$/.test($pintu);break;case"integer":return/^-?[1-9]\d*$/.test($pintu);break;case"plusinteger":return/^[1-9]\d*$/.test($pintu);break;case"unplusinteger":return/^-[1-9]\d*$/.test($pintu);break;case"znumber":return/^[1-9]\d*|0$/.test($pintu);break;case"fnumber":return/^-[1-9]\d*|0$/.test($pintu);break;case"double":return/^[-\+]?\d+(\.\d+)?$/.test($pintu);break;case"plusdouble":return/^[+]?\d+(\.\d+)?$/.test($pintu);break;case"unplusdouble":return/^-[1-9]\d*\.\d*|-0\.\d*[1-9]\d*$/.test($pintu);break;case"english":return/^[A-Za-z]+$/.test($pintu);break;case"username":return/^[a-z]\w{3,}$/i.test($pintu);break;case"mobiles":return/^\s*(15\d{9}|13\d{9}|14\d{9}|17\d{9}|18\d{9})\s*$/.test($pintu);break;case"phones":return/^((\(\d{2,3}\))|(\d{3}\-))?(\(0\d{2,3}\)|0\d{2,3}-)?[1-9]\d{6,7}(\-\d{1,4})?$/.test($pintu);break;case"tel":return/^((\(\d{3}\))|(\d{3}\-))?13[0-9]\d{8}?$|15[89]\d{8}?$|170\d{8}?$|147\d{8}?$/.test($pintu)||/^((\(\d{2,3}\))|(\d{3}\-))?(\(0\d{2,3}\)|0\d{2,3}-)?[1-9]\d{6,7}(\-\d{1,4})?$/.test($pintu);
break;case"email":return/^[^@]+@[^@]+\.[^@]+$/.test($pintu);break;case"url":return/^https:|http:\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&amp;_~`@[\]\':+!]*([^&lt;&gt;\"\"])*$/.test($pintu);break;case"ip":return/^[\d\.]{7,15}$/.test($pintu);break;case"qq":return/^[1-9]\d{4,10}$/.test($pintu);break;case"currency":return/^\d+(\.\d+)?$/.test($pintu);break;case"zipcode":return/^[1-9]\d{5}$/.test($pintu);break;case"chinesename":return/^[\u0391-\uFFE5]{2,15}$/.test($pintu);break;case"englishname":return/^[A-Za-z]{1,161}$/.test($pintu);break;case"age":return/^[1-99]?\d*$/.test($pintu);break;case"date":return/^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$/.test($pintu);break;case"datetime":return/^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-)) (20|21|22|23|[0-1]?\d):[0-5]?\d:[0-5]?\d$/.test($pintu);break;case"idcard":return/^(\d{6})(\d{4})(\d{2})(\d{2})(\d{3})([0-9]|X)$/.test($pintu);break;case"bigenglish":return/^[A-Z]+$/.test($pintu);break;case"smallenglish":return/^[a-z]+$/.test($pintu);break;case"color":return/^#[0-9a-fA-F]{6}$/.test($pintu);break;case"ascii":return/^[\x00-\xFF]+$/.test($pintu);break;case"md5":return/^([a-fA-F0-9]{32})$/.test($pintu);break;case"zip":return/(.*)\.(rar|zip|7zip|tgz)$/.test($pintu);break;case"img":return/(.*)\.(jpg|gif|ico|jpeg|png)$/.test($pintu);break;case"doc":return/(.*)\.(doc|xls|docx|xlsx|pdf)$/.test($pintu);break;case"mp3":return/(.*)\.(mp3)$/.test($pintu);break;case"video":return/(.*)\.(rm|rmvb|wmv|avi|mp4|3gp|mkv)$/.test($pintu);break;case"flash":return/(.*)\.(swf|fla|flv)$/.test($pintu);break;case"radio":var radio=element.closest("form").find('input[name="'+element.attr("name")+'"]:checked').length;return eval(radio==1);break;default:var $test=type.split("#");if($test.length&gt;1){switch($test[0]){case"compare":return eval(Number($pintu)+$test[1]);break;case"regexp":return new RegExp($test[1],"gi").test($pintu);break;case"length":var $length;if(element.attr("type")=="checkbox"){$length=element.closest("form").find('input[name="'+element.attr("name")+'"]:checked').length}else{$length=$pintu.replace(/[\u4e00-\u9fa5]/g,"***").length}return eval($length+$test[1]);break;case"ajax":var $getdata;var $url=$test[1]+$pintu;$.ajaxSetup({async:false});$.getJSON($url,function(data){$getdata=data.getdata});if($getdata=="true"){return true}break;case"repeat":return $pintu==jQuery('input[name="'+$test[1]+'"]').eq(0).val();break;default:return true;break}break}else{return true}}};$("form").submit(function(){$(this).find("input[data-validate],textarea[data-validate],select[data-validate]").trigger("blur");$(this).find("input[placeholder],textarea[placeholder]").each(function(){$hideplaceholder($(this))});var numError=$(this).find(".check-error").length;if(numError){$(this).find(".check-error").first().find("input[data-validate],textarea[data-validate],select[data-validate]").first().focus().select();return false}});$(".form-reset").click(function(){$(this).closest("form").find(".input-help").remove();$(this).closest("form").find(".form-submit").removeAttr("disabled");$(this).closest("form").find(".form-group").removeClass("check-error");$(this).closest("form").find(".form-group").removeClass("check-success")});$(".tab .tab-nav li").each(function(){var e=$(this);var trigger=e.closest(".tab").attr("data-toggle");if(trigger=="hover"){e.mouseover(function(){$showtabs(e)});e.click(function(){return false})}else{e.click(function(){$showtabs(e);return false})}});$(".slidemenu .icon-slidemenu").click(function(){$(".slidemenu .slidemenu-left,.slidemenu .slidemenu-right").toggle("slow")});$.fn.ajaxSubmit=function(fn){$(this).find("input[data-validate],textarea[data-validate],select[data-validate]").trigger("blur");$(this).find("input[placeholder],textarea[placeholder]").each(function(){$hideplaceholder($(this))});var numError=$(this).find(".check-error").length;if(numError){$(this).find(".check-error").first().find("input[data-validate],textarea[data-validate],select[data-validate]").first().focus().select();return false}if(fn&amp;&amp;typeof fn=="function"){fn()}};$showtabs=function(e){var detail=e.children("a").attr("href");e.closest(".tab .tab-nav").find("li").removeClass("active");e.closest(".tab").find(".tab-body .tab-panel").removeClass("active");e.addClass("active");$(detail).addClass("active")};$(".dialogs").each(function(){var e=$(this);var trigger=e.attr("data-toggle");if(trigger=="hover"){e.mouseover(function(){$showdialogs(e)})}else{if(trigger=="click"){e.click(function(){$showdialogs(e)})}}});$showdialogs=function(e){var trigger=e.attr("data-toggle");
var getid=e.attr("data-target");var data=e.attr("data-url");var mask=e.attr("data-mask");var width=e.attr("data-width");var detail="";var masklayout=$('&lt;div class="dialog-mask"&gt;&lt;/div&gt;');var temp="";if(width==null){width="80%"}if(mask=="1"){$("body").append(masklayout)}detail='&lt;div class="dialog-win" style="position:fixed;width:'+width+';z-index:11;"&gt;';if(getid!=null){detail=detail+$(getid).html();temp=$(getid).detach()}if(data!=null){detail=detail+$.ajax({url:data,async:false}).responseText}detail=detail+"&lt;/div&gt;";var win=$(detail);win.find(".dialog").addClass("open");$("body").append(win);var x=parseInt($(window).width()-win.outerWidth())/2;var y=parseInt($(window).height()-win.outerHeight())/2;if(y&lt;=10){y=10}win.css({"left":x,"top":y});win.find(".dialog-close,.close").each(function(){$(this).click(function(){win.remove();$(".dialog-mask").remove();$("body").prepend(temp)})});masklayout.click(function(){win.remove();$(this).remove();$("body").prepend(temp)})};$(".tips").each(function(){var e=$(this);var title=e.attr("title");var trigger=e.attr("data-toggle");e.attr("title","");if(trigger==""||trigger==null){trigger="hover"}if(trigger=="hover"){e.mouseover(function(){$showtips(e,title)})}else{if(trigger=="click"){e.click(function(){$showtips(e,title)})}else{if(trigger=="show"){e.ready(function(){$showtips(e,title)})}}}});$showtips=function(e,title){var trigger=e.attr("data-toggle");var place=e.attr("data-place");var width=e.attr("data-width");var css=e.attr("data-style");var image=e.attr("data-image");var content=e.attr("content");var getid=e.attr("data-target");var data=e.attr("data-url");var x=0;var y=0;var html="";var detail="";if(image!=null){detail=detail+'&lt;img class="image" src="'+image+'" /&gt;'}if(content!=null){detail=detail+'&lt;p class="tip-body"&gt;'+content+"&lt;/p&gt;"}if(getid!=null){detail=detail+$(getid).html()}if(data!=null){detail=detail+$.ajax({url:data,async:false}).responseText}if(title!=null&amp;&amp;title!=""){if(detail!=null&amp;&amp;detail!=""){detail='&lt;p class="tip-title"&gt;&lt;strong&gt;'+title+"&lt;/strong&gt;&lt;/p&gt;"+detail}else{detail='&lt;p class="tip-line"&gt;'+title+"&lt;/p&gt;"}e.attr("title","")}detail='&lt;div class="tip"&gt;'+detail+"&lt;/div&gt;";html=$(detail);$("body").append(html);if(width!=null){html.css("width",width)}if(place==""||place==null){place="top"}if(place=="left"){x=e.offset().left-html.outerWidth()-5;y=e.offset().top-html.outerHeight()/2+e.outerHeight()/2}else{if(place=="top"){x=e.offset().left-html.outerWidth()/2+e.outerWidth()/2;y=e.offset().top-html.outerHeight()-5}else{if(place=="right"){x=e.offset().left+e.outerWidth()+5;y=e.offset().top-html.outerHeight()/2+e.outerHeight()/2}else{if(place=="bottom"){x=e.offset().left-html.outerWidth()/2+e.outerWidth()/2;y=e.offset().top+e.outerHeight()+5}}}}if(css!=""){html.addClass(css)}html.css({"left":x+"px","top":y+"px","position":"absolute"});if(trigger=="hover"||trigger=="click"||trigger==null){e.mouseout(function(){html.remove();e.attr("title",title)})}};$(".alert .close").each(function(){$(this).click(function(){$(this).closest(".alert").remove()})});$(".radio label").each(function(){var e=$(this);e.click(function(){e.closest(".radio").find("label").removeClass("active");e.addClass("active")})});$(".checkbox label").each(function(){var e=$(this);e.click(function(){if(e.find("input").is(":checked")){e.addClass("active")}else{e.removeClass("active")}})});$(".collapse .panel-head").each(function(){var e=$(this);e.click(function(){e.closest(".collapse").find(".panel").removeClass("active");e.closest(".panel").addClass("active")})});$(".collapse-toggle .panel-head").each(function(){var e=$(this);e.click(function(){e.closest(".panel").toggleClass("active")})});$(".icon-navicon").each(function(){var e=$(this);var target=e.attr("data-target");e.click(function(){$(target).toggleClass("nav-navicon")})});$(".banner").each(function(){var e=$(this);var pointer=e.attr("data-pointer");var interval=e.attr("data-interval");var style=e.attr("data-style");var items=e.attr("data-item");var items_s=e.attr("data-small");var items_m=e.attr("data-middle");var items_b=e.attr("data-big");var num=e.find(".carousel .item").length;var win=$(window).width();var i=1;if(interval==null){interval=5}if(items==null||items&lt;1){items=1}if(items_s!=null&amp;&amp;win&gt;760){items=items_s}if(items_m!=null&amp;&amp;win&gt;1000){items=items_m}if(items_b!=null&amp;&amp;win&gt;1200){items=items_b}var itemWidth=Math.ceil(e.outerWidth()/items);var page=Math.ceil(num/items);e.find(".carousel .item").css("width",itemWidth+"px");e.find(".carousel").css("width",itemWidth*num+"px");var carousel=function(){i++;if(i&gt;page){i=1}$showbanner(e,i,items,num)};var play=setInterval(carousel,interval*600);e.mouseover(function(){clearInterval(play)});e.mouseout(function(){play=setInterval(carousel,interval*600)});if(pointer!=0&amp;&amp;page&gt;1){var point='&lt;ul class="pointer"&gt;&lt;li value="1" class="active"&gt;&lt;/li&gt;';for(var j=1;j&lt;page;j++){point=point+' &lt;li value="'+(j+1)+'"&gt;&lt;/li&gt;'}point=point+"&lt;/ul&gt;";var pager=$(point);if(style!=null){pager.addClass(style)}e.append(pager);pager.css("left",e.outerWidth()*0.5-pager.outerWidth()*0.5+"px");
pager.find("li").click(function(){$showbanner(e,$(this).val(),items,num)});var lefter=$('&lt;div class="pager-prev icon-angle-left"&gt;&lt;/div&gt;');var righter=$('&lt;div class="pager-next icon-angle-right"&gt;&lt;/div&gt;');if(style!=null){lefter.addClass(style);righter.addClass(style)}e.append(lefter);e.append(righter);lefter.click(function(){i--;if(i&lt;1){i=page}$showbanner(e,i,items,num)});righter.click(function(){i++;if(i&gt;page){i=1}$showbanner(e,i,items,num)})}});$showbanner=function(e,i,items,num){var after=0,leftx=0;leftx=-Math.ceil(e.outerWidth()/items)*(items)*(i-1);if(i*items&gt;num){after=i*items-num;leftx=-Math.ceil(e.outerWidth()/items)*(num-items)}e.find(".carousel").stop(true,true).animate({"left":leftx+"px"},800);e.find(".pointer li").removeClass("active");e.find(".pointer li").eq(i-1).addClass("active")};$(".spy a").each(function(){var e=$(this);var t=e.closest(".spy");var target=t.attr("data-target");var top=t.attr("data-offset-spy");var thistarget="";var thistop="";if(top==null){top=0}if(target==null){thistarget=$(window)}else{thistarget=$(target)}thistarget.bind("scroll",function(){if(target==null){thistop=$(e.attr("href")).offset().top-$(window).scrollTop()-parseInt(top)}else{thistop=$(e.attr("href")).offset().top-thistarget.offset().top-parseInt(top)}if(thistop&lt;0){t.find("li").removeClass("active");e.parents("li").addClass("active")}})});$(".fixed").each(function(){var e=$(this);var style=e.attr("data-style");var top=e.attr("data-offset-fixed");if(top==null){top=e.offset().top}else{top=e.offset().top-parseInt(top)}if(style==null){style="fixed-top"}$(window).bind("scroll",function(){var thistop=top-$(window).scrollTop();if(style=="fixed-top"&amp;&amp;thistop&lt;0){e.addClass("fixed-top")}else{e.removeClass("fixed-top")}var thisbottom=top-$(window).scrollTop()-$(window).height();if(style=="fixed-bottom"&amp;&amp;thisbottom&gt;0){e.addClass("fixed-bottom")}else{e.removeClass("fixed-bottom")}})})});

(function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g=[].indexOf||function(a){for(var b=0,c=this.length;c&gt;b;b++)if(b in this&amp;&amp;this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&amp;&amp;(a[c]=d);return a},a.prototype.ismobiles=function(a){return/androids|weboses|iphoness|ipads|ipods|BlackBerry|IEmobiles|Opera Mini/i.test(a)},a.prototype.createEvent=function(a,b,c,d){var e;return null==b&amp;&amp;(b=!1),null==c&amp;&amp;(c=!1),null==d&amp;&amp;(d=null),null!=document.createEvent?(e=document.createEvent("CustomEvent"),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e},a.prototype.emitEvent=function(a,b){return null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():"on"+b in(null!=a)?a["on"+b]():void 0},a.prototype.addEvent=function(a,b,c){return null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent("on"+b,c):a[b]=c},a.prototype.removeEvent=function(a,b,c){return null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent("on"+b,c):delete a[b]},a.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e&gt;d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f&gt;e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){"undefined"!=typeof console&amp;&amp;null!==console&amp;&amp;console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&amp;&amp;null!==console&amp;&amp;console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),d=this.getComputedStyle||function(a,b){return this.getPropertyValue=function(b){var c;return"float"===b&amp;&amp;(b="styleFloat"),e.test(b)&amp;&amp;b.replace(e,function(a,b){return b.toUpperCase()}),(null!=(c=a.currentStyle)?c[b]:void 0)||null},this},e=/(\-([a-z]){1})/g,this.WOW=function(){function e(a){null==a&amp;&amp;(a={}),this.scrollCallback=f(this.scrollCallback,this),this.scrollHandler=f(this.scrollHandler,this),this.resetAnimation=f(this.resetAnimation,this),this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),null!=a.scrollContainer&amp;&amp;(this.config.scrollContainer=document.querySelector(a.scrollContainer)),this.animationNameCache=new c,this.wowEvent=this.util().createEvent(this.config.boxClass)}return e.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobiles:!0,live:!0,callback:null,scrollContainer:null},e.prototype.init=function(){var a;return this.element=window.document.documentElement,"interactive"===(a=document.readyState)||"complete"===a?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},e.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll("."+this.config.boxClass),e=[],a=0,c=d.length;c&gt;a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c&gt;a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(e=this.boxes,c=0,d=e.length;d&gt;c;c++)b=e[c],this.applyStyle(b,!0);return this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],c=0,d=b.length;d&gt;c;c++)f=b[c],g.push(function(){var a,b,c,d;for(c=f.addedNodes||[],d=[],a=0,b=c.length;b&gt;a;a++)e=c[a],d.push(this.doSync(e));return d}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},e.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},e.prototype.sync=function(b){return a.notSupported?this.doSync(this.element):void 0},e.prototype.doSync=function(a){var b,c,d,e,f;if(null==a&amp;&amp;(a=this.element),1===a.nodeType){for(a=a.parentNode||a,e=a.querySelectorAll("."+this.config.boxClass),f=[],c=0,d=e.length;d&gt;c;c++)b=e[c],g.call(this.all,b)&lt;0?(this.boxes.push(b),this.all.push(b),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(b,!0),f.push(this.scrolled=!0)):f.push(void 0);return f}},e.prototype.show=function(a){return this.applyStyle(a),a.className=a.className+" "+this.config.animateClass,null!=this.config.callback&amp;&amp;this.config.callback(a),this.util().emitEvent(a,this.wowEvent),this.util().addEvent(a,"animationend",this.resetAnimation),this.util().addEvent(a,"oanimationend",this.resetAnimation),this.util().addEvent(a,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(a,"MSAnimationEnd",this.resetAnimation),a},e.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute("data-wow-duration"),c=a.getAttribute("data-wow-delay"),e=a.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},e.prototype.animate=function(){return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),e.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c&gt;b;b++)a=d[b],e.push(a.style.visibility="visible");return e},e.prototype.resetAnimation=function(a){var b;return a.type.toLowerCase().indexOf("animationend")&gt;=0?(b=a.target||a.srcElement,b.className=b.className.replace(this.config.animateClass,"").trim()):void 0},e.prototype.customStyle=function(a,b,c,d,e){return b&amp;&amp;this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&amp;&amp;this.vendorSet(a.style,{animationDuration:c}),d&amp;&amp;this.vendorSet(a.style,{animationDelay:d}),e&amp;&amp;this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},e.prototype.vendors=["moz","webkit"],e.prototype.vendorSet=function(a,b){var c,d,e,f;d=[];for(c in b)e=b[c],a[""+c]=e,d.push(function(){var b,d,g,h;for(g=this.vendors,h=[],b=0,d=g.length;d&gt;b;b++)f=g[b],h.push(a[""+f+c.charAt(0).toUpperCase()+c.substr(1)]=e);return h}.call(this));return d},e.prototype.vendorCSS=function(a,b){var c,e,f,g,h,i;for(h=d(a),g=h.getPropertyCSSValue(b),f=this.vendors,c=0,e=f.length;e&gt;c;c++)i=f[c],g=g||h.getPropertyCSSValue("-"+i+"-"+b);return g},e.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=d(a).getPropertyValue("animation-name")}return"none"===b?"":b},e.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},e.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},e.prototype.scrollHandler=function(){return this.scrolled=!0},e.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c&gt;b;b++)a=d[b],a&amp;&amp;(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},e.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},e.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute("data-wow-offset")||this.config.offset,f=this.config.scrollContainer&amp;&amp;this.config.scrollContainer.scrollTop||window.pageYOffset,e=f+Math.min(this.element.clientHeight,this.util().innerHeight())-c,d=this.offsetTop(a),b=d+a.clientHeight,e&gt;=d&amp;&amp;b&gt;=f},e.prototype.util=function(){return null!=this._util?this._util:this._util=new b},e.prototype.disabled=function(){return!this.config.mobiles&amp;&amp;this.util().ismobiles(navigator.userAgent)},e}()}).call(this);new WOW().init();
$(function() {if ($(window).width()&lt;721) {$('body').addClass('small'); }; $(window).resize(function(event) {if ($(window).width()&lt;721) {$('body').addClass('small'); }else{$('body').removeClass('small'); }; }); });</pre></body></html>