// ----------------------------------------------------------------------------------- // http://wowslider.com/ // JavaScript Wow Slider is a free software that helps you easily generate delicious // slideshows with gorgeous transition effects, in a few clicks without writing a single line of code. // Generated by WOW Slider 2.2.1 // //*********************************************** // Obfuscated by Javascript Obfuscator // http://javascript-source.com //*********************************************** jQuery.fn.wowSlider=function(w){var B=jQuery;var l=this;var h=l.get(0);w=B.extend({effect:function(){this.go=function(d,f){b(d);return d}},prev:"",next:"",duration:1000,delay:20*100,captionDuration:1000,width:960,height:360,caption:true,controls:true,autoPlay:true,bullets:true,onBeforeStep:function(d){return d+1},stopOnHover:0,preventCopy:1},w);var a=B(".ws_images",l);var E=a.find("ul");function b(d){E.css({left:-d+"00%"})}B("
").css({width:"100%",visibility:"hidden","font-size":0,"line-height":0}).append(a.find("li:first img:first").clone().css({width:"100%"})).prependTo(a);E.css({position:"absolute",top:0,animation:"none","-moz-animation":"none","-webkit-animation":"none"});var p=w.images&&(new wowsliderPreloader(this,w));w.loop=w.loop||Number.MAX_VALUE;var i=a.find("li");var z=i.length;function v(d){return((d||0)+z)%z}w.stopOn=v(w.stopOn);w.startSlide=v(w.startSlide);E.css({width:z+"00%"});if((B.browser.msie&&parseInt(B.browser.version,10)<8)||(/Chrome/.test(navigator.userAgent))){i.css({width:100/z+"%"})}else{E.css({display:"table"});i.css({display:"table-cell","float":"none",width:"auto"})}b(w.startSlide);var C;if(w.preventCopy&&!/iPhone/.test(navigator.platform)){C=B('
').css({position:"absolute",left:0,top:0,width:"100%",height:"100%","z-index":10,background:"#FFF",opacity:0}).appendTo(l).find("A").get(0)}var g=[];i.each(function(d){var t=B(">img:first,>a:first,>div:first",this).get(0);var P=B("
");for(var f=0;fa>img",this).get(0)||B(">*",this).get(0)});g=B(g);g.css("visibility","visible");if(typeof w.effect=="string"){w.effect=window["ws_"+w.effect]}var I=new w.effect(w,g,a);var y=w.startSlide;function k(t,f,d){if(isNaN(t)){t=w.onBeforeStep(y,z)}t=v(t);if(y==t){return}if(p){p.load(t,function(){q(t,f,d)})}else{q(t,f,d)}}function q(t,f,d){var t=I.go(t,y,f,d);if(t<0){return}o(t);if(w.caption){x(i[t])}y=t;if(y==w.stopOn&&!--w.loop){w.autoPlay=0}A();if(w.onStep){w.onStep(t)}}var s,r,j=0;if(h.addEventListener){h.addEventListener("touchmove",function(t){if(j){var f=(s-t.touches[0].pageX)/20;var d=(r-t.touches[0].pageY)/20;if((Math.abs(f)>1)||(Math.abs(d)>1)){s=r=j=0;O(t,y+((f+d)>0?1:-1),f,d)}}},false);h.addEventListener("touchstart",function(d){if(d.touches.length==1){s=d.touches[0].pageX;r=d.touches[0].pageY;j=1}else{j=0}},false);h.addEventListener("touchend",function(d){j=0},false)}function L(t){var f="";for(var d=0;d
"):0;if(c){c.css({position:"absolute",right:"2px",display:"none",bottom:"2px",padding:"0 0 0 0","z-index":10});F.append(c)}if(c&&document.all){var K=B('');K.css({position:"absolute",left:0,top:0,width:"100%",height:"100%",filter:"alpha(opacity=0)"});K.attr({scrolling:"no",framespacing:0,border:0,frameBorder:"no"});c.append(K)}var N=c?B(document.createElement("A")):c;if(N){N.css({position:"relative",display:"block","background-color":"#E4EFEB",color:"#837F80","font-family":"Lucida Grande,sans-serif","font-size":"11px","font-weight":"normal","font-style":"normal","-moz-border-radius":"5px","border-radius":"5px",padding:"1px 5px",width:"auto",height:"auto",margin:"0 0 0 0",outline:"none"});N.attr({href:"http://"+G.toLowerCase()});N.html(G);N.bind("contextmenu",function(d){return false});c.append(N)}if(w.controls){var u=B(''+w.next+"");var M=B(''+w.prev+"");l.append(u);l.append(M);u.bind("click",function(d){O(d,y+1)});M.bind("click",function(d){O(d,y-1)});if(/iPhone/.test(navigator.platform)){M.get(0).addEventListener("touchend",function(d){O(d,y-1)},false);u.get(0).addEventListener("touchend",function(d){O(d,y+1)},false)}}function e(){var t=l.find(".ws_bullets>div");var T=B("a",t);T.click(function(U){O(U,B(U.target).index())});var R=T.find("IMG");if(R.length){var Q=B('
').appendTo(t);var f=B("
").css({width:R.length+1+"00%"}).appendTo(B("
").appendTo(Q));R.appendTo(f);B("").appendTo(Q);var P=-1;function S(W){if(W<0){W=0}if(p){p.loadTtip(W)}B(T.get(P)).removeClass("ws_overbull");B(T.get(W)).addClass("ws_overbull");Q.show();var X={left:T.get(W).offsetLeft-Q.width()/2,"margin-top":T.get(W).offsetTop-T.get(0).offsetTop+"px","margin-bottom":-T.get(W).offsetTop+T.get(T.length-1).offsetTop+"px"};var V=R.get(W);var U={left:-V.offsetLeft+(B(V).outerWidth(1)-B(V).outerWidth())/2};if(P<0){Q.css(X);f.css(U)}else{if(!document.all){X.opacity=1}Q.stop().animate(X,"fast");f.stop().animate(U,"fast")}P=W}T.hover(function(){S(B(this).index())});var d;t.hover(function(){if(d){clearTimeout(d);d=0}S(P)},function(){T.removeClass("ws_overbull");if(document.all){if(!d){d=setTimeout(function(){Q.hide();d=0},400)}}else{Q.stop().animate({opacity:0},{duration:"fast",complete:function(){Q.hide()}})}});t.click(function(U){O(U,B(U.target).index())})}}function J(d){B(".ws_bullets A",l).each(function(f){if(f==d){B(this).addClass("ws_selbull")}else{B(this).removeClass("ws_selbull")}})}if(w.caption){$caption=B("");l.append($caption);$caption.bind("mouseover",function(d){n()});$caption.bind("mouseout",function(d){A()})}function x(f){var P=B("img",f).attr("title");var t=B(f).data("descr");var d=B(".ws-title",l);d.stop(1,1).stop(1,1).fadeOut(w.captionDuration/3,function(){if(P||t){d.html((P?""+P+"":"")+(t?"
"+t+"
":""));H(d,{direction:"left",easing:"easeInOutExpo",complete:function(){if(B.browser.msie){d.get(0).style.removeAttribute("filter")}},duration:w.captionDuration})}})}if(w.bullets){e()}o(y);if(w.caption){x(i[y])}if(w.stopOnHover){this.bind("mouseover",function(d){n()});this.bind("mouseout",function(d){A()})}A(1);function D(Q,f){var R,t=document.defaultView;if(t&&t.getComputedStyle){var P=t.getComputedStyle(Q,"");if(P){R=P.getPropertyValue(f)}}else{var d=f.replace(/\-\w/g,function(S){return S[1].toUpperCase()});if(Q.currentStyle){R=Q.currentStyle[d]}else{R=Q.style[d]}}return R}function H(T,W){var V={position:0,top:0,left:0,bottom:0,right:0};for(var t in V){V[t]=T.get(0).style[t]||D(T.get(0),t)}T.show();var S={width:T.outerWidth(true),height:T.outerHeight(true),"float":T.css("float"),overflow:"hidden",opacity:0};for(var t in V){S[t]=V[t]}var f=B("
").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});T.wrap(f);f=T.parent();if(T.css("position")=="static"){f.css({position:"relative"});T.css({position:"relative"})}else{B.extend(S,{position:T.css("position"),zIndex:T.css("z-index")});T.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}f.css(S).show();var U=W.direction||"left";var P=(U=="up"||U=="down")?"top":"left";var Q=(U=="up"||U=="left");var d=W.distance||(P=="top"?T.outerHeight({margin:true}):T.outerWidth({margin:true}));T.css(P,Q?(isNaN(d)?"-"+d:-d):d);var R={};R[P]=(Q?"+=":"-=")+d;f.animate({opacity:1},{duration:W.duration,easing:W.easing});T.animate(R,{queue:false,duration:W.duration,easing:W.easing,complete:function(){T.css(V);T.parent().replaceWith(T);if(W.complete){W.complete()}}})}h.wsStart=k;h.wsStop=n;return this};jQuery.extend(jQuery.easing,{easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a}});