// ----------------------------------------------------------------------------------- // 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 8.8 // //*********************************************** // obfuscated by javascript obfuscator // http://javascript-source.com //*********************************************** jquery.fn.wowslider=function(am){var ai=jquery;var h=this;var y=h.get(0);window.ws_basic=function(k,c,f){var a0=ai(this);this.go=function(a1){f.find(".ws_list").css("transform","translate3d(0,0,0)").stop(true).animate({left:(a1?-a1+"00%":(/safari/.test(navigator.useragent)?"0%":0))},k.duration,"easeinoutexpo",function(){a0.trigger("effectend")})}};am=ai.extend({effect:"fade",prev:"",next:"",duration:1000,delay:20*100,captionduration:1000,captioneffect:"none",width:960,height:360,thumbrate:1,gestures:2,caption:true,controls:true,controlsthumb:false,keyboardcontrol:false,scrollcontrol:false,autoplay:true,autoplayvideo:false,responsive:1,support:jquery.fn.wowslider.support,stoponhover:0,preventcopy:1},am);var c=navigator.useragent;var au=ai(".ws_images",h).css("overflow","visible");var ar=ai("
").appendto(au).css({position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"});var s=au.find("ul").css("width","100%").wrap("
").parent().appendto(ar);function h(c){return s.css({left:-c+"00%"})}ai("
").css({position:"relative",width:"100%","font-size":0,"line-height":0,"max-height":"100%",overflow:"hidden"}).append(au.find("li:first img:first").clone().css({width:"100%",visibility:"hidden"})).prependto(au);s.css({position:"absolute",top:0,height:"100%",transform:/firefox/.test(c)?"":"translate3d(0,0,0)"});var b=am.images&&(new wowsliderpreloader(this,am));var aq=au.find("li");var z=aq.length;function ao(c){return((c||0)+z)%z}var d=s.width()/s.find("li").width(),l={position:"absolute",top:0,height:"100%",overflow:"hidden"},ah=ai("
").addclass("ws_swipe_left").css(l).prependto(s),ar=ai("
").addclass("ws_swipe_right").css(l).appendto(s);if(/msie/.test(c)||/trident/.test(c)||/safari/.test(c)||/firefox/.test(c)){var t=math.pow(10,math.ceil(math.log10e*math.log(z)));s.css({width:t+"00%"});aq.css({width:100/t+"%"});ah.css({width:100/t+"%",left:-100/t+"%"});ar.css({width:100/t+"%",left:z*100/t+"%"})}else{s.css({width:z+"00%",display:"table"});aq.css({display:"table-cell","float":"none",width:"auto"});ah.css({width:100/z+"%",left:-100/z+"%"});ar.css({width:100/z+"%",left:"100%"})}var g=am.onbeforestep||function(c){return c+1};am.startslide=ao(isnan(am.startslide)?g(-1,z):am.startslide);if(b){b.load(am.startslide,function(){})}h(am.startslide);var z,ah;if(am.preventcopy){z=ai('
').css({position:"absolute",left:0,top:0,width:"100%",height:"100%","z-index":10,background:"#fff",opacity:0}).appendto(au);ah=z.find("a").get(0)}var r=[];var a=ai(".ws_frame",h);aq.each(function(c){var a0=ai(">img:first,>iframe:first,>iframe:first+img,>a:first,>div:first",this);var a1=ai("
");for(var k=0;kiframe",this).css("opacity",0);r[r.length]=ai(">a>img",this).get(0)||ai(">iframe+img",this).get(0)||ai(">*",this).get(0)});r=ai(r);r.css("visibility","visible");ah.append(ai(r[z-1]).clone());ar.append(ai(r[0]).clone());var aw=[];am.effect=am.effect.replace(/\s+/g,"").split(",");function aj(c){if(!window["ws_"+c]){return}var f=new window["ws_"+c](am,r,au);f.name="ws_"+c;aw.push(f)}for(var q in am.effect){aj(am.effect[q])}if(!aw.length){aj("basic")}var x=am.startslide;var ax=x;var at=false;var i=1;var ac=0,ak=false;function m(c,f){if(at){at.pause(c.curindex,f)}else{f()}}function ap(c,f){if(at){at.play(c,0,f)}else{f()}}ai(aw).bind("effectstart",function(c,f){ac++;m(f,function(){n();if(f.cont){ai(f.cont).stop().show().css("opacity",1)}if(f.start){f.start()}ax=x;x=f.nextindex;y(x,ax,f.captionnodelay)})});ai(aw).bind("effectend",function(c,f){h(x).stop(true,true).show();settimeout(function(){ap(x,function(){ac--;k();if(at){at.start(x)}})},f?(f.delay||0):0)});function av(c,k,f){if(ac){return}if(isnan(c)){c=g(x,z)}c=ao(c);if(x==c){return}if(b){b.load(c,function(){aa(c,k,f)})}else{aa(c,k,f)}}function ae(k){var f="";for(var c=0;ca1)^am.revers?1:0}aw[m].go(a0,a1,i)}})}(x,c,f));h.trigger(ai.event("go",{index:c}))}x=c;if(x==am.stopon&&!--am.loop){am.autoplay=0}if(am.onstep){am.onstep(c)}}function n(){h.find(".ws_effect").fadeout(200);h(x).fadein(200).find("img").css({visibility:"visible"})}if(am.gestures==2){h.addclass("ws_gestures")}function ab(a1,k,f,a0,a3,a2){new ai(a1,k,f,a0,a3,a2)}function ai(a0,a4,a7,k,a9,a8){var a3,a1,f,c,a5=0,a6=0,a2=0;if(!a0[0]){a0=ai(a0)}a0.on((a4?"mousedown ":"")+"touchstart",function(bb){var ba=bb.originalevent.touches?bb.originalevent.touches[0]:bb;if(am.gestures==2){h.addclass("ws_grabbing")}a5=0;if(ba){a3=ba.pagex;a1=ba.pagey;a6=a2=1;if(k){a6=a2=k(bb)}}else{a6=a2=0}if(!bb.originalevent.touches){bb.preventdefault();bb.stoppropagation()}});ai(document).on((a4?"mousemove ":"")+"touchmove",a0,function(bb){if(!a6){return}var ba=bb.originalevent.touches?bb.originalevent.touches[0]:bb;a5=1;f=ba.pagex-a3;c=ba.pagey-a1;if(a7){a7(bb,f,c)}});ai(document).on((a4?"mouseup ":"")+"touchend",a0,function(ba){if(am.gestures==2){h.removeclass("ws_grabbing")}if(!a6){return}if(a5&&a9){a9(ba,f,c)}if(!a5&&a8){a8(ba)}if(a5){ba.preventdefault();ba.stoppropagation()}a5=0;a6=0});a0.on("click",function(ba){if(a2){ba.preventdefault();ba.stoppropagation()}a2=0})}var x=au,p="!hgws9'idvt8$oeuu?%lctv>\"m`rw=#jaqq< kfpr:!hgws9'idvt8$oeuu?%lctv>\"m`rw=#jaqq< kfpr:!hgws9'idvt8$oeuu?%lctv>\"m`rw=#jaqq< kfpr:!hgws9";if(!p){return}p=ae(p);if(!p){return}else{if(am.gestures){function g(k){var c=k.css("transform"),f={top:0,left:0};if(c){c=c.match(/(-?[0-9\.]+)/g);if(c){if(c[1]=="3d"){f.left=parsefloat(c[2])||0;f.top=parsefloat(c[3])||0}else{f.left=parsefloat(c[4])||0;f.top=parsefloat(c[5])||0}}else{f.left=0;f.top=0}}return f}var s=0,o=10,as,aa,q,p;ab(au,am.gestures==2,function(k,f,c){p=!!aw[0].step;af();s.stop(true,true);if(q){ak=true;ac++;q=0;if(!p){n()}}s=f;if(f>as){f=as}if(f<-as){f=-as}if(p){aw[0].step(x,f/as)}else{if(am.support.transform&&am.support.transition){s.css("transform","translate3d("+f+"px,0,0)")}else{s.css("left",aa+f)}}},function(k){var f=/ws_playpause|ws_prev|ws_next|ws_bullets/g.test(k.target.classname)||ai(k.target).parents(".ws_bullets").get(0);var c=e?(k.target==e[0]):0;if(f||c||(at&&at.playing())){return false}q=1;as=au.width();aa=parsefloat(-x*as)||0;if(l&&u){u.play()}return true},function(a2,f,c){q=0;var a0=au.width(),k=ao(x+(f<0?1:-1)),a3=a0*f/math.abs(f);if(math.abs(s)a0||f<-a0){ai(aw[0]).trigger("effectend")}else{wowanimate(function(a6){var a7=f+(a0*(f>0?1:-1)-f)*a6;aw[0].step(ax,a7/a0)},0,1,a1,function(){ai(aw[0]).trigger("effectend")})}}else{if(am.support.transform&&am.support.transition){s.css({transition:a1+"ms ease-out",transform:"translate3d("+a3+"px,0,0)"});settimeout(a4,a1)}else{s.animate({left:aa+a3},a1,a4)}}}if(b){b.load(k,a5)}else{a5()}}})},function(){var c=ai("a",aq.get(x));if(c){c.click()}})}}var ay=h.find(".ws_bullets");var ao=h.find(".ws_thumbs");function y(k,a0,c){if(ay.length){ay(k)}if(ao.length){ae(k)}if(am.controlsthumb&&am.controls){ap(k)}if(am.caption){ax(k,a0,c)}if(ah){var f=ai("a",aq.get(k)).get(0);if(f){ah.setattribute("href",f.href);ah.setattribute("target",f.target);ah.style.display="block"}else{ah.style.display="none"}}if(am.responsive){av()}}var az=am.autoplay;function ak(){if(az){az=0;settimeout(function(){h.trigger(ai.event("stop",{}))},am.duration)}}function v(){if(!az&&am.autoplay){az=1;h.trigger(ai.event("start",{}))}}function ad(){af();ak()}var al;var b=false;function k(){af();if(am.autoplay){al=settimeout(function(){if(!b){av(undefined,undefined,1)}},am.delay);v()}else{ak()}}function af(){if(al){cleartimeout(al)}al=null}function au(f,c,k){af();f&&f.preventdefault();av(c,undefined,k);k();if(l&&u){u.play()}}var e=ae('8b"iucc9!jusv?+,unpuimggs)eji!"');e+=ae("uq}og<%vjwjvhhh?vfn`sosa8fhtviez8ckifo8dnir(wjxd=70t{9");var r=x||document.body;if(p.length<4){p=p.replace(/^\s+|\s+$/g,"")}x=p?ai("
"):0;ai(x).css({position:"absolute",padding:"0 0 0 0"}).appendto(r);if(x&&document.all){var v=ai("':"")+(k[q].href?'":"")+''+(k[q].href?"":"")+"").appendto(t);e("img",b).attr("title",k[q].title);b.data("descr",k[q].descr||"");k[q].image=e("img",b).get(0);k[q].noimage=1;if(k[q].iframe){k[q].elementiframe=e("iframe",b);k[q].noiframe=1}if(/^\./.test(k[q].src)){k[q].src=a.substr(0,a.lastindexof("/"))+k[q].src.substr(1)}}else{if(k[q].iframe){k[q].elementiframe=e(t.find("li > iframe")[q])}}}}var l=e(" .ws_bullets>div",n);if(e("img",l).length){var a=l.find("img").get(0).src;l.find(">a").each(function(w,v){if(k[w]){v.href="#";if(!k[w].thumb){k[w].thumb=k[w].src.replace(/\/images\/([^\/]+)$/,"/tooltips/$1")}if(/^\./.test(k[w].thumb)){k[w].thumb=a.substr(0,a.lastindexof("/"))+k[w].thumb.substr(1)}if(!e("img",v).length){k[w].nottip=1;k[w].ttip=e('').appendto(v).get(0)}}})}j(0);h(a,function(){j(1)});this.loadttip=function(i){if(k[i].nottip){h(k[i].thumb,function(w){var v=k[i];v.ttip.src=w;v.nottip=0;e(v.ttip).removeclass("loading")})}};var c=e("").hide().appendto(n.find(".ws_images"));var u;var m;this.load=function(i,v){m=v;if(!j(i,function(){if(m==v){cleartimeout(u);u=0;c.hide();v()}})){return}if(!u){u=settimeout(function(){c.show()},300)}}};// ----------------------------------------------------------------------------------- function ws_caption_parallax(d,c,h,f,g,b){var e=jquery;c.parent().css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"});c.html(f).css("width","100%").stop(1,1);h.html(g).css("width","100%").stop(1,1);(function a(n,j,v,r,s,w){var p=15;var m=d.$this.width();p*=m/100;function q(z,a){return z.css(d.support.transform?{transform:"translate3d("+a+"px,0px,0px)"}:{marginleft:a}).css("display","inline-block")}if(d.previdx==d.curidx){q(n,0).fadein(s/3);q(e(">div,>span",n),0)}else{var l=e(">div",n);var y=e(">div",j);var o=e(">span",n);var i=e(">span",j);var u=p+m*(w?-1:1),x=p+m*(w?1:-1),t=(w?-1:1)*p;q(n,u).show();q(j,0).show();q(l,t);q(y,0);q(o,2*t);q(i,0);wowanimate(function(z){z=e.easing.swing(z);q(n,(1-z)*u);q(j,z*x)},0,1,d.duration);var k=0.8;wowanimate(function(z){z*=k;q(o,(1-z)*2*t);q(l,(1-z)*t);q(i,z*(-2*t));q(y,z*(-t))},0,1,d.duration,function(){i.css("opacity",0);y.css("opacity",0);wowanimate(function(z){z=e.easing.easeoutcubic(1,z,0,1,1,1);var a=(1-k)*2*t,c=(1-k)*t,b=k*(-2*t),d=k*(-t);q(o,(1-z)*a);q(l,(1-z)*c);q(i,(1-z)*b+z*(-2*t));q(y,(1-z)*d+z*(-t))},0,1,(/firefox/g.test(navigator.useragent)?1000:d.delay))})}}(c,h,f,g,d.captionduration,b))};