var sliderOptions= { sliderId: "slider", effect: "13", effectRandom: false, pauseTime: 2600, transitionTime: 500, slices: 12, boxes: 8, hoverPause: 1, autoAdvance: true, captionOpacity: 0.3, captionEffect: "fade", thumbnailsWrapperId: "thumbs", m: false, license: "evolever-license" }; var imageSlider=new mcImgSlider(sliderOptions); /* Menucool Javascript Image Slider v2013.3.18. Copyright www.menucool.com */ function mcImgSlider(k){var K=function(a){return document.getElementById(a)},d="length",M=function(e){var a=e.childNodes,c=[];if(a)for(var b=0,f=a[d];bd?1:-1,g=Math.ceil(60*c.c/1e3),a,e=1;e<=g;e++){a=d+c.b(e/g,c.d)*j;if(i!=f)a=Math.round(a);b.push(a)}b.index=0;return b},n:function(){this.b==null&&this.p()},p:function(){this.q();var a=this;this.b=this.e?window.requestAnimationFrame(function(){a.p()}):window.setInterval(function(){a.q()},15)},q:function(){var a=this.d[d];if(a){for(var c=0;c=a.a[d])a.a.p=0}if(b<1||b>17)b=15;return b}},nb=["$1$2$3","$1$2$3","$1$24","$1$23","$1$22"],bb=function(){if(b.b!=2){b.b=1;clearTimeout(q);q=null}},X=function(){if(b.b!=2){b.b=0;if(q==null&&!b.c&&a.i)q=setTimeout(function(){h.y(h.n(b.a+1),0,1)},a.b/2)}},u=[];function fb(){var f;if(a.l)f=K(a.l);if(f)for(var g=f.childNodes,e=0;e1)q=setTimeout(function(){l.y(l.n(1),0,1)},a.b+a.c);if(a.h!=0){e.onmouseover=bb;e.onmouseout=X}if(ab()==300)e[c]["-webkit-transform"]="translate3d(0,0,0)"},d:function(c){var a=McVideo.play(c,s,w);if(a)b.b=2;return!this.b},f:function(){I=H("navBulletsWrapper");for(var f=[],a=0;a");I.innerHTML=f.join("");for(var c=M(I),a=0;a1)if(!a.k)l[c][z]=n[c][z]="hidden";else{e=0;var b={c:a.c*.3,b:a.k==1?x.a.f:x.a.h,d:a.k==1?0:2},i=b;i.a=function(){l[c][z]=n[c][z]="hidden";h.m()};if(typeof r[t]!=="undefined"){j.r(n,"width",r[g],C[g],b);j.r(l,"width",B[g],A[g],b);j.r(n,"marginLeft",r[t],C[t],b);j.r(l,"marginLeft",B[t],A[t],b)}if(typeof r[f]!=="undefined"){j.r(n,f,r[f],C[f],b);j.r(l,f,B[f],A[f],i)}}e&&setTimeout(function(){h.m()},a.c*.3)},m:function(){N.innerHTML=G.innerHTML=L;if(L){l[c][z]=n[c][z]="visible";if(a.k){var d=a.c*a.k;if(d>1e3)d=1e3;var b={c:d,b:a.k==1?x.a.g:x.a.j,d:a.k==1?0:2};if(typeof r[t]!=="undefined"){j.r(n,"width",C[g],r[g],b);j.r(l,"width",A[g],B[g],b);j.r(n,"marginLeft",C[t],r[t],b);j.r(l,"marginLeft",A[t],B[t],b)}if(typeof r[f]!=="undefined"){j.r(n,f,C[f],r[f],b);j.r(l,f,A[f],B[f],b)}}else{E(n,1);E(l,a.j)}}},a:function(a){return a.replace(/(?:.*\.)?(\w)([\w\-])?[^.]*(\w)\.[^.]*$/,"$1$3$2")},o:function(){b.c=0;clearTimeout(q);q=null;e[c][J]='url("'+b.e[p]("src")+'") no-repeat';var f=this,d=b.e[y];if(this.z(d)&&d[p]("autoPlayVideo")=="true")this.d(d);else if(!b.b&&a.i)q=setTimeout(function(){f.y(f.n(b.a+1),0,1)},a.b);a.Oa.call(this,b.a,b.e)},p:function(h){b.c=1;if(o[b.a][D]=="IMG")b.e=o[b.a];else b.e=P(o[b.a],"img")[0];this.g();clearTimeout(U);L=this.k();var g=P(e,"div");i=g[d];while(i--)if(g[i][m]=="mcSlc"||g[i][m]=="mcBox"){var j=e.removeChild(g[i]);delete j}var c=h?h:a.n();a.Ob.apply(this,[b.a,b.e,L,c]);Z(b.a);var f=c<14?this.w(c):this.x();if(c<9||c==15){if(c%2)f=f.reverse()}else if(c<14)f=f[0];if(c<9)this.q(f,c);else if(c<13)this.r(f,c);else if(c==13)this.s(f);else if(c<16)this.t(f,c);else this.u(f,c)},q:function(b,e){for(var h=0,i=e<7?{height:0,opacity:-.4}:{width:0,opacity:0},k={height:w,opacity:1},a=0,j=b[d];a10)d[c][b==11?"bottom":"top"]="0";if(b<11)var e=0,f=s;else{e=0;f=w}var i={b:x.a.j,c:a.c*1.6,a:function(){h.o()}};j.r(d,b<11?"width":"height",e,f,i)},s:function(b){b[c][O]="0";b[c][g]=s+"px";b[c][v]=w+"px";var d={c:a.c*1.6,a:function(){h.o()}};j.r(b,f,0,1,d)},t:function(b){var s=a.g*a.m,p=0,n=0,j=0,h=0,f=[];f[0]=[];for(var e=0,o=b[d];e=0&&i8?s:Math.round(s/a.f),l=i>8?1:a.f,h=0;hb.a?"10":"9";this.p(a)},n:function(a){if(a>=b.d)a=0;else if(a<0)a=b.d-1;return a},To:function(a){this.y(this.n(b.a+a))},z:function(a){return a[m].indexOf(" video")>-1}};var T=function(){var a=K(k.sliderId);if(a&&P(a,"img")[d]&&a.offsetHeight)h=new cb(a);else setTimeout(T,900)};S();ib(window,"load",T);var kb=function(){if(e){j.d=[];clearTimeout(q);clearTimeout(U);q=U=null;var c=M(e),g=c[d];while(g--)if(c[g][D]=="DIV"){var k=c[g][y].removeChild(c[g]);delete k}var f=K("mcVideo");if(f){f.src="";var i=f[y][y].removeChild(f[y]);delete i}b={a:0,e:"",d:0,c:0,b:0}}S();T();if(!h.b)a.i=h.b},db=0,W=function(c){if(++db<20)if(!h||typeof tooltip=="undefined")setTimeout(function(){W(c)},300);else for(var b=M(I),a=0;a