svn commit: r1787742 [43/49] - in /ofbiz/branches/ofbiz-new-website: ./ bootstrap/ bootstrap/css/ bootstrap/img/ bootstrap/js/ bootstrap/js/with carousel/ css/ documentation/ documentation/assets/ documentation/assets/css/ documentation/assets/css/img/...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1787742 [43/49] - in /ofbiz/branches/ofbiz-new-website: ./ bootstrap/ bootstrap/css/ bootstrap/img/ bootstrap/js/ bootstrap/js/with carousel/ css/ documentation/ documentation/assets/ documentation/assets/css/ documentation/assets/css/img/...

Sharan Foga
Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/rs-plugin/js/jquery.themepunch.revolution.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/rs-plugin/js/jquery.themepunch.revolution.js
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/rs-plugin/js/jquery.themepunch.revolution.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

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

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/rs-plugin/js/jquery.themepunch.revolution.min.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/rs-plugin/js/jquery.themepunch.revolution.min.js
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/rs-plugin/js/jquery.themepunch.revolution.min.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/css/sequence.css
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/css/sequence.css?rev=1787742&view=auto
==============================================================================
--- ofbiz/branches/ofbiz-new-website/js-plugin/sequence/css/sequence.css (added)
+++ ofbiz/branches/ofbiz-new-website/js-plugin/sequence/css/sequence.css Mon Mar 20 12:28:40 2017
@@ -0,0 +1,325 @@
+
+/* THEME STYLES */
+
+#sequence {
+  margin: 0 auto;
+  position: relative;
+  overflow: hidden;
+  width: 100%;
+  /*max-width: 1280px;*/
+
+  background-repeat: no-repeat;
+  background-position: 50% 100%;
+  color: white;
+  font-size: 0.625em;
+  margin: 0 auto;
+  position: relative;
+  height: 550px; }
+  #sequence > .sequence-canvas {
+    height: 100%;
+    width: 100%; }
+    #sequence > .sequence-canvas > li {
+      position: absolute;
+      width: 100%;
+      height: 100%;
+      z-index: 1;
+      top: -50%; }
+      #sequence > .sequence-canvas > li img {
+        height: 74% !important; }
+    #sequence > .sequence-canvas li > * {
+      position: absolute;
+      /* only cause the left and opacity properties to transition */
+      -webkit-transition-property: left, opacity;
+      -moz-transition-property: left, opacity;
+      -ms-transition-property: left, opacity;
+      -o-transition-property: left, opacity;
+      transition-property: left, opacity; }
+
+.sequence-next,
+.sequence-prev {
+  color: white;
+  cursor: pointer;
+  display: none;
+  font-weight: bold;
+  padding: 10px 15px;
+  position: absolute;
+  top: 50%;
+  z-index: 1000;
+  height: 75px;
+  margin-top: -47.5px; }
+
+.sequence-pause {
+  bottom: 0;
+  cursor: pointer;
+  position: absolute;
+  z-index: 1000; }
+
+.sequence-paused {
+  opacity: 0.3; }
+
+.sequence-prev {
+  left: 3%; }
+
+.sequence-next {
+  right: 3%; }
+
+.sequence-prev img,
+.sequence-next img {
+  height: 100%;
+  width: auto; }
+
+#sequence-preloader {
+  background: #d9d9d9; }
+
+.sequence-pagination {
+  bottom: 1%;
+  display: none;
+  right: 6%;
+  position: absolute;
+  z-index: 10;
+  -webkit-transition-duration: 0.5s;
+  -moz-transition-duration: 0.5s;
+  -ms-transition-duration: 0.5s;
+  -o-transition-duration: 0.5s;
+  transition-duration: 0.5s; }
+  .sequence-pagination li {
+    display: inline-block;
+    *display: inline;
+    /* Hack for IE7 and below as they don't support inline-block */
+    height: 140px; }
+    .sequence-pagination li img {
+      cursor: pointer;
+      opacity: 0.5;
+      -webkit-transition-duration: 1s;
+      -moz-transition-duration: 1s;
+      -ms-transition-duration: 1s;
+      -o-transition-duration: 1s;
+      transition-duration: 1s;
+      -webkit-transition-property: margin-bottom, opacity;
+      -moz-transition-property: margin-bottom, opacity;
+      -ms-transition-property: margin-bottom, opacity;
+      -o-transition-property: margin-bottom, opacity;
+      transition-property: margin-bottom, opacity; }
+    .sequence-pagination li img:hover {
+      margin-bottom: 4px;
+      -webkit-transition-duration: 0.3s;
+      -moz-transition-duration: 0.3s;
+      -ms-transition-duration: 0.3s;
+      -o-transition-duration: 0.3s;
+      transition-duration: 0.3s; }
+  .sequence-pagination li.current img {
+    opacity: 1; }
+
+h2 {
+  color: white;
+  font-weight: bold;
+  text-transform: uppercase; }
+
+
+.sequence-next,
+.sequence-prev {
+  position: absolute;
+  opacity: 0.6;
+  -webkit-transition-duration: 1s;
+  -moz-transition-duration: 1s;
+  -ms-transition-duration: 1s;
+  -o-transition-duration: 1s;
+  transition-duration: 1s; }
+
+.sequence-next:hover,
+.sequence-prev:hover {
+  opacity: 1;
+  -webkit-transition-duration: 1s;
+  -moz-transition-duration: 1s;
+  -ms-transition-duration: 1s;
+  -o-transition-duration: 1s;
+  transition-duration: 1s; }
+
+.title {
+  font-size: 3.4em;
+  left: 65%;
+  width: 35%;
+  opacity: 0;
+  bottom: 1%;
+  z-index: 50; }
+
+.animate-in .title {
+  left: 50%;
+  opacity: 1;
+  -webkit-transition-duration: 0.5s;
+  -moz-transition-duration: 0.5s;
+  -ms-transition-duration: 0.5s;
+  -o-transition-duration: 0.5s;
+  transition-duration: 0.5s; }
+
+.animate-out .title {
+  left: 35%;
+  opacity: 0;
+  -webkit-transition-duration: 0.5s;
+  -moz-transition-duration: 0.5s;
+  -ms-transition-duration: 0.5s;
+  -o-transition-duration: 0.5s;
+  transition-duration: 0.5s; }
+
+.subtitle {
+  color: black;
+  font-size: 2em;
+  left: 35%;
+  width: 35%;
+  opacity: 0;
+  top: 101%; }
+
+.animate-in .subtitle {
+  left: 50%;
+  opacity: 1;
+  -webkit-transition-duration: 0.5s;
+  -moz-transition-duration: 0.5s;
+  -ms-transition-duration: 0.5s;
+  -o-transition-duration: 0.5s;
+  transition-duration: 0.5s; }
+
+.animate-out .subtitle {
+  left: 65%;
+  opacity: 0;
+  -webkit-transition-duration: 0.5s;
+  -moz-transition-duration: 0.5s;
+  -ms-transition-duration: 0.5s;
+  -o-transition-duration: 0.5s;
+  transition-duration: 0.5s; }
+
+.model {
+  left: 30%;
+  bottom: -48%;
+  opacity: 0;
+  position: relative;
+  height: auto !important;
+  max-height: 568px !important;
+
+ /*min-width: 225px;
+  /* prevents the model from shrinking when the browser is resized */
+ /* max-width: 266px;*/ }
+
+.animate-in .model {
+  left: 15%;
+  opacity: 1;
+  -webkit-transition-duration: 1s;
+  -moz-transition-duration: 1s;
+  -ms-transition-duration: 1s;
+  -o-transition-duration: 1s;
+  transition-duration: 1s; }
+
+.animate-out .model {
+  left: 15%;
+  opacity: 0;
+  -webkit-transition-duration: 0.5s;
+  -moz-transition-duration: 0.5s;
+  -ms-transition-duration: 0.5s;
+  -o-transition-duration: 0.5s;
+  transition-duration: 0.5s; }
+
+
+
+@media only screen and (min-width: 992px) {
+  #sequence .title {
+    width: 42%; } }
+@media only screen and (max-width: 838px) {
+  #sequence {
+    height: 550px; }
+    #sequence .model {
+      max-height: 530px !important;
+      width: auto; } }
+@media only screen and (max-width: 768px) {
+  #sequence {
+    height: 250px; }
+    #sequence .title {
+      font-size: 2.8em; }
+    #sequence .subtitle {
+      font-size: 1.6em; }
+    #sequence .sequence-next,
+    #sequence .sequence-prev {
+      height: 60px;
+      margin-top: -40px; }
+    #sequence .model {
+      max-height: 480px !important;
+      width: auto; } }
+    #sequence .sequence-pagination {
+      opacity: 0;
+      visibility: hidden; } }
+@media only screen and (max-width: 568px) {
+  #sequence .model {
+    left: 50%;
+    /*min-width: 40%;*/
+    /*prevents the model from shrinking when the browser is resized*/
+    /*width: 40%;*/ }
+  #sequence .animate-in .model {
+    left: 50%;
+    margin-left: -20%; }
+  #sequence .animate-out .model {
+    left: 50%;
+    margin-left: -20%; }
+
+  #sequence .title {
+    background: #a1a1a1;
+    background: rgba(0, 0, 0, 0.3);
+    bottom: 0;
+    left: 100%;
+    padding: 4%;
+    bottom: -50% !important;
+    width: 100%;
+    z-index: 10; }
+
+  #sequence .animate-in .title {
+    left: 0%; }
+  #sequence .animate-out .title {
+    left: -100%; }
+  #sequence .subtitle {
+    visibility: hidden; }
+  #sequence .sequence-pagination {
+    bottom: 40px; }
+    #sequence .sequence-pagination li img {
+      height: 100px; } }
+@media only screen and (max-width: 518px) {
+  #sequence {
+    height: 450px; } }
+@media only screen and (max-width: 468px) {
+  #sequence {
+    height: 415px; }
+    #sequence .sequence-pagination {
+      opacity: 0;
+      visibility: hidden; } }
+@media only screen and (max-width: 418px) {
+  #sequence {
+    height: 375px; } }
+@media only screen and (max-width: 368px) {
+  #sequence {
+    height: 175px; }
+    #sequence .title {
+      font-size: 2.2em; } }
+@media only screen and (max-width: 320px) and (orientation: portrait) {
+  /*iphone portrait*/
+  #sequence {
+    height: 210px; }
+    #sequence .model {
+      /*min-width: 45%;*/
+      /*width: 45%;*/ }
+    #sequence .animate-in .model {
+      margin-left: -22.5%; }
+    #sequence .animate-out .model {
+      margin-left: -22.5%; } }
+@media only screen and (min-width: 321px) and (max-width: 480px) and (orientation: landscape) {
+  #sequence {
+    height: 260px; }
+    #sequence .model {
+      /*min-width: 24%;*/
+      /*width: 24%;*/ }
+    #sequence .animate-in .model {
+      left: 17.5%;
+      margin-left: 0; }
+    #sequence .animate-out .model {
+      left: 17.5%;
+      margin-left: 0; }
+    #sequence .sequence-pagination {
+      right: 17.5%; } }
+
+
+

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/css/sequence.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/css/sequence.css
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/css/sequence.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bg-sequence.jpg
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bg-sequence.jpg?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bg-sequence.jpg
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bg-sequence.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bt-next.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bt-next.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bt-next.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bt-next.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bt-prev.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bt-prev.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bt-prev.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/bt-prev.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model1.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model1.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model1.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model1.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model2.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model2.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model2.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model3.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model3.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model3.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/model3.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/pause-icon.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/pause-icon.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/pause-icon.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/pause-icon.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/sequence-logo.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/sequence-logo.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/sequence-logo.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/sequence-logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model1.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model1.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model1.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model1.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model2.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model2.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model2.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model3.png
URL: http://svn.apache.org/viewvc/ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model3.png?rev=1787742&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model3.png
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/branches/ofbiz-new-website/js-plugin/sequence/images/tn-model3.png
------------------------------------------------------------------------------
    svn:mime-type = image/png