").addClass("ws_photoItem").css({width:"100%",height:"100%",overflow:"hidden"}).append(c("
").css({overflow:"hidden",position:"absolute"}).append(c(g[p]).clone())).appendTo(f);if(a.images&&tr){break}k+=g.length}}if(window.XMLHttpRequest){var x=a.duration*0.5;s.each(function(z){v(c(this),i==z,y==z,false,x)});if(!n){wowAnimate(o,{opacity:1},{opacity:0},x*0.7,"swing")}setTimeout(function(){s.each(function(z){v(c(this),i==z,y==z,true,x,(y==z?function(){e.trigger("effectEnd")}:0))});if(!n){wowAnimate(o,{opacity:0},{opacity:1},x*0.7,"swing")}},x)}else{l.stop(true).animate({left:(i?-i+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))},a.duration,"easeInOutExpo",function(){e.trigger("effectEnd")})}}};
/* ---------------------------------------------------------------------------
* WOWslider Settings
* -------------------------------------------------------------------------- */
jQuery("#wowslider-container1").wowSlider( {
effect:"photo",
duration:20*100, // change effect transition time
delay:20*100, // change delay on each slide
width:1600,
height:800,
autoPlay:true, // autoplay slides on load
playPause:false, // show a play & pause button
stopOnHover:false,
loop:false,
bullets:0,
caption:false, // use a caption on slides
controls:true, // use left, right arrows
fullScreen:true, // show a fullscreen button
responsive:3,
gestures:2,
// remove next 3 lines to remove "random" slide order
onBeforeStep:function(i, c) {
return (i+1 + Math.floor((c-1)*Math.random()))
}
}
);