Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              

<div class="fullwidthbanner-container">
<h1 class="introh centered">We are SoSweet!<br/><span class="subintroh lightblue">Handcrafted, responsive web design</span></h1>  
  <div class="fullwidthbanner">
    <!-- Slides -->

<ul>
	<li data-transition="fade" data-masterspeed="2000"> <img class="" src="http://sosweetcreative.com/images/slide-ph-bg-rays-new4.jpg" alt="" />
		<div id="" class="caption lft" data-x="-250" data-y="0" data-speed="1900" data-start="200" data-easing="easeOutBack"><img id="" src="http://sosweetcreative.com/images/slides-ph-fg-clouds.png"/></div>
	  	<div class="caption lft" data-x="-260" data-y="0" data-speed="1900" data-start="200" data-easing="easeOutBack"><img src="http://sosweetcreative.com/images/slides-ph-bg-clouds.png" alt="" /></div>
		<div class="moveup-40">
		<div class="caption lfl" data-x="383" data-y="379" data-speed="4800" data-start="1000" data-easing="easeInOutSine"><img src="http://sosweetcreative.com/images/slide-ph-ballon-pink.png" alt="" /></div>	         
		<div class="caption lfl" data-x="45" data-y="185" data-speed="900" data-start="900" data-easing="easeOutExpo"><img src="http://sosweetcreative.com/images/slide-ph-wearesosweet-blue.png" alt="" /></div>
		<div class="caption lft" data-x="55" data-y="250" data-speed="900" data-start="900" data-easing="easeOutExpo"><img src="http://sosweetcreative.com/images/slide-ph-pixelhustlers-title.png" alt="" /></div>
		<div class="caption lft" data-x="543" data-y="349" data-speed="4800" data-start="300" data-easing="easeInOutSine"><img src="http://sosweetcreative.com/images/slide-ph-balloon1-small.png" alt="" /></div>
		<div class="caption lfl" data-x="210" data-y="339" data-speed="900" data-start="1300" data-easing="easeOutBack"><img src="http://sosweetcreative.com/images/slide-ph-webuild.png" alt="" /></div>
		</div>
    </li>
    
   	<li data-transition="fade" data-masterspeed="2900"> <img src="http://sosweetcreative.com/images/slide-m-bg.jpg" alt="" />              
    <a class="viewproject" href="/mogreet">
       	<div class="caption lft" data-x="235" data-y="240" data-speed="900" data-start="900" data-easing="easeOutExpo"><img src="http://sosweetcreative.com/images/slide-m-monitor.png" alt="" /></div>
    	<div class="caption lfr" data-x="635" data-y="340" data-speed="920" data-start="1300" data-easing="easeOutBack"><img src="http://sosweetcreative.com/images/slide-m-phone.png" alt="" /></div>
      	<div class="caption lfr" data-x="35" data-y="300" data-speed="920" data-start="1300" data-easing="easeOutBack"><img src="http://sosweetcreative.com/images/slide-m-graphic.png" alt="" /></div>
        <div class="caption lfl" data-x="763" data-y="404" data-speed="4800" data-start="1000" data-easing="easeInOutSine"><img src="http://sosweetcreative.com/images/slide-m-paperplane.png" alt="" /></div>
        <div class="caption lfr" data-x="0" data-y="204" data-speed="4800" data-start="1000" data-easing="easeInOutSine"><img src="http://sosweetcreative.com/images/slide-m-plane.png" alt="" /></div>
        <div class="caption lft" data-x="715" data-y="320" data-speed="900" data-start="900" data-easing="easeOutExpo"><img src="http://sosweetcreative.com/images/slide-m-logo.png" alt="" /></div>
        <div class="caption lfr hide-for-small" data-x="-220" data-y="520" data-speed="900" data-start="900" data-easing="easeOutExpo"><img src="http://sosweetcreative.com/images/slide-m-clouds.png"/></div>
        <div class="caption sfl small_white mogreeth5" data-x="270" data-y="119" data-speed="300" data-start="2200" data-easing="easeOutExpo"><h5>Mogreet Inc</h5></div>
	</a>
  	</li>
    
	<li data-transition="fade" data-masterspeed="2000"> <img src="http://sosweetcreative.com/images/slide-l-bg4.jpg" alt="" />
	<a class="viewproject" href="/ligayascaff">
		<div class="caption lft" data-x="185" data-y="220" data-speed="900" data-start="900" data-easing="easeOutExpo"><img src="http://sosweetcreative.com/images/slide-l-monitor.png" alt="" /></div>
		<div class="caption lfr" data-x="75" data-y="390" data-speed="920" data-start="1300" data-easing="easeOutBack"><img src="http://sosweetcreative.com/images/slide-l-book.png" alt="" /></div>	
		<div class="caption lfr" data-x="665" data-y="350" data-speed="920" data-start="1300" data-easing="easeOutBack"><img src="http://sosweetcreative.com/images/slide-l-phone.png" alt="" /></div>
		<div class="caption lft" data-x="145" data-y="220" data-speed="2100" data-start="900" data-easing="easeOutExpo"><img src="http://sosweetcreative.com/images/slide-l-logo.png" alt="" /></div>      
		<div class="caption lfl" data-x="363" data-y="504" data-speed="4800" data-start="1000" data-easing="easeInOutSine"><img src="http://sosweetcreative.com/images/slide-l-bike2.png" alt="" /></div>
		<div class="caption sfl small_white ligayascaffh5" data-x="225" data-y="112" data-speed="300" data-start="2200" data-easing="easeOutExpo"><h5>Ligaya Scaff</h5></div>
	</a>
	</li>
    
    <li data-transition="fade" data-masterspeed="2000">  <img src="http://sosweetcreative.com/images/slide-mg-bg5.jpg" alt="" />
    <a class="viewproject" href="/macguru">
       	<div class="caption lft" data-x="40" data-y="40" data-speed="1900" data-start="300" data-easing="easeOutBack"><img  style="position: absolute;left: 0px; margin-left: -200px;" src="http://sosweetcreative.com/images/slide-mg-bits.png" alt="" /></div>
       	<div class="caption lft" data-x="215" data-y="220" data-speed="900" data-start="900" data-easing="easeOutExpo"><img src="http://sosweetcreative.com/images/slide-mg-monitor.png" alt="" /></div>
		<div class="caption lfr" data-x="665" data-y="350" data-speed="920" data-start="1300" data-easing="easeOutBack"><img src="http://sosweetcreative.com/images/slide-mg-phone.png" alt="" /></div>
        <div class="caption lft" data-x="95" data-y="580" data-speed="900" data-start="900" data-easing="easeOutExpo"><img src="http://sosweetcreative.com/images/slide-mg-logo2.png" alt="" /></div>
		<div class="caption sfl small_white macguruh5" data-x="95" data-y="121" data-speed="300" data-start="2200" data-easing="easeOutExpo"><h5>MacGuru Consulting</h5></div>
	 </a>
   	</li>
</ul>
</div>
</div>

            
          
!

CSS

            
              @import url(https://fonts.googleapis.com/css?family=Noto+Sans);

ul{list-style:none;}

/* SLIDER
================================================== */
.fullwidthbanner-container  h5{
font-family:"Noto Sans", helvetica, sans-serif; color:#fff;
font-size:4em;
text-align:center;
position:relative;
right:-15%; top:-59px}



.fullwidthbanner-container {
width:100% !important;
position:relative;
padding:0;
overflow:hidden;
min-height: 650px;
max-height: 690px;
background-color: #0a161e;
}

h1.introh{
font-weight: 100 !important;
font-family: "Noto Sans", helvetica, arial, sans-serif;
color: #fff;
font-size: 4em;
line-height: 46px;
text-align: center;
position: absolute;
top: 26%;
width: 100%;
}

.subintroh{
font-size: 30px;
font-family: "noto sans", helvetica, arial, sans-serif;
}

/* -- Loader -- */

.ss-loader {
background:url('/images/loader-heartbeat.gif') no-repeat;
margin:-10px -15px;
top:50%;
left:45%;
z-index:10000;
position:absolute;
width:150px;
height:150px;
}

.ss-simpleresponsive .caption {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
-moz-opacity: 0;
-khtml-opacity: 0;
opacity: 0;
position:absolute;
border: 0px;              
}

.fullwidthbanner img,
.ss-simpleresponsive > ul li,
.ss-simpleresponsive > ul li a,
.caption,
.caption a{
border: 0px !important
}

.slotholder{max-height: 690px;}

.slotholder > img {max-width:none;}
.caption.lfr.hide-for-small.ss-caption.start{height:auto !important;}

.fullwidthabanner ul {
overflow: inherit;
list-style: none;
}

.fullwidthabanner ul li {
padding: 0;
background: none;
list-style: none !important;
}

.bannercontainer {
width:1140px;
position:relative;
margin: 50px auto;
}

.bannercontainer ul {
overflow: inherit;
list-style: none;
}

.bannercontainer li {
padding: 0;
background: none;
list-style: none;
}

.home li{list-style:none;}

/* -- Image Handling -- */

.ss-simpleresponsive img {
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
border:   !important;
}

.ss-simpleresponsive ul {
list-stv
h1.introh{
font-size:2.8em;
top: 35%;
line-height:30px;
}

.subintroh{font-size: 16px;}
}

/*  #iPad Targeting for slider 
================================================== */
@media only screen 
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1) {

.fullwidthbanner h5 {-webkit-appearance:none;text-shadow:-1px 1px 0px #222;font-weight:100;}

}

@media only screen and (max-width: 410px){
/*Keep the height for responsive */

.fullwidthbanner-container {
width:100% !important;
position:relative;
padding:0;
overflow:hidden;
min-height: 360px !important;
}

.fullwidthbanner .caption{
margin-top: 50px !important;
font-size: 1.2em !important;
}

.fullwidthbanner .caption img{
margin-top: 30px !important;
}

.fullwidthbanner h5 {
font-size: 1.3em !important;
text-align: center !important;
margin-bottom: 20px !important;
margin-left:-20px !important;
letter-spacing: 1px !important;
}

h1.introh{
font-size:2.2em;
top: 29%;
line-height:30px;
}

.subintroh{font-size: 13px;}

.ss-loader {
background:url('/images/loader-heartbeat65.gif') no-repeat;
margin:-10px -15px;
top:58%;
left:45%;
z-index:10000;
position:absolute;
width:65px;
height:65px;
}

}

@media only screen and (max-width: 340px){

.fullwidthbanner-container {
width:100% !important;
position:relative;
padding:0;
overflow:hidden;
min-height: 330px !important;
}

}

            
          
!

JS

            
              // jQuery Transit, jQuery WaitForImages

(function(a){function d(a){var c=["Moz","Webkit","O","ms"];var d=a.charAt(0).toUpperCase()+a.substr(1);if(a in b.style){return a}for(var e=0;e<c.length;++e){var f=c[e]+d;if(f in b.style){return f}}}function e(){b.style[c.transform]="";b.style[c.transform]="rotateY(90deg)";return b.style[c.transform]!==""}function i(a){if(typeof a==="string"){this.parse(a)}return this}function j(a,b,c){if(b===true){a.queue(c)}else if(b){a.queue(b,c)}else{c()}}function k(b){var c=[];a.each(b,function(b){b=a.camelCase(b);b=a.transit.propertyMap[b]||b;b=n(b);if(a.inArray(b,c)===-1){c.push(b)}});return c}function l(b,c,d,e){var f=k(b);if(a.cssEase[d]){d=a.cssEase[d]}var g=""+p(c)+" "+d;if(parseInt(e,10)>0){g+=" "+p(e)}var h=[];a.each(f,function(a,b){h.push(b+" "+g)});return h.join(", ")}function m(b,d){if(!d){a.cssNumber[b]=true}a.transit.propertyMap[b]=c.transform;a.cssHooks[b]={get:function(c){var d=a(c).css("transform");return d.get(b)},set:function(c,d){var e=a(c).css("transform");e.setFromString(b,d);a(c).css({transform:e})}}}function n(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function o(a,b){if(typeof a==="string"&&!a.match(/^[\-0-9\.]+$/)){return a}else{return""+a+b}}function p(b){var c=b;if(a.fx.speeds[c]){c=a.fx.speeds[c]}return o(c,"ms")}"use strict";a.transit={version:"0.1.3",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var b=document.createElement("div");var c={};var f=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;c.transition=d("transition");c.transitionDelay=d("transitionDelay");c.transform=d("transform");c.transformOrigin=d("transformOrigin");c.transform3d=e();a.extend(a.support,c);var g={MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};var h=c.transitionEnd=g[c.transition]||null;b=null;a.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)"};a.cssHooks.transform={get:function(b){return a(b).data("transform")||new i},set:function(b,d){var e=d;if(!(e instanceof i)){e=new i(e)}if(c.transform==="WebkitTransform"&&!f){b.style[c.transform]=e.toString(true)}else{b.style[c.transform]=e.toString()}a(b).data("transform",e)}};a.cssHooks.transformOrigin={get:function(a){return a.style[c.transformOrigin]},set:function(a,b){a.style[c.transformOrigin]=b}};a.cssHooks.transition={get:function(a){return a.style[c.transition]},set:function(a,b){a.style[c.transition]=b}};m("scale");m("translate");m("rotate");m("rotateX");m("rotateY");m("rotate3d");m("perspective");m("skewX");m("skewY");m("x",true);m("y",true);i.prototype={setFromString:function(a,b){var c=typeof b==="string"?b.split(","):b.constructor===Array?b:[b];c.unshift(a);i.prototype.set.apply(this,c)},set:function(a){var b=Array.prototype.slice.apply(arguments,[1]);if(this.setter[a]){this.setter[a].apply(this,b)}else{this[a]=b.join(",")}},get:function(a){if(this.getter[a]){return this.getter[a].apply(this)}else{return this[a]||0}},setter:{rotate:function(a){this.rotate=o(a,"deg")},rotateX:function(a){this.rotateX=o(a,"deg")},rotateY:function(a){this.rotateY=o(a,"deg")},scale:function(a,b){if(b===undefined){b=a}this.scale=a+","+b},skewX:function(a){this.skewX=o(a,"deg")},skewY:function(a){this.skewY=o(a,"deg")},perspective:function(a){this.perspective=o(a,"px")},x:function(a){this.set("translate",a,null)},y:function(a){this.set("translate",null,a)},translate:function(a,b){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(a!==null){this._translateX=o(a,"px")}if(b!==null){this._translateY=o(b,"px")}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var a=(this.scale||"1,1").split(",");if(a[0]){a[0]=parseFloat(a[0])}if(a[1]){a[1]=parseFloat(a[1])}return a[0]===a[1]?a[0]:a},rotate3d:function(){var a=(this.rotate3d||"0,0,0,0deg").split(",");for(var b=0;b<=3;++b){if(a[b]){a[b]=parseFloat(a[b])}}if(a[3]){a[3]=o(a[3],"deg")}return a}},parse:function(a){var b=this;a.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(a,c,d){b.setFromString(c,d)})},toString:function(a){var b=[];for(var d in this){if(this.hasOwnProperty(d)){if(!c.transform3d&&(d==="rotateX"||d==="rotateY"||d==="perspective"||d==="transformOrigin")){continue}if(d[0]!=="_"){if(a&&d==="scale"){b.push(d+"3d("+this[d]+",1)")}else if(a&&d==="translate"){b.push(d+"3d("+this[d]+",0)")}else{b.push(d+"("+this[d]+")")}}}}return b.join(" ")}};a.fn.transition=a.fn.transit=function(b,d,e,f){var g=this;var i=0;var k=true;if(typeof d==="function"){f=d;d=undefined}if(typeof e==="function"){f=e;e=undefined}if(typeof b.easing!=="undefined"){e=b.easing;delete b.easing}if(typeof b.duration!=="undefined"){d=b.duration;delete b.duration}if(typeof b.complete!=="undefined"){f=b.complete;delete b.complete}if(typeof b.queue!=="undefined"){k=b.queue;delete b.queue}if(typeof b.delay!=="undefined"){i=b.delay;delete b.delay}if(typeof d==="undefined"){d=a.fx.speeds._default}if(typeof e==="undefined"){e=a.cssEase._default}d=p(d);var m=l(b,d,e,i);var n=a.transit.enabled&&c.transition;var o=n?parseInt(d,10)+parseInt(i,10):0;if(o===0){var q=function(a){g.css(b);if(f){f.apply(g)}if(a){a()}};j(g,k,q);return g}var r={};var s=function(d){var e=false;var i=function(){if(e){g.unbind(h,i)}if(o>0){g.each(function(){this.style[c.transition]=r[this]||null})}if(typeof f==="function"){f.apply(g)}if(typeof d==="function"){d()}};if(o>0&&h&&a.transit.useTransitionEnd){e=true;g.bind(h,i)}else{window.setTimeout(i,o)}g.each(function(){if(o>0){this.style[c.transition]=m}a(this).css(b)})};var t=function(a){var b=0;if(c.transition==="MozTransition"&&b<25){b=25}window.setTimeout(function(){s(a)},b)};j(g,k,t);return this};a.transit.getTransitionValue=l})(jQuery);(function(a,b){jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(a,b,c,d,e){return jQuery.easing[jQuery.easing.def](a,b,c,d,e)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b+c;return-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b+c;return d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b+c;return-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b*b+c;return d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){if(b==0)return c;if(b==e)return c+d;if((b/=e/2)<1)return d/2*Math.pow(2,10*(b-1))+c;return d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){if((b/=e/2)<1)return-d/2*(Math.sqrt(1-b*b)-1)+c;return d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e)==1)return c+d;if(!g)g=e*.3;if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g))+c},easeOutElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e)==1)return c+d;if(!g)g=e*.3;if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*b)*Math.sin((b*e-f)*2*Math.PI/g)+d+c},easeInOutElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e/2)==2)return c+d;if(!g)g=e*.3*1.5;if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);if(b<1)return-.5*h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+c;return h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)*.5+d+c},easeInBack:function(a,b,c,d,e,f){if(f==undefined)f=1.70158;return d*(b/=e)*b*((f+1)*b-f)+c},easeOutBack:function(a,b,c,d,e,f){if(f==undefined)f=1.70158;return d*((b=b/e-1)*b*((f+1)*b+f)+1)+c},easeInOutBack:function(a,b,c,d,e,f){if(f==undefined)f=1.70158;if((b/=e/2)<1)return d/2*b*b*(((f*=1.525)+1)*b-f)+c;return d/2*((b-=2)*b*(((f*=1.525)+1)*b+f)+2)+c},easeInBounce:function(a,b,c,d,e){return d-jQuery.easing.easeOutBounce(a,e-b,0,d,e)+c},easeOutBounce:function(a,b,c,d,e){if((b/=e)<1/2.75){return d*7.5625*b*b+c}else if(b<2/2.75){return d*(7.5625*(b-=1.5/2.75)*b+.75)+c}else if(b<2.5/2.75){return d*(7.5625*(b-=2.25/2.75)*b+.9375)+c}else{return d*(7.5625*(b-=2.625/2.75)*b+.984375)+c}},easeInOutBounce:function(a,b,c,d,e){if(b<e/2)return jQuery.easing.easeInBounce(a,b*2,0,d,e)*.5+c;return jQuery.easing.easeOutBounce(a,b*2-e,0,d,e)*.5+d*.5+c}});a.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};a.expr[":"].uncached=function(b){var c=document.createElement("img");c.src=b.src;return a(b).is('img[src!=""]')&&!c.complete};a.fn.waitForImages=function(b,c,d){if(a.isPlainObject(arguments[0])){c=b.each;d=b.waitForAll;b=b.finished}b=b||a.noop;c=c||a.noop;d=!!d;if(!a.isFunction(b)||!a.isFunction(c)){throw new TypeError("An invalid callback was supplied.")}return this.each(function(){var e=a(this),f=[];if(d){var g=a.waitForImages.hasImageProperties||[],h=/url\((['"]?)(.*?)\1\)/g;e.find("*").each(function(){var b=a(this);if(b.is("img:uncached")){f.push({src:b.attr("src"),element:b[0]})}a.each(g,function(a,c){var d=b.css(c);if(!d){return true}var e;while(e=h.exec(d)){f.push({src:e[2],element:b[0]})}})})}else{e.find("img:uncached").each(function(){f.push({src:this.src,element:this})})}var i=f.length,j=0;if(i==0){b.call(e[0])}a.each(f,function(d,f){var g=new Image;a(g).bind("load error",function(a){j++;c.call(f.element,j,i,a.type=="load");if(j==i){b.call(e[0]);return false}});g.src=f.src})})};a.fn.swipe=function(b){if(!this)return false;var c={fingers:1,threshold:75,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,click:null,triggerOnTouchEnd:true,allowPageScroll:"auto"};var d="left";var e="right";var f="up";var g="down";var h="none";var i="horizontal";var j="vertical";var k="auto";var l="start";var m="move";var n="end";var o="cancel";var p="ontouchstart"in window,q=p?"touchstart":"mousedown",r=p?"touchmove":"mousemove",s=p?"touchend":"mouseup",t="touchcancel";var u="start";if(b.allowPageScroll==undefined&&(b.swipe!=undefined||b.swipeStatus!=undefined))b.allowPageScroll=h;if(b)a.extend(c,b);return this.each(function(){function b(){var a=v();if(a<=45&&a>=0)return d;else if(a<=360&&a>=315)return d;else if(a>=135&&a<=225)return e;else if(a>45&&a<135)return g;else return f}function v(){var a=H.x-I.x;var b=I.y-H.y;var c=Math.atan2(b,a);var d=Math.round(c*180/Math.PI);if(d<0)d=360-Math.abs(d);return d}function w(){return Math.round(Math.sqrt(Math.pow(I.x-H.x,2)+Math.pow(I.y-H.y,2)))}function x(a,b){if(c.allowPageScroll==h){a.preventDefault()}else{var l=c.allowPageScroll==k;switch(b){case d:if(c.swipeLeft&&l||!l&&c.allowPageScroll!=i)a.preventDefault();break;case e:if(c.swipeRight&&l||!l&&c.allowPageScroll!=i)a.preventDefault();break;case f:if(c.swipeUp&&l||!l&&c.allowPageScroll!=j)a.preventDefault();break;case g:if(c.swipeDown&&l||!l&&c.allowPageScroll!=j)a.preventDefault();break}}}function y(a,b){if(c.swipeStatus)c.swipeStatus.call(E,a,b,direction||null,distance||0);if(b==o){if(c.click&&(G==1||!p)&&(isNaN(distance)||distance==0))c.click.call(E,a,a.target)}if(b==n){if(c.swipe){c.swipe.call(E,a,direction,distance)}switch(direction){case d:if(c.swipeLeft)c.swipeLeft.call(E,a,direction,distance);break;case e:if(c.swipeRight)c.swipeRight.call(E,a,direction,distance);break;case f:if(c.swipeUp)c.swipeUp.call(E,a,direction,distance);break;case g:if(c.swipeDown)c.swipeDown.call(E,a,direction,distance);break}}}function z(a){G=0;H.x=0;H.y=0;I.x=0;I.y=0;J.x=0;J.y=0}function A(a){a.preventDefault();distance=w();direction=b();if(c.triggerOnTouchEnd){u=n;if((G==c.fingers||!p)&&I.x!=0){if(distance>=c.threshold){y(a,u);z(a)}else{u=o;y(a,u);z(a)}}else{u=o;y(a,u);z(a)}}else if(u==m){u=o;y(a,u);z(a)}D.removeEventListener(r,B,false);D.removeEventListener(s,A,false)}function B(a){if(u==n||u==o)return;var d=p?a.touches[0]:a;I.x=d.pageX;I.y=d.pageY;direction=b();if(p){G=a.touches.length}u=m;x(a,direction);if(G==c.fingers||!p){distance=w();if(c.swipeStatus)y(a,u,direction,distance);if(!c.triggerOnTouchEnd){if(distance>=c.threshold){u=n;y(a,u);z(a)}}}else{u=o;y(a,u);z(a)}}function C(a){var b=p?a.touches[0]:a;u=l;if(p){G=a.touches.length}distance=0;direction=null;if(G==c.fingers||!p){H.x=I.x=b.pageX;H.y=I.y=b.pageY;if(c.swipeStatus)y(a,u)}else{z(a)}D.addEventListener(r,B,false);D.addEventListener(s,A,false)}var D=this;var E=a(this);var F=null;var G=0;var H={x:0,y:0};var I={x:0,y:0};var J={x:0,y:0};try{this.addEventListener(q,C,false);this.addEventListener(t,z)}catch(K){}})}})(jQuery);



(function(e,t){function n(t,n){t.find(".defaultimg").each(function(i){p(e(this),n);n.height=Math.round(n.startheight*(n.width/n.startwidth));t.height(n.height);p(e(this),n);try{t.parent().find(".ss-bannershadow").css({width:n.width})}catch(s){}var o=t.find(">ul >li:eq("+n.act+") .slotholder");var u=t.find(">ul >li:eq("+n.next+") .slotholder");y(t,n);u.find(".defaultimg").css({opacity:0});o.find(".defaultimg").css({opacity:1});b(t,n);var a=t.find(">ul >li:eq("+n.next+")");t.find(".ss-caption").each(function(){e(this).stop(true,true)});L(a,n);r(n,t)})}function r(e,t){e.cd=0;if(e.videoplaying!=true){var n=t.find(".ss-bannertimer");if(n.length>0){n.stop();n.css({width:"0%"});n.animate({width:"100%"},{duration:e.delay-100,queue:false,easing:"linear"})}clearTimeout(e.thumbtimer);e.thumbtimer=setTimeout(function(){o(t);h(t,e)},200)}}function i(e,t){e.cd=0;w(t,e);var n=t.find(".ss-bannertimer");if(n.length>0){n.stop();n.css({width:"0%"});n.animate({width:"100%"},{duration:e.delay-100,queue:false,easing:"linear"})}}function s(n,r){var s=n.parent();if(r.navigationType=="thumb"||r.navsecond=="both"){s.append('<div class="ss-bullets ss-thumbs '+r.navigationStyle+'"><div class="ss-mask"><div class="ss-thumbcontainer"></div></div></div>')}var a=s.find(".ss-bullets.ss-thumbs .ss-mask .ss-thumbcontainer");var f=a.parent();f.width(r.thumbWidth*r.thumbAmount);f.height(r.thumbHeight);f.parent().width(r.thumbWidth*r.thumbAmount);f.parent().height(r.thumbHeight);n.find(">ul:first >li").each(function(e){var r=n.find(">ul:first >li:eq("+e+")");if(r.data("thumb")!=t)var i=r.data("thumb");else var i=r.find("img:first").attr("src");a.append('<div class="bullet thumb"><img src="'+i+'"></div>');var s=a.find(".bullet:first")});a.append('<div style="clear:both"></div>');var l=1e3;a.find(".bullet").each(function(t){var s=e(this);if(t==r.slideamount-1)s.addClass("last");if(t==0)s.addClass("first");s.width(r.thumbWidth);s.height(r.thumbHeight);if(l>s.outerWidth(true))l=s.outerWidth(true);s.click(function(){if(r.transition==0&&s.index()!=r.act){r.next=s.index();i(r,n)}})});var c=l*n.find(">ul:first >li").length;var h=a.parent().width();r.thumbWidth=l;if(h<c){e(document).mousemove(function(t){e("body").data("mousex",t.pageX)});a.parent().mouseenter(function(){var t=e(this);t.addClass("over");var r=t.offset();var i=e("body").data("mousex")-r.left;var s=t.width();var o=t.find(".bullet:first").outerWidth(true);var a=o*n.find(">ul:first >li").length;var f=a-s+15;var l=f/s;i=i-30;var c=0-i*l;if(c>0)c=0;if(c<0-a+s)c=0-a+s;u(t,c,200)});a.parent().mousemove(function(){var t=e(this);var r=t.offset();var i=e("body").data("mousex")-r.left;var s=t.width();var o=t.find(".bullet:first").outerWidth(true);var a=o*n.find(">ul:first >li").length;var f=a-s+15;var l=f/s;i=i-30;var c=0-i*l;if(c>0)c=0;if(c<0-a+s)c=0-a+s;u(t,c,0)});a.parent().mouseleave(function(){var t=e(this);t.removeClass("over");o(n)})}}function o(e){var t=e.parent().find(".ss-bullets.ss-thumbs .ss-mask .ss-thumbcontainer");var n=t.parent();var r=n.offset();var i=n.find(".bullet:first").outerWidth(true);var s=n.find(".bullet.selected").index()*i;var o=n.width();var i=n.find(".bullet:first").outerWidth(true);var a=i*e.find(">ul:first >li").length;var f=a-o;var l=f/o;var c=0-s;if(c>0)c=0;if(c<0-a+o)c=0-a+o;if(!n.hasClass("over")){u(n,c,200)}}function u(e,t,n){e.stop();e.find(".ss-thumbcontainer").animate({left:t+"px"},{duration:n,queue:false})}function a(t,n){if(n.navigationType=="bullet"||n.navigationType=="both"){t.parent().append('<div class="ss-bullets simplebullets '+n.navigationStyle+'"></div>')}var r=t.parent().find(".ss-bullets");t.find(">ul:first >li").each(function(e){var n=t.find(">ul:first >li:eq("+e+") img:first").attr("src");r.append('<div class="bullet"></div>');var i=r.find(".bullet:first")});r.find(".bullet").each(function(r){var s=e(this);if(r==n.slideamount-1)s.addClass("last");if(r==0)s.addClass("first");s.click(function(){if(n.transition==0&&s.index()!=n.act){n.next=s.index();i(n,t)}})});r.append('<div style="clear:both"></div>');h(t,n);e("#unvisible_button").click(function(){n.navigationArrows=e(".selectnavarrows").val();n.navigationType=e(".selectnavtype").val();h(t,n);setTimeout(function(){h(t,n)},100)})}function f(e,n){var r=e.find(".ss-bullets");var s="";if(n.navigationArrow=="none")s="visibility:none";e.parent().append('<div style="'+s+'" class="ss-leftarrow tparrows '+n.navigationStyle+'"></div>');e.parent().append('<div style="'+s+'" class="ss-rightarrow tparrows '+n.navigationStyle+'"></div>');e.parent().find(".ss-rightarrow").click(function(){if(n.transition==0){if(e.data("showus")!=t&&e.data("showus")!=-1)n.next=e.data("showus")-1;else n.next=n.next+1;e.data("showus",-1);if(n.next>=n.slideamount)n.next=0;if(n.next<0)n.next=0;if(n.act!=n.next)i(n,e)}});e.parent().find(".ss-leftarrow").click(function(){if(n.transition==0){n.next=n.next-1;n.leftarrowpressed=1;if(n.next<0)n.next=n.slideamount-1;i(n,e)}});h(e,n)}function l(e,t){if(t.touchenabled=="on")e.swipe({data:e,swipeRight:function(){if(t.transition==0){t.next=t.next-1;t.leftarrowpressed=1;if(t.next<0)t.next=t.slideamount-1;i(t,e)}},swipeLeft:function(){if(t.transition==0){t.next=t.next+1;if(t.next==t.slideamount)t.next=0;i(t,e)}},allowPageScroll:"auto"})}function c(e,t){var n=e.parent().find(".ss-bullets");var r=e.parent().find(".tparrows");if(n==null){e.append('<div class=".ss-bullets"></div>');var n=e.parent().find(".ss-bullets")}if(r==null){e.append('<div class=".tparrows"></div>');var r=e.parent().find(".tparrows")}e.data("hidethumbs",t.hideThumbs);if(t.ie){n.css({visibility:"hidden"});r.css({visibility:"hidden"})}else{try{n.css({opacity:0})}catch(i){}try{r.css({opacity:0})}catch(i){}}n.hover(function(){n.addClass("hovered");clearTimeout(e.data("hidethumbs"));n.animate({opacity:1},{duration:200,queue:false});r.animate({opacity:1},{duration:200,queue:false})},function(){n.removeClass("hovered");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){if(t.ie){n.css({visibility:"hidden"});r.css({visibility:"hidden"})}else{n.animate({opacity:0},{duration:200,queue:false});r.animate({opacity:0},{duration:200,queue:false})}},t.hideThumbs))});r.hover(function(){n.addClass("hovered");clearTimeout(e.data("hidethumbs"));if(t.ie){n.css({visibility:"visible"});r.css({visibility:"visible"})}else{n.animate({opacity:1},{duration:200,queue:false});r.animate({opacity:1},{duration:200,queue:false})}},function(){n.removeClass("hovered");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){if(t.ie){n.css({visibility:"hidden"});r.css({visibility:"hidden"})}else{n.animate({opacity:0},{duration:200,queue:false});r.animate({opacity:0},{duration:200,queue:false})}},t.hideThumbs))});e.live("mouseenter",function(){e.addClass("hovered");clearTimeout(e.data("hidethumbs"));if(t.ie){n.css({visibility:"visible"});r.css({visibility:"visible"})}else{n.animate({opacity:1},{duration:200,queue:false});r.animate({opacity:1},{duration:200,queue:false})}});e.live("mouseleave",function(){e.removeClass("hovered");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){if(t.ie){n.css({visibility:"hidden"});r.css({visibility:"hidden"})}else{n.animate({opacity:0},{duration:200,queue:false});r.animate({opacity:0},{duration:200,queue:false})}},t.hideThumbs))})}function h(t,n){if(n.navigationType=="both"){n.navigationType="bullet";n.navsecond="both"}if(n.navigationType=="none"&&n.navigationArrows!="none")n.navigationArrows="verticalcentered";n.navOH=n.navOffsetHorizontal*n.bw;n.navOV=n.navOffsetVertical*n.bh;if(n.bw!=1)n.navOH=0;var r=t.parent();var i=r.find(".ss-leftarrow");var s=r.find(".ss-rightarrow");if(n.navigationType=="bullet"){var o=r.find(".ss-bullets.simplebullets");var u=r.find(".ss-bullets.simplebullets.navbar");o.css({visibility:"visible"});try{r.find(".ss-thumbs").css({visibility:"hidden"});if(n.ie)r.find(".ss-thumbs").remove()}catch(a){}var f=o.width();if(!o.hasClass("ss-thumbs")){f=0;o.find(".bullet").each(function(){f=f+e(this).outerWidth(true)});o.css({width:f+"px"})}var l=r.outerWidth()-n.width;o.css({left:n.navOH+l/2+(n.width/2-f/2)+"px",bottom:n.navOV+"px"});if(n.navigationArrows=="nexttobullets"){i.removeClass("large");s.removeClass("large");i.removeClass("thumbswitharrow");s.removeClass("thumbswitharrow");i.css({visibility:"visible"});s.css({visibility:"visible"});var c=0;i.css({position:"absolute",left:o.position().left-i.outerWidth(true)+"px",top:o.position().top+"px"});s.css({position:"absolute",left:o.outerWidth(true)+o.position().left+"px",top:o.position().top+"px"});try{u.css({paddingLeft:"40px",paddingRight:"40px","margin-left":"-40px"})}catch(a){}}else{if(n.navigationArrows=="verticalcentered"){i.addClass("large");s.addClass("large");i.css({visibility:"visible"});s.css({visibility:"visible"});var h=r.outerHeight();i.css({position:"absolute",left:l/2+"px",top:h/2+"px"});s.css({position:"absolute",left:n.width-s.outerWidth()+l/2+"px",top:h/2+"px"});try{u.css({paddingLeft:"10px",paddingRight:"10px","margin-left":"-10px"})}catch(a){}}else{i.css({visibility:"hidden"});s.css({visibility:"hidden"});try{u.css({paddingLeft:"10px",paddingRight:"10px","margin-left":"-10px"})}catch(a){}}}}else{if(n.navigationType=="thumb"){var p=r.find(".ss-thumbs");try{r.find(".ss-bullets").css({visibility:"hidden"})}catch(a){}p.css({visibility:"visible"});var h=p.parent().outerHeight();var l=r.outerWidth()-n.width;p.css({left:n.navOH+(n.width/2-p.width()/2)+"px"});p.css({bottom:0-p.outerHeight(true)+n.navOV+"px"});if(n.navigationArrows=="verticalcentered"){i.css({visibility:"visible"});s.css({visibility:"visible"});i.addClass("large");s.addClass("large");i.css({position:"absolute",left:l/2+"px",top:r.outerHeight()/2+"px"});s.css({position:"absolute",left:n.width-s.outerWidth()+l/2+"px",top:r.outerHeight()/2+"px"})}else{i.css({visibility:"hidden"});s.css({visibility:"hidden"})}}else{if(n.navigationType=="none"){try{r.find(".ss-bullets").css({visibility:"hidden"})}catch(a){}try{r.find(".ss-thumbs").css({visibility:"hidden"})}catch(a){}if(n.navigationArrows!="none"){var l=r.outerWidth()-n.width;i.css({visibility:"visible"});s.css({visibility:"visible"});i.addClass("large");s.addClass("large");i.css({position:"absolute",left:l/2+"px",top:r.outerHeight()/2+"px"});s.css({position:"absolute",left:n.width-s.outerWidth()+l/2+"px",top:r.outerHeight()/2+"px"})}else{i.css({visibility:"hidden"});s.css({visibility:"hidden"})}}}}}function p(e,n){n.width=parseInt(n.container.width(),0);n.height=parseInt(n.container.height(),0);n.bw=n.width/n.startwidth;n.bh=n.height/n.startheight;if(n.bh>1){n.bw=1;n.bh=1}if(e.data("orgw")!=t){e.width(e.data("orgw"));e.height(e.data("orgh"))}var r=n.width/e.width();var i=n.height/e.height();n.fw=r;n.fh=i;if(e.data("orgw")==t){e.data("orgw",e.width());e.data("orgh",e.height())}if(n.fullWidth=="on"){var s=n.container.parent().width();var o=n.container.parent().height();var u=o/e.data("orgh");var a=s/e.data("orgw");e.width(e.width()*u);e.height(o);if(e.width()<s){e.width(s+50);var a=e.width()/e.data("orgw");e.height(e.data("orgh")*a)}if(e.width()>s){e.data("fxof",s/2-e.width()/2);e.css({position:"absolute",left:e.data("fxof")+"px"})}}else{e.width(n.width);e.height(e.height()*r);if(e.height()<n.height&&e.height()!=0&&e.height()!=null){e.height(n.height);e.width(e.data("orgw")*i)}}e.data("neww",e.width());e.data("newh",e.height());if(n.fullWidth=="on"){n.slotw=Math.ceil(e.width()/n.slots)}else{n.slotw=Math.ceil(n.width/n.slots)}n.sloth=Math.ceil(n.height/n.slots)}function d(n,r){n.find(".ss-caption").each(function(){e(this).addClass(e(this).data("transition"));e(this).addClass("start")});n.find(">ul:first >li").each(function(n){var r=e(this);if(r.data("link")!=t){var i=r.data("link");var s="_self";if(r.data("target")!=t)s=r.data("target");r.append('<div class="ss-caption sft slidelink" data-x="0" data-y="0" data-start="0"><a target="'+s+'" href="'+i+'"><div></div></a></div>')}});n.find(">ul:first >li >img").each(function(t){var n=e(this);n.addClass("defaultimg");p(n,r);p(n,r);n.wrap('<div class="slotholder"></div>');n.css({opacity:0});n.data("li-id",t)})}function v(e,n,r){var i=e;var s=i.find("img");p(s,n);var o=s.attr("src");var u=s.data("neww");var a=s.data("newh");var f=s.data("fxof");if(f==t)f=0;var l=0;if(!r)var l=0-n.slotw;for(var c=0;c<n.slots;c++)i.append('<div class="slot" style="position:absolute;top:0px;left:'+(f+c*n.slotw)+"px;overflow:hidden;width:"+n.slotw+"px;height:"+a+'px"><div class="slotslide" style="position:absolute;top:0px;left:'+l+"px;width:"+n.slotw+"px;height:"+a+'px;overflow:hidden;"><img style="position:absolute;top:0px;left:'+(0-c*n.slotw)+"px;width:"+u+"px;height:"+a+'px" src="'+o+'"></div></div>')}function m(e,n,r){var i=e;var s=i.find("img");p(s,n);var o=s.attr("src");var u=s.data("neww");var a=s.data("newh");var f=s.data("fxof");if(f==t)f=0;var l=0;if(!r)var l=0-n.sloth;for(var c=0;c<n.slots;c++)i.append('<div class="slot" style="position:absolute;top:'+c*n.sloth+"px;left:"+f+"px;overflow:hidden;width:"+u+"px;height:"+n.sloth+'px"><div class="slotslide" style="position:absolute;top:'+l+"px;left:0px;width:"+u+"px;height:"+n.sloth+'px;overflow:hidden;"><img style="position:absolute;top:'+(0-c*n.sloth)+"px;left:0px;width:"+u+"px;height:"+a+'px" src="'+o+'"></div></div>')}function g(e,n,r){var i=e;var s=i.find("img");p(s,n);var o=s.attr("src");var u=s.data("neww");var a=s.data("newh");var f=s.data("fxof");if(f==t)f=0;var l=0;var c=0;if(n.sloth>n.slotw)c=n.sloth;else c=n.slotw;if(!r){var l=0-c}n.slotw=c;n.sloth=c;var h=0;var d=0;for(var v=0;v<n.slots;v++){d=0;for(var m=0;m<n.slots;m++){i.append('<div class="slot" '+'style="position:absolute;'+"top:"+d+"px;"+"left:"+(f+h)+"px;"+"width:"+c+"px;"+"height:"+c+"px;"+'overflow:hidden;">'+'<div class="slotslide" data-x="'+h+'" data-y="'+d+'" '+'style="position:absolute;'+"top:"+0+"px;"+"left:"+0+"px;"+"width:"+c+"px;"+"height:"+c+"px;"+'overflow:hidden;">'+'<img style="position:absolute;'+"top:"+(0-d)+"px;"+"left:"+(0-h)+"px;"+"width:"+u+"px;"+"height:"+a+'px"'+'src="'+o+'"></div></div>');d=d+c}h=h+c}}function y(n,r,i){if(i==t)i==80;setTimeout(function(){n.find(".slotholder .slot").each(function(){clearTimeout(e(this).data("tout"));e(this).remove()});r.transition=0},i)}function b(e,t){var n=e.find(">li:eq("+t.act+")");var r=e.find(">li:eq("+t.next+")");var i=r.find(".ss-caption");if(i.find("iframe")==0){if(i.hasClass("hcenter"))i.css({height:t.height+"px",top:"0px",left:t.width/2-i.outerWidth()/2+"px"});else if(i.hasClass("vcenter"))i.css({width:t.width+"px",left:"0px",top:t.height/2-i.outerHeight()/2+"px"})}}function w(n,r){r.transition=1;r.videoplaying=false;try{var i=n.find(">ul:first-child >li:eq("+r.act+")")}catch(s){var i=n.find(">ul:first-child >li:eq(1)")}var u=n.find(">ul:first-child >li:eq("+r.next+")");var a=i.find(".slotholder");var f=u.find(".slotholder");i.css({visibility:"visible"});u.css({visibility:"visible"});if(r.ie){if(u.data("transition")=="boxfade")u.data("transition","boxslide");if(u.data("transition")=="slotfade-vertical")u.data("transition","slotzoom-vertical");if(u.data("transition")=="slotfade-horizontal")u.data("transition","slotzoom-horizontal")}if(u.data("delay")!=t){r.cd=0;r.delay=u.data("delay")}else{r.delay=r.origcd}i.css({left:"0px",top:"0px"});u.css({left:"0px",top:"0px"});var l=0;if(u.data("transition")=="boxslide")l=0;else if(u.data("transition")=="boxfade")l=1;else if(u.data("transition")=="slotslide-horizontal")l=2;else if(u.data("transition")=="slotslide-vertical")l=3;else if(u.data("transition")=="curtain-1")l=4;else if(u.data("transition")=="curtain-2")l=5;else if(u.data("transition")=="curtain-3")l=6;else if(u.data("transition")=="slotzoom-horizontal")l=7;else if(u.data("transition")=="slotzoom-vertical")l=8;else if(u.data("transition")=="slotfade-horizontal")l=9;else if(u.data("transition")=="slotfade-vertical")l=10;else if(u.data("transition")=="fade")l=11;else if(u.data("transition")=="slideleft")l=12;else if(u.data("transition")=="slideup")l=13;else if(u.data("transition")=="slidedown")l=14;else if(u.data("transition")=="slideright")l=15;else if(u.data("transition")=="papercut")l=16;else if(u.data("transition")=="3dcurtain-horizontal")l=17;else if(u.data("transition")=="3dcurtain-vertical")l=18;else if(u.data("transition")=="cubic")l=19;else if(u.data("transition")=="flyin")l=20;else if(u.data("transition")=="turnoff")l=21;else{l=Math.round(Math.random()*21);u.data("slotamount",Math.round(Math.random()*12+4))}if(u.data("transition")=="random-static"){l=Math.round(Math.random()*16);if(l>15)l=15;if(l<0)l=0}if(u.data("transition")=="random-premium"){l=Math.round(Math.random()*6+16);if(l>21)l=21;if(l<16)l=16}var c=-1;if(r.leftarrowpressed==1||r.act>r.next)c=1;if(u.data("transition")=="slidehorizontal"){l=12;if(r.leftarrowpressed==1)l=15}if(u.data("transition")=="slidevertical"){l=13;if(r.leftarrowpressed==1)l=14}r.leftarrowpressed=0;if(l>21)l=21;if(l<0)l=0;if(!e.support.transition&&l>16){l=Math.round(Math.random()*16);u.data("slotamount",Math.round(Math.random()*12+4))}if(r.ie&&(l==17||l==16||l==2||l==3||l==9||l==10))l=Math.round(Math.random()*3+12);if(r.ie9&&l==3)l=4;var h=300;if(u.data("masterspeed")!=t&&u.data("masterspeed")>99&&u.data("masterspeed")<4001)h=u.data("masterspeed");n.parent().find(".bullet").each(function(){var t=e(this);t.removeClass("selected");if(t.index()==r.next)t.addClass("selected")});n.find(">li").each(function(){var t=e(this);if(t.index!=r.act&&t.index!=r.next)t.css({"z-index":16})});i.css({"z-index":18});u.css({"z-index":20});u.css({opacity:0});E(i,r);L(u,r);if(u.data("slotamount")==t||u.data("slotamount")<1){r.slots=Math.round(Math.random()*12+4);if(u.data("transition")=="boxslide")r.slots=Math.round(Math.random()*6+3)}else{r.slots=u.data("slotamount")}if(u.data("rotate")==t)r.rotate=0;else if(u.data("rotate")==999)r.rotate=Math.round(Math.random()*360);else r.rotate=u.data("rotate");if(!e.support.transition||r.ie||r.ie9)r.rotate=0;if(r.firststart==1){i.css({opacity:0});r.firststart=0}if(l==0){h=h+100;if(r.slots>10)r.slots=10;u.css({opacity:1});g(a,r,true);g(f,r,false);f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);if(!e.support.transition)s.transition({top:0-r.sloth,left:0-r.slotw},0);else s.transition({top:0-r.sloth,left:0-r.slotw,rotate:r.rotate},0);setTimeout(function(){if(!e.support.transition)s.transition({top:0,left:0,scale:1,rotate:0},h*1.5,function(){if(t==r.slots*r.slots-1){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})},t*15)})}if(l==1){if(r.slots>5)r.slots=5;u.css({opacity:1});g(f,r,false);f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);s.css({opacity:0});s.find("img").css({opacity:0});if(r.ie9)s.find("img").transition({top:Math.random()*r.slotw-r.slotw+"px",left:Math.random()*r.slotw-r.slotw+"px"},0);else s.find("img").transition({top:Math.random()*r.slotw-r.slotw+"px",left:Math.random()*r.slotw-r.slotw+"px",rotate:r.rotate},0);var l=Math.random()*1e3+(h+200);if(t==r.slots*r.slots-1)l=1500;s.find("img").transition({opacity:1,top:0-s.data("y")+"px",left:0-s.data("x")+"px",rotate:0},l);s.transition({opacity:1},l,function(){if(t==r.slots*r.slots-1){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})})}if(l==2){h=h+200;u.css({opacity:1});v(a,r,true);v(f,r,false);f.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(){var t=e(this);t.transit({left:r.slotw+"px",rotate:0-r.rotate},h,function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)})});f.find(".slotslide").each(function(){var t=e(this);if(r.ie9)t.transit({left:0-r.slotw+"px"},0);else t.transit({left:0-r.slotw+"px",rotate:r.rotate},0);t.transit({left:"0px",rotate:0},h,function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});if(r.ie)a.find(".defaultimg").css({opacity:1});r.act=r.next;o(n)})})}if(l==3){h=h+200;u.css({opacity:1});m(a,r,true);m(f,r,false);f.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(){var t=e(this);t.transit({top:r.sloth+"px",rotate:r.rotate},h,function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)})});f.find(".slotslide").each(function(){var t=e(this);if(r.ie9)t.transit({top:0-r.sloth+"px"},0);else t.transit({top:0-r.sloth+"px",rotate:r.rotate},0);t.transit({top:"0px",rotate:0},h,function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)})})}if(l==4){u.css({opacity:1});v(a,r,true);v(f,r,true);f.find(".defaultimg").css({opacity:0});a.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(t){var n=e(this);n.transit({top:0+r.height+"px",opacity:1,rotate:r.rotate},h+t*(70-r.slots))});f.find(".slotslide").each(function(t){var s=e(this);if(r.ie9)s.transition({top:0-r.height+"px",opacity:0},0);else s.transition({top:0-r.height+"px",opacity:0,rotate:r.rotate},0);s.transition({top:"0px",opacity:1,rotate:0},h+t*(70-r.slots),function(){if(t==r.slots-1){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})})}if(l==5){u.css({opacity:1});v(a,r,true);v(f,r,true);f.find(".defaultimg").css({opacity:0});a.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(t){var n=e(this);n.transition({top:0+r.height+"px",opacity:1,rotate:r.rotate},h+(r.slots-t)*(70-r.slots))});f.find(".slotslide").each(function(t){var s=e(this);if(r.ie9)s.transition({top:0-r.height+"px",opacity:0},0);else s.transition({top:0-r.height+"px",opacity:0,rotate:r.rotate},0);s.transition({top:"0px",opacity:1,rotate:0},h+(r.slots-t)*(70-r.slots),function(){if(t==0){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})})}if(l==6){u.css({opacity:1});if(r.slots<2)r.slots=2;v(a,r,true);v(f,r,true);f.find(".defaultimg").css({opacity:0});a.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(t){var n=e(this);if(t<r.slots/2)var i=(t+2)*60;else var i=(2+r.slots-t)*60;n.transition({top:0+r.height+"px",opacity:1},h+i)});f.find(".slotslide").each(function(t){var s=e(this);if(r.ie9)s.transition({top:0-r.height+"px",opacity:0},0);else s.transition({top:0-r.height+"px",opacity:0,rotate:r.rotate},0);if(t<r.slots/2)var l=(t+2)*60;else var l=(2+r.slots-t)*60;s.transition({top:"0px",opacity:1,rotate:0},h+l,function(){if(t==Math.round(r.slots/2)){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})})}if(l==7){h=h*3;u.css({opacity:1});v(a,r,true);v(f,r,true);f.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(){var t=e(this).find("img");t.transition({left:0-r.slotw/2+"px",top:0-r.height/2+"px",width:r.slotw*2+"px",height:r.height*2+"px",opacity:0,rotate:r.rotate},h,function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)})});/						/;f.find(".slotslide").each(function(t){var s=e(this).find("img");if(r.ie9)s.transition({left:0+"px",top:0+"px",opacity:0},0);else s.transition({left:0+"px",top:0+"px",opacity:0,rotate:r.rotate},0);s.transition({left:0-t*r.slotw+"px",top:0+"px",width:f.find(".defaultimg").data("neww")+"px",height:f.find(".defaultimg").data("newh")+"px",opacity:1,rotate:0},h,function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)})})}if(l==8){h=h*3;u.css({opacity:1});m(a,r,true);m(f,r,true);f.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(){var t=e(this).find("img");t.transition({left:0-r.width/2+"px",top:0-r.sloth/2+"px",width:r.width*2+"px",height:r.sloth*2+"px",opacity:0,rotate:r.rotate},h,function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)})});f.find(".slotslide").each(function(t){var s=e(this).find("img");if(r.ie9)s.transition({left:0+"px",top:0+"px",opacity:0},0);else s.transition({left:0+"px",top:0+"px",opacity:0,rotate:r.rotate},0);s.transition({left:0+"px",top:0-t*r.sloth+"px",width:f.find(".defaultimg").data("neww")+"px",height:f.find(".defaultimg").data("newh")+"px",opacity:1,rotate:0},h,function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)})})}if(l==9){u.css({opacity:1});r.slots=r.width/20;v(f,r,true);f.find(".defaultimg").css({opacity:0});var p=0;f.find(".slotslide").each(function(t){var n=e(this);p++;n.transition({opacity:0,x:0,y:0},0);n.data("tout",setTimeout(function(){n.transition({x:0,y:0,opacity:1},h)},t*4))});setTimeout(function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});if(r.ie)a.find(".defaultimg").css({opacity:1});r.act=r.next;o(n)},h+p*4)}if(l==10){u.css({opacity:1});r.slots=r.height/20;m(f,r,true);f.find(".defaultimg").css({opacity:0});var p=0;f.find(".slotslide").each(function(t){var n=e(this);p++;n.transition({opacity:0,x:0,y:0},0);n.data("tout",setTimeout(function(){n.transition({x:0,y:0,opacity:1},h)},t*4))});setTimeout(function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});if(r.ie)a.find(".defaultimg").css({opacity:1});r.act=r.next;o(n)},h+p*4)}if(l==11){u.css({opacity:1});r.slots=1;v(f,r,true);f.find(".defaultimg").css({opacity:0});var p=0;f.find(".slotslide").each(function(t){var n=e(this);p++;if(r.ie9||r.ie)n.transition({opacity:0},0);else n.transition({opacity:0,rotate:r.rotate},0);n.transition({opacity:1,rotate:0},h)});setTimeout(function(){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});if(r.ie)a.find(".defaultimg").css({opacity:1});r.act=r.next;o(n)},h)}if(l==12||l==13||l==14||l==15){h=h*3;u.css({opacity:1});r.slots=1;v(f,r,true);v(a,r,true);a.find(".defaultimg").css({opacity:0});f.find(".defaultimg").css({opacity:0});var d=r.width;var b=r.height;if(r.fullWidth=="on"){d=r.container.parent().width();b=r.container.parent().height()}var w=f.find(".slotslide");if(l==12)if(r.ie9)w.transition({left:d+"px"},0);else w.transition({left:d+"px",rotate:r.rotate},0);else if(l==15)if(r.ie9)w.transition({left:0-r.width+"px"},0);else w.transition({left:0-r.width+"px",rotate:r.rotate},0);else if(l==13)if(r.ie9)w.transition({top:b+"px"},0);else w.transition({top:b+"px",rotate:r.rotate},0);else if(l==14)if(r.ie9)w.transition({top:0-r.height+"px"},0);else w.transition({top:0-r.height+"px",rotate:r.rotate},0);w.transition({left:"0px",top:"0px",opacity:1,rotate:0},h,function(){y(n,r,0);if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});f.find(".defaultimg").css({opacity:1});r.act=r.next;o(n)});var S=a.find(".slotslide");if(l==12)S.transition({left:0-d+"px",opacity:1,rotate:0},h);else if(l==15)S.transition({left:d+"px",opacity:1,rotate:0},h);else if(l==13)S.transition({top:0-b+"px",opacity:1,rotate:0},h);else if(l==14)S.transition({top:b+"px",opacity:1,rotate:0},h)}if(l==16){i.css({position:"absolute","z-index":20});u.css({position:"absolute","z-index":15});i.wrapInner('<div class="ss-half-one"></div>');i.find(".ss-half-one").clone(true).appendTo(i).addClass("ss-half-two");i.find(".ss-half-two").removeClass("ss-half-one");i.find(".ss-half-two").wrapInner('<div class="ss-offset"></div>');i.find(".ss-half-one").css({width:r.width+"px",height:r.height/2+"px",overflow:"hidden",position:"absolute",top:"0px",left:"0px"});i.find(".ss-half-two").css({width:r.width+"px",height:r.height/2+"px",overflow:"hidden",position:"absolute",top:r.height/2+"px",left:"0px"});i.find(".ss-half-two .ss-offset").css({position:"absolute",top:0-r.height/2+"px",left:"0px"});if(!e.support.transition){i.find(".ss-half-one").animate({opacity:0,top:0-r.height/2+"px"},{duration:500,queue:false});i.find(".ss-half-two").animate({opacity:0,top:r.height+"px"},{duration:500,queue:false})}else{var x=Math.round(Math.random()*40-20);var T=Math.round(Math.random()*40-20);var N=Math.random()*1+1;var C=Math.random()*1+1;i.find(".ss-half-one").transition({opacity:1,scale:N,rotate:x,y:0-r.height/1.4+"px"},800,"in");i.find(".ss-half-two").transition({opacity:1,scale:C,rotate:T,y:0+r.height/1.4+"px"},800,"in");if(i.html()!=null)u.transition({scale:.8,x:r.width*.1,y:r.height*.1,rotate:x},0).transition({rotate:0,scale:1,x:0,y:0},600,"snap")}f.find(".defaultimg").css({opacity:1});setTimeout(function(){i.css({position:"absolute","z-index":18});u.css({position:"absolute","z-index":20});f.find(".defaultimg").css({opacity:1});a.find(".defaultimg").css({opacity:0});if(i.find(".ss-half-one").length>0){i.find(".ss-half-one >img, .ss-half-one >div").unwrap()}i.find(".ss-half-two").remove();r.transition=0;r.act=r.next},800);u.css({opacity:1})}if(l==17){h=h+100;if(r.slots>10)r.slots=10;u.css({opacity:1});m(a,r,true);m(f,r,false);f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);s.transition({opacity:0,rotateY:350,rotateX:40,perspective:"1400px"},0);setTimeout(function(){s.transition({opacity:1,top:0,left:0,scale:1,perspective:"150px",rotate:0,rotateY:0,rotateX:0},h*2,function(){if(t==r.slots-1){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})},t*100)})}if(l==18){h=h+100;if(r.slots>10)r.slots=10;u.css({opacity:1});v(a,r,true);v(f,r,false);f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);s.transition({rotateX:10,rotateY:310,perspective:"1400px",rotate:0,opacity:0},0);setTimeout(function(){s.transition({top:0,left:0,scale:1,perspective:"150px",rotate:0,rotateY:0,rotateX:0,opacity:1},h*2,function(){if(t==r.slots-1){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})},t*100)})}if(l==19){h=h+100;if(r.slots>10)r.slots=10;u.css({opacity:1});v(a,r,true);v(f,r,false);f.find(".defaultimg").css({opacity:0});var k=u.css("z-index");var A=i.css("z-index");f.find(".slotslide").each(function(t){var s=e(this);s.parent().css({overflow:"visible"});s.css({background:"#333"});if(c==1)s.transition({opacity:0,left:0,top:r.height/2,perspective:r.height*100,rotate3d:"1, 0, 0, -90deg "},0);else s.transition({opacity:0,left:0,top:0-r.height/2,perspective:r.height*100,rotate3d:"1, 0, 0, 90deg "},0);setTimeout(function(){s.transition({opacity:1,top:0,rotate3d:" 1, 0, 0, 0deg "},h*2,function(){if(t==r.slots-1){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})},t*150)});a.find(".slotslide").each(function(t){var n=e(this);n.parent().css({overflow:"visible"});n.css({background:"#333"});n.transition({top:0,perspective:r.height*100,rotate3d:"1, 0, 0, 0deg"},0);a.find(".defaultimg").css({opacity:0});setTimeout(function(){if(c==1)n.transition({opacity:.6,left:0,top:0-r.height/2,rotate3d:"1, 0, 0, 90deg"},h*2,function(){});else n.transition({opacity:.6,left:0,top:0+r.height/2,rotate3d:"1, 0, 0, -90deg"},h*2,function(){})},t*150)})}if(l==20){h=h+100;if(r.slots>10)r.slots=10;u.css({opacity:1});m(a,r,true);m(f,r,false);f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);s.parent().css({overflow:"visible"});if(c==1)s.transition({scale:.8,top:0,left:0-r.width,perspective:r.width,rotate3d:"2, 5, 0, 110deg"},0);else s.transition({scale:.8,top:0,left:0+r.width,perspective:r.width,rotate3d:"2, 5, 0, -110deg"},0);setTimeout(function(){s.transition({scale:.8,left:0,perspective:r.width,rotate3d:"1, 5, 0, 0deg"},h*2,"ease").transition({scale:1},200,"out",function(){if(t==r.slots-1){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})},t*100)});a.find(".slotslide").each(function(t){var n=e(this);n.transition({scale:.5,left:0,perspective:500,rotate3d:"1, 5, 0, 5deg"},300,"in-out");a.find(".defaultimg").css({opacity:0});setTimeout(function(){if(c==1)n.transition({top:0,left:r.width/2,perspective:r.width,rotate3d:"0, -3, 0, 70deg",opacity:0},h*2,"out",function(){});else n.transition({top:0,left:0-r.width/2,perspective:r.width,rotate3d:"0, -3, 0, -70deg",opacity:0},h*2,"out",function(){})},t*100)})}if(l==21){h=h+100;if(r.slots>10)r.slots=10;u.css({opacity:1});m(a,r,true);m(f,r,false);f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);if(c==1)s.transition({top:0,left:0-r.width/2,perspective:r.width*2,rotate3d:"0, 100, 0, 90deg"},0);else s.transition({top:0,left:0+r.width/2,perspective:r.width*2,rotate3d:"0, 100, 0, -90deg"},0);setTimeout(function(){s.transition({left:0,perspective:r.width*2,rotate3d:"0, 0, 0, 0deg"},h*2,function(){if(t==r.slots-1){y(n,r);f.find(".defaultimg").css({opacity:1});if(u.index()!=i.index())a.find(".defaultimg").css({opacity:0});r.act=r.next;o(n)}})},t*100)});a.find(".slotslide").each(function(t){var n=e(this);n.transition({left:0,perspective:r.width*2,rotate3d:"0, 0, 0, 0deg"},0);a.find(".defaultimg").css({opacity:0});setTimeout(function(){if(c==1)n.transition({top:0,left:r.width/2,perspective:r.width,rotate3d:"0, 1000, 0, -90deg"},h*1.5,function(){});else n.transition({top:0,left:0-r.width/2,perspective:r.width,rotate3d:"0, 1000, 0, +90deg"},h*1.5,function(){})},t*100)})}var O={};O.slideIndex=r.next+1;n.trigger("sosweet.slide.onchange",O);n.trigger("sosweet.slide.onvideostop")}function E(e,n){e.find(".ss-caption").each(function(n){var r=e.find(".ss-caption:eq("+n+")");r.stop(true,true);clearTimeout(r.data("timer"));clearTimeout(r.data("timer-end"));var i=r.data("easing");i="easeInOutSine";var s=r.data("repx");var o=r.data("repy");var u=r.data("repo");var a=r.data("rotate");var f=r.data("scale");if(r.find("iframe").length>0){try{var l=r.find("iframe");var c=l.attr("id");var h=$f(c);h.api("pause")}catch(p){}try{var d=r.data("player");d.stopVideo()}catch(p){}}try{if(a!=t||f!=t){if(a==t)a=0;if(f==t)f=1;r.transition({rotate:a,scale:f,opacity:0,left:s+"px",top:o+"px"},r.data("speed")+10,function(){r.removeClass("noFilterClass");r.css({visibility:"hidden"})})}else{r.animate({opacity:0,left:s+"px",top:o+"px"},{duration:r.data("speed")+10,easing:i,complete:function(){r.removeClass("noFilterClass");r.css({visibility:"hidden"})}})}}catch(p){}})}function S(){}function x(t){if(t.data==YT.PlayerState.PLAYING){var n=e("body").find(".ss-bannertimer");var r=n.data("opt");n.stop();r.videoplaying=true;r.videostartednow=1}else{var n=e("body").find(".ss-bannertimer");var r=n.data("opt");if(r.conthover==0)n.animate({width:"100%"},{duration:r.delay-r.cd-100,queue:false,easing:"linear"});r.videoplaying=false;r.videostoppednow=1}}function T(e){e.target.playVideo()}function N(e,t,n){if(e.addEventListener){e.addEventListener(t,n,false)}else{e.attachEvent(t,n,false)}}function C(t){var n=$f(t);n.addEvent("ready",function(t){n.addEvent("play",function(t){var n=e("body").find(".ss-bannertimer");var r=n.data("opt");n.stop();r.videoplaying=true});n.addEvent("finish",function(t){var n=e("body").find(".ss-bannertimer");var r=n.data("opt");if(r.conthover==0)n.animate({width:"100%"},{duration:r.delay-r.cd-100,queue:false,easing:"linear"});r.videoplaying=false;r.videostartednow=1});n.addEvent("pause",function(t){var n=e("body").find(".ss-bannertimer");var r=n.data("opt");if(r.conthover==0)n.animate({width:"100%"},{duration:r.delay-r.cd-100,queue:false,easing:"linear"});r.videoplaying=false;r.videostoppednow=1})})}function k(t){var n=$f(t);n.addEvent("ready",function(e){n.api("play")});n.addEvent("play",function(t){var n=e("body").find(".ss-bannertimer");var r=n.data("opt");n.stop();r.videoplaying=true});n.addEvent("finish",function(t){var n=e("body").find(".ss-bannertimer");var r=n.data("opt");if(r.conthover==0)n.animate({width:"100%"},{duration:r.delay-r.cd-100,queue:false,easing:"linear"});r.videoplaying=false;r.videostartednow=1});n.addEvent("pause",function(t){var n=e("body").find(".ss-bannertimer");var r=n.data("opt");if(r.conthover==0)n.animate({width:"100%"},{duration:r.delay-r.cd-100,queue:false,easing:"linear"});r.videoplaying=false;r.videostoppednow=1})}function L(n,r,i){n.find(".ss-caption").each(function(i){offsetx=r.width/2-r.startwidth/2;if(r.bh>1){r.bw=1;r.bh=1}if(r.bw>1){r.bw=1;r.bh=1}var s=r.bw;var o=r.bh;var u=n.find(".ss-caption:eq("+i+")");u.stop(true,true);if(u.data("linktoslide")!=t){u.css({cursor:"pointer"});u.click(function(){var t=e(this);var n=t.data("linktoslide");if(n!="next"&&n!="prev"){r.container.data("showus",n);r.container.parent().find(".ss-rightarrow").click()}else if(n=="next")r.container.parent().find(".ss-rightarrow").click();else if(n=="prev")r.container.parent().find(".ss-leftarrow").click()})}if(u.hasClass("coloredbg"))offsetx=0;if(offsetx<0)offsetx=0;var a=0;clearTimeout(u.data("timer"));clearTimeout(u.data("timer-end"));var f="iframe"+Math.round(Math.random()*1e3+1);if(u.find("iframe").length>0){u.find("iframe").each(function(){var n=e(this);if(n.attr("src").toLowerCase().indexOf("youtube")>=0){if(!n.hasClass("HasListener")){try{n.attr("id",f);var r;if(u.data("autoplay")==true)r=new YT.Player(f,{events:{onStateChange:x,onReady:T}});else r=new YT.Player(f,{events:{onStateChange:x}});n.addClass("HasListener");u.data("player",r)}catch(i){}}}else{if(n.attr("src").toLowerCase().indexOf("vimeo")>=0){if(!n.hasClass("HasListener")){n.addClass("HasListener");n.attr("id",f);var s=n.attr("src");var o={},a=s,l=/([^&=]+)=([^&]*)/g,c;while(c=l.exec(a)){o[decodeURIComponent(c[1])]=decodeURIComponent(c[2])}if(o["player_id"]!=t){s=s.replace(o["player_id"],f)}else{s=s+"&player_id="+f}try{s=s.replace("api=0","api=1")}catch(i){}s=s+"&api=1";n.attr("src",s);var r=u.find("iframe")[0];if(u.data("autoplay")==true)$f(r).addEvent("ready",k);else $f(r).addEvent("ready",C)}}}})}if(u.hasClass("randomrotate")&&(r.ie||r.ie9))u.removeClass("randomrotate").addClass("sfb");u.removeClass("noFilterClass");var l=0;var c=0;if(u.find("img").length>0){var h=u.find("img");if(h.data("ww")==t)h.data("ww",h.width());if(h.data("hh")==t)h.data("hh",h.height());var p=h.data("ww");var d=h.data("hh");h.width(p*r.bw);h.height(d*r.bh);l=h.width();c=h.height()}else{if(u.find("iframe").length>0){var h=u.find("iframe");if(u.data("ww")==t){u.data("ww",h.width())}if(u.data("hh")==t)u.data("hh",h.height());var p=u.data("ww");var d=u.data("hh");var v=u;if(v.data("fsize")==t)v.data("fsize",parseInt(v.css("font-size"),0)||0);if(v.data("pt")==t)v.data("pt",parseInt(v.css("paddingTop"),0)||0);if(v.data("pb")==t)v.data("pb",parseInt(v.css("paddingBottom"),0)||0);if(v.data("pl")==t)v.data("pl",parseInt(v.css("paddingLeft"),0)||0);if(v.data("pr")==t)v.data("pr",parseInt(v.css("paddingRight"),0)||0);if(v.data("mt")==t)v.data("mt",parseInt(v.css("marginTop"),0)||0);if(v.data("mb")==t)v.data("mb",parseInt(v.css("marginBottom"),0)||0);if(v.data("ml")==t)v.data("ml",parseInt(v.css("marginLeft"),0)||0);if(v.data("mr")==t)v.data("mr",parseInt(v.css("marginRight"),0)||0);if(v.data("bt")==t)v.data("bt",parseInt(v.css("borderTop"),0)||0);if(v.data("bb")==t)v.data("bb",parseInt(v.css("borderBottom"),0)||0);if(v.data("bl")==t)v.data("bl",parseInt(v.css("borderLeft"),0)||0);if(v.data("br")==t)v.data("br",parseInt(v.css("borderRight"),0)||0);if(v.data("lh")==t)v.data("lh",parseInt(v.css("lineHeight"),0)||0);var m=r.width;var g=r.height;if(m>r.startwidth)m=r.startwidth;if(g>r.startheight)g=r.startheight;if(!u.hasClass("fullscreenvideo"))u.css({"font-size":v.data("fsize")*r.bw+"px","padding-top":v.data("pt")*r.bh+"px","padding-bottom":v.data("pb")*r.bh+"px","padding-left":v.data("pl")*r.bw+"px","padding-right":v.data("pr")*r.bw+"px","margin-top":v.data("mt")*r.bh+"px","margin-bottom":v.data("mb")*r.bh+"px","margin-left":v.data("ml")*r.bw+"px","margin-right":v.data("mr")*r.bw+"px","border-top":v.data("bt")*r.bh+"px","border-bottom":v.data("bb")*r.bh+"px","border-left":v.data("bl")*r.bw+"px","border-right":v.data("br")*r.bw+"px","line-height":v.data("lh")*r.bh+"px",height:d*r.bh+"px","white-space":"nowrap"});else u.css({width:r.startwidth*r.bw,height:r.startheight*r.bh});h.width(p*r.bw);h.height(d*r.bh);l=h.width();c=h.height()}else{var v=u;if(v.data("fsize")==t)v.data("fsize",parseInt(v.css("font-size"),0)||0);if(v.data("pt")==t)v.data("pt",parseInt(v.css("paddingTop"),0)||0);if(v.data("pb")==t)v.data("pb",parseInt(v.css("paddingBottom"),0)||0);if(v.data("pl")==t)v.data("pl",parseInt(v.css("paddingLeft"),0)||0);if(v.data("pr")==t)v.data("pr",parseInt(v.css("paddingRight"),0)||0);if(v.data("mt")==t)v.data("mt",parseInt(v.css("marginTop"),0)||0);if(v.data("mb")==t)v.data("mb",parseInt(v.css("marginBottom"),0)||0);if(v.data("ml")==t)v.data("ml",parseInt(v.css("marginLeft"),0)||0);if(v.data("mr")==t)v.data("mr",parseInt(v.css("marginRight"),0)||0);if(v.data("bt")==t)v.data("bt",parseInt(v.css("borderTop"),0)||0);if(v.data("bb")==t)v.data("bb",parseInt(v.css("borderBottom"),0)||0);if(v.data("bl")==t)v.data("bl",parseInt(v.css("borderLeft"),0)||0);if(v.data("br")==t)v.data("br",parseInt(v.css("borderRight"),0)||0);if(v.data("lh")==t)v.data("lh",parseInt(v.css("lineHeight"),0)||0);u.css({"font-size":v.data("fsize")*r.bw+"px","padding-top":v.data("pt")*r.bh+"px","padding-bottom":v.data("pb")*r.bh+"px","padding-left":v.data("pl")*r.bw+"px","padding-right":v.data("pr")*r.bw+"px","margin-top":v.data("mt")*r.bh+"px","margin-bottom":v.data("mb")*r.bh+"px","margin-left":v.data("ml")*r.bw+"px","margin-right":v.data("mr")*r.bw+"px","border-top":v.data("bt")*r.bh+"px","border-bottom":v.data("bb")*r.bh+"px","border-left":v.data("bl")*r.bw+"px","border-right":v.data("br")*r.bw+"px","line-height":v.data("lh")*r.bh+"px","white-space":"nowrap"});c=u.outerHeight(true);l=u.outerWidth(true)}}if(u.hasClass("fade")){u.css({opacity:0,left:s*u.data("x")+offsetx+"px",top:r.bh*u.data("y")+"px"})}if(u.hasClass("randomrotate")){u.css({left:s*u.data("x")+offsetx+"px",top:o*u.data("y")+a+"px"});var y=Math.random()*2+1;var b=Math.round(Math.random()*200-100);var w=Math.round(Math.random()*200-100);var E=Math.round(Math.random()*200-100);u.data("repx",w);u.data("repy",E);u.data("repo",u.css("opacity"));u.data("rotate",b);u.data("scale",y);u.transition({opacity:0,scale:y,rotate:b,x:w,y:E,duration:"0ms"})}else{if(r.ie||r.ie9){}else u.transition({scale:1,rotate:0})}if(u.hasClass("lfr")){u.css({opacity:1,left:15+r.width+"px",top:r.bh*u.data("y")+"px"})}if(u.hasClass("lfl")){u.css({opacity:1,left:-15-l+"px",top:r.bh*u.data("y")+"px"})}if(u.hasClass("sfl")){u.css({opacity:0,left:s*u.data("x")-50+offsetx+"px",top:r.bh*u.data("y")+"px"})}if(u.hasClass("sfr")){u.css({opacity:0,left:s*u.data("x")+50+offsetx+"px",top:r.bh*u.data("y")+"px"})}if(u.hasClass("lft")){u.css({opacity:1,left:s*u.data("x")+offsetx+"px",top:-25-c+"px"})}if(u.hasClass("lfb")){u.css({opacity:1,left:s*u.data("x")+offsetx+"px",top:25+r.height+"px"})}if(u.hasClass("sft")){u.css({opacity:0,left:s*u.data("x")+offsetx+"px",top:r.bh*u.data("y")-50+"px"})}if(u.hasClass("sfb")){u.css({opacity:0,left:s*u.data("x")+offsetx+"px",top:r.bh*u.data("y")+50+"px"})}u.data("timer",setTimeout(function(){u.css({visibility:"visible"});if(u.hasClass("fade")){u.data("repo",u.css("opacity"));u.animate({opacity:1},{duration:u.data("speed")});if(r.ie)u.addClass("noFilterClass")}if(u.hasClass("randomrotate")){u.transition({opacity:1,scale:1,left:s*u.data("x")+offsetx+"px",top:o*u.data("y")+a+"px",rotate:0,x:0,y:0,duration:u.data("speed")});if(r.ie)u.addClass("noFilterClass")}if(u.hasClass("lfr")||u.hasClass("lfl")||u.hasClass("sfr")||u.hasClass("sfl")||u.hasClass("lft")||u.hasClass("lfb")||u.hasClass("sft")||u.hasClass("sfb")){var e=u.data("easing");if(e==t)e="linear";u.data("repx",u.position().left);u.data("repy",u.position().top);u.data("repo",u.css("opacity"));u.animate({opacity:1,left:s*u.data("x")+offsetx+"px",top:r.bh*u.data("y")+"px"},{duration:u.data("speed"),easing:e});if(r.ie)u.addClass("noFilterClass")}},u.data("start")));if(u.data("end")!=t)u.data("timer-end",setTimeout(function(){if((r.ie||r.ie9)&&(u.hasClass("randomrotate")||u.hasClass("randomrotateout"))){u.removeClass("randomrotate").removeClass("randomrotateout").addClass("fadeout")}var e=u.data("endspeed");if(e==t)e=u.data("speed");var n=u.data("repx");var i=u.data("repy");var s=u.data("repo");if(u.hasClass("ltr")||u.hasClass("ltl")||u.hasClass("str")||u.hasClass("stl")||u.hasClass("ltt")||u.hasClass("ltb")||u.hasClass("stt")||u.hasClass("stb")){n=u.position().left;i=u.position().top;if(u.hasClass("ltr"))n=r.width+20;else if(u.hasClass("ltl"))n=0-u.width()-20;else if(u.hasClass("ltt"))i=0-u.height()-20;else if(u.hasClass("ltb"))i=r.height+20;else if(u.hasClass("str")){n=n+50;s=0}else if(u.hasClass("stl")){n=n-50;s=0}else if(u.hasClass("stt")){i=i-50;s=0}else if(u.hasClass("stb")){i=i+50;s=0}var o=u.data("endeasing");if(o==t)o="linear";u.animate({opacity:s,left:n+"px",top:i+"px"},{duration:u.data("endspeed"),easing:o});if(r.ie)u.addClass("noFilterClass")}else if(u.hasClass("randomrotateout")){u.transition({opacity:0,scale:Math.random()*2+.3,left:Math.random()*r.width+"px",top:Math.random()*r.height+"px",rotate:Math.random()*40,duration:e});if(r.ie)u.addClass("noFilterClass")}else if(u.hasClass("fadeout")){u.animate({opacity:0},{duration:e});if(r.ie)u.addClass("noFilterClass")}else if(u.hasClass("lfr")||u.hasClass("lfl")||u.hasClass("sfr")||u.hasClass("sfl")||u.hasClass("lft")||u.hasClass("lfb")||u.hasClass("sft")||u.hasClass("sfb")){if(u.hasClass("lfr"))n=r.width+20;else if(u.hasClass("lfl"))n=0-u.width()-20;else if(u.hasClass("lft"))i=0-u.height()-20;else if(u.hasClass("lfb"))i=r.height+20;var o=u.data("endeasing");if(o==t)o="linear";u.animate({opacity:s,left:n+"px",top:i+"px"},{duration:u.data("endspeed"),easing:o});if(r.ie)u.addClass("noFilterClass")}else if(u.hasClass("fade")){u.animate({opacity:0},{duration:e});if(r.ie)u.addClass("noFilterClass")}else if(u.hasClass("randomrotate")){u.transition({opacity:0,scale:Math.random()*2+.3,left:Math.random()*r.width+"px",top:Math.random()*r.height+"px",rotate:Math.random()*40,duration:e});if(r.ie)u.addClass("noFilterClass")}},u.data("end")))})}function A(e,n){n.cd=0;n.loop=0;if(n.stopAfterLoops!=t&&n.stopAfterLoops>-1)n.looptogo=n.stopAfterLoops;else n.looptogo=9999999;if(n.stopAtSlide!=t&&n.stopAtSlide>-1)n.lastslidetoshow=n.stopAtSlide;else n.lastslidetoshow=999;if(n.looptogo==0)n.stopLoop="on";if(n.slideamount>1&&!(n.stopAfterLoops==0&&n.stopAtSlide==1)){var r=e.find(".ss-bannertimer");if(r.length>0){r.css({width:"0%"});r.animate({width:"100%"},{duration:n.delay-100,queue:false,easing:"linear"})}r.data("opt",n);n.cdint=setInterval(function(){if(e.data("conthover-changed")==1){n.conthover=e.data("conthover");e.data("conthover-changed",0)}if(n.conthover!=1&&n.videoplaying!=true)n.cd=n.cd+100;if(n.videostartednow==1){e.trigger("sosweet.slide.onvideoplay");n.videostartednow=0}if(n.videostoppednow==1){e.trigger("sosweet.slide.onvideostop");n.videostoppednow=0}if(n.cd>=n.delay){n.cd=0;n.act=n.next;n.next=n.next+1;if(n.next>e.find(">ul >li").length-1){n.next=0;n.looptogo=n.looptogo-1;if(n.loop<=0){n.stopLoop="on"}}if(n.stopLoop=="on"&&n.next==n.lastslidetoshow-1){clearInterval(n.cdint);e.find(".ss-bannertimer").css({visibility:"hidden"});e.trigger("sosweet.slide.onstop")}w(e,n);if(r.length>0){r.css({width:"0%"});r.animate({width:"100%"},{duration:n.delay-100,queue:false,easing:"linear"})}}},100);e.hover(function(){if(n.onHoverStop=="on"){n.conthover=1;r.stop();e.trigger("sosweet.slide.onpause")}},function(){if(e.data("conthover")!=1){e.trigger("sosweet.slide.onresume");n.conthover=0;if(n.onHoverStop=="on"&&n.videoplaying!=true){r.animate({width:"100%"},{duration:n.delay-n.cd-100,queue:false,easing:"linear"})}}})}}e.fn.extend({sosweet:function(r){var i={delay:9e3,startheight:490,startwidth:890,hideThumbs:200,thumbWidth:100,thumbHeight:50,thumbAmount:5,navigationType:"both",navigationArrows:"nexttobullets",navigationStyle:"round",touchenabled:"on",onHoverStop:"on",navOffsetHorizontal:0,navOffsetVertical:20,stopAtSlide:4,stopAfterLoops:1,shadow:1,stopLoop:"off"};r=e.extend({},e.fn.sosweet.defaults,r);return this.each(function(){var i=r;var o=e(this);i.firefox13=e.browser.mozilla&&(parseInt(e.browser.version,0)==13||parseInt(e.browser.version,0)==14||parseInt(e.browser.version,0)==15||parseInt(e.browser.version,0)==16);i.ie=e.browser.msie&&parseInt(e.browser.version,0)<9;i.ie9=e.browser.msie&&parseInt(e.browser.version,0)==9;var u=e.fn.jquery.split("."),h=parseFloat(u[0]),p=parseFloat(u[1]),v=parseFloat(u[2]||"0");if(h==1&&p<7){o.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+u+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the sosweet Slider Plugin</div>")}if(!e.support.transition)e.fn.transition=e.fn.animate;e.cssEase["bounce"]="cubic-bezier(0,1,0.5,1.3)";o.find(".caption").each(function(){e(this).addClass("ss-caption")});o.find(".ss-caption iframe").each(function(){try{if(e(this).attr("src").indexOf("you")>0){var t=document.createElement("script");t.src="https://www.youtube.com/player_api";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)}}catch(r){}});o.find(".ss-caption iframe").each(function(){try{if(e(this).attr("src").indexOf("vim")>0){var t=document.createElement("script");t.src="https://a.vimeocdn.com/js/froogaloop2.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)}}catch(r){}});if(i.shuffle=="on"){for(var m=0;m<o.find(">ul:first-child >li").length;m++){var g=Math.round(Math.random()*o.find(">ul:first-child >li").length);o.find(">ul:first-child >li:eq("+g+")").prependTo(o.find(">ul:first-child"))}}i.slots=4;i.act=-1;i.next=0;i.origcd=i.delay;i.firststart=1;if(i.navOffsetHorizontal==t)i.navOffsetHorizontal=0;if(i.navOffsetVertical==t)i.navOffsetVertical=0;i.navOH=i.navOffsetHorizontal;i.navOV=i.navOffsetVertical;o.append('<div class="ss-loader"></div>');if(o.find(".ss-bannertimer").length==0)o.append('<div class="ss-bannertimer" style="visibility:hidden"></div>');var y=o.find(".ss-bannertimer");if(y.length>0){y.css({width:"0%"})}o.addClass("ss-simpleresponsive");i.container=o;i.slideamount=o.find(">ul:first >li").length;if(o.height()==0)o.height(i.startheight);if(i.startwidth==t||i.startwidth==0)i.startwidth=o.width();if(i.startheight==t||i.startheight==0)i.startheight=o.height();i.width=o.width();i.height=o.height();i.bw=i.startwidth/o.width();i.bh=i.startheight/o.height();if(i.width!=i.startwidth){i.height=Math.round(i.startheight*(i.width/i.startwidth));o.height(i.height)}if(i.shadow!=0){o.parent().append('<div class="ss-bannershadow ss-shadow'+i.shadow+'"></div>');o.parent().find(".ss-bannershadow").css({width:i.width})}o.waitForImages(function(){d(o,i);if(i.slideamount>1)a(o,i);if(i.slideamount>1)s(o,i);if(i.slideamount>1)f(o,i);l(o,i);if(i.hideThumbs>0)c(o,i);o.waitForImages(function(){o.find(".ss-loader").fadeOut(600);setTimeout(function(){w(o,i);if(i.slideamount>1)A(o,i)},600)})});e(window).resize(function(){if(o.outerWidth(true)!=i.width){n(o,i)}})})},revpause:function(t){return this.each(function(){var t=e(this);t.data("conthover",1);t.data("conthover-changed",1);t.trigger("sosweet.slide.onpause");var n=t.parent().find(".ss-bannertimer");n.stop()})},revresume:function(t){return this.each(function(){var t=e(this);t.data("conthover",0);t.data("conthover-changed",1);t.trigger("sosweet.slide.onresume");var n=t.parent().find(".ss-bannertimer");var r=n.data("opt");n.animate({width:"100%"},{duration:r.delay-r.cd-100,queue:false,easing:"linear"})})},revnext:function(t){return this.each(function(){var t=e(this);t.parent().find(".ss-rightarrow").click()})},revprev:function(t){return this.each(function(){var t=e(this);t.parent().find(".ss-leftarrow").click()})},revmaxslide:function(t){return e(this).find(">ul:first-child >li").length},revshowslide:function(t){return this.each(function(){var n=e(this);n.data("showus",t);n.parent().find(".ss-rightarrow").click()})}})})(jQuery);







//slider
$(function() {
				
if ($.fn.cssOriginal!=undefined)
$.fn.css = $.fn.cssOriginal;

$('.fullwidthbanner').sosweet(
				{	
	delay:8000,												
	startwidth:960,
	startheight:670,
	hideThumbs:200,
	onHoverStop:"on",						
// Stop Banner Timet at Hover on Slide on/off
	navigationType:"none",					
//bullet, thumb, none, both (No Shadow in Fullwidth Version !)
	touchenabled:"on",						
// Enable Swipe Function : on/off
	fullWidth:"on",
	navOffsetHorizontal:0,
	navOffsetVertical:-25,
	shadow:0,												
	});	
});

            
          
!
999px

Console