// http://wowslider.com/ http://javascript-source.com
ws_fade=function(options){var $=jQuery;options.duration=options.duration||1000;var Images=[];var curIdx=0;this.init=function(aCont){Images=$("img",aCont).get();$(Images).each(function(Index){if(!Index){$(this).show();}else{$(this).hide();}});};this.go=function(new_index){$(Images).each(function(Index){if(Index==new_index){$(this).fadeIn(options.duration);}if(Index==curIdx){$(this).fadeOut(options.duration);}});curIdx=new_index;return true;};};// -----------------------------------------------------------------------------------
jQuery.fn.wowSlider=function(options){var $this=this;var $=jQuery;options=$.extend({effect:function(options){var images;this.init=function(aCont){images=aCont.find("img");images.each(function(Index){if(!Index){$(this).show();}else{$(this).hide();}});};this.go=function(new_index,curIdx){$(images.get(new_index)).fadeIn(options.duration);$(images.get(curIdx)).fadeOut(options.duration);return true;};},prev:"",next:"",duration:1000,delay:2000,outWidth:960,outHeight:360,width:960,height:360,caption:true,controls:true,autoPlay:true,bullets:true,onStep:function(){},stopOnHover:0},options);var $Elements=$this.find(".ws_images A");var images=$Elements.find("IMG");$Elements.each(function(index){var inner=$(this).html()||"";var pos=inner.indexOf(">",inner);if(pos>=0){$(this).data("descr",inner.substr(pos+1));if(pos<inner.length-1){$(this).html(inner.substr(0,pos+1));}}$(this).css({'font-size':0});});var elementsCount=$Elements.length;var frame=$("A.ws_frame",$this).get(0);var curIdx=0;function go(index){if(curIdx==index){return;}var current=effect.go(index,curIdx);if(!current){return;}if(typeof current!="object"){current=$Elements[index];}curIdx=index;go2(index);if(options.caption){setTitle(current);}options.onStep(curIdx);}function go2(index){if(options.bullets){setBullet(index);}if(frame){frame.setAttribute("href",$Elements.get(index).href);}}var autoPlayTimer;function restartPlay(){stopPlay();if(options.autoPlay){autoPlayTimer=setTimeout(function(){go(curIdx<elementsCount-1?curIdx+1:0);restartPlay();},options.delay+options.duration);}}function stopPlay(){if(autoPlayTimer){clearTimeout(autoPlayTimer);}autoPlayTimer=null;}function forceGo(event,index){stopPlay();event.preventDefault();go(index);restartPlay();}$Elements.find("IMG").css("position","absolute");if(typeof options.effect=="string"){options.effect=window["ws_"+options.effect];}var effect=new options.effect(options,$this);effect.init($(".ws_images",$this));$Elements.find("IMG").css("visibility","visible");var ic=c=$(".ws_images",$this);var t="";c=t?$("<div></div>"):0;if(c){c.css({position:"absolute",right:"2px",bottom:"2px",padding:"0 0 0 0"});ic.append(c);}if(c&&document.all){var f=$("<iframe src=\"javascript:false\"></iframe>");f.css({position:"absolute",left:0,top:0,width:"100%",height:"100%",filter:"alpha(opacity=0)"});f.attr({scrolling:"no",framespacing:0,border:0,frameBorder:"no"});c.append(f);}var d=c?$(document.createElement("A")):c;if(d){d.css({position:"relative",display:"block",'background-color':"#E4EFEB",color:"#837F80",'font-family':"Lucida Grande,sans-serif",'font-size':"11px",'font-weight':"normal",'font-style':"normal",'-moz-border-radius':"5px",'border-radius':"5px",padding:"1px 5px",width:"auto",height:"auto",margin:"0 0 0 0",outline:"none"});d.attr({href:"ht"+"tp://"+t.toLowerCase()});d.html(t);d.bind("contextmenu",function(eventObject){return false;});c.append(d);}if(options.controls){var $next_photo=$("<a href=\"#\" class=\"ws_next\">"+options.next+"</a>");var $prev_photo=$("<a href=\"#\" class=\"ws_prev\">"+options.prev+"</a>");$this.append($next_photo);$this.append($prev_photo);$next_photo.bind("click",function(e){forceGo(e,curIdx<elementsCount-1?curIdx+1:0);});$prev_photo.bind("click",function(e){forceGo(e,curIdx>0?curIdx-1:elementsCount-1);});}function initBullets(){$bullets_cont=$this.find(".ws_bullets>div");$bullets=$("a",$bullets_cont);$bullets.click(function(e){forceGo(e,$(e.target).index());});$thumbs=$bullets.find("IMG");if($thumbs.length){var mainFrame=$("<div class=\"ws_bulframe\"/>").appendTo($bullets_cont);var imgContainer=$("<div/>").css({width:$thumbs.length+1+"00%"}).appendTo($("<div/>").appendTo(mainFrame));$thumbs.appendTo(imgContainer);$("<span/>").appendTo(mainFrame);var curIndex=-1;function moveTooltip(index){if(index<0){index=0;}$($bullets.get(curIndex)).removeClass("ws_overbull");$($bullets.get(index)).addClass("ws_overbull");mainFrame.show();var mainCSS={left:$bullets.get(index).offsetLeft-mainFrame.width()/2};var contCSS={left:-$thumbs.get(index).offsetLeft};if(curIndex<0){mainFrame.css(mainCSS);imgContainer.css(contCSS);}else{if(!document.all){mainCSS.opacity=1;}mainFrame.stop().animate(mainCSS,"fast");imgContainer.stop().animate(contCSS,"fast");}curIndex=index;}$bullets.hover(function(){moveTooltip($(this).index());});var hideTime;$bullets_cont.hover(function(){if(hideTime){clearTimeout(hideTime);hideTime=0;}moveTooltip(curIndex);},function(){$bullets.removeClass("ws_overbull");if(document.all){if(!hideTime){hideTime=setTimeout(function(){mainFrame.hide();hideTime=0;},400);}}else{mainFrame.stop().animate({opacity:0},{duration:"fast",complete:function(){mainFrame.hide();}});}});$bullets_cont.click(function(e){forceGo(e,$(e.target).index());});}}function setBullet(new_index){$(".ws_bullets A",$this).each(function(index){if(index==new_index){$(this).addClass("ws_selbull");}else{$(this).removeClass("ws_selbull");}});}if(options.caption){$caption=$("<div class='ws-title' style='display:none'></div>");$this.append($caption);$caption.bind("mouseover",function(e){stopPlay();});$caption.bind("mouseout",function(e){restartPlay();});}function setTitle(A){var title=$("img",A).attr("title");var descr=$(A).data("descr");var $Title=$(".ws-title",$this);$Title.hide();if(title||descr){$Title.html((title?"<span>"+title+"</span>":"")+(descr?"<div>"+descr+"</div>":""));$Title.fadeIn(400,function(){if($.browser.msie){$(this).get(0).style.removeAttribute("filter");}});}}if(options.bullets){initBullets();}go2(0);if(options.caption){setTitle($Elements[0]);}if(options.stopOnHover){this.bind("mouseover",function(e){stopPlay();});this.bind("mouseout",function(e){restartPlay();});}restartPlay();return this;};// -----------------------------------------------------------------------------------
jQuery("#wowslider-container1").wowSlider({effect:"fade",prev:"",next:"",duration:16*100,delay:26*100,outWidth:556,outHeight:325,width:556,height:325,caption:true,controls:false,autoPlay:true,bullets:1,stopOnHover:true});
//---------------------------------------------------------------------------------
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}(';2n.G||(h($,1z){$.G={};$.11([\'2A\',\'46\',\'45\',\'44\',\'48\',\'2w\',\'C\',\'49\'],h(i,H){$.o.4c[H]=h(o){f(!o.2o){o.17=2B(o.18,H);o.1B=2b(o.1B);o.2o=1A}o.18.u[H]=\'27(\'+k.1R(k.1Q(J((o.Z*(o.1B[0]-o.17[0]))+o.17[0],10),m),0)+\',\'+k.1R(k.1Q(J((o.Z*(o.1B[1]-o.17[1]))+o.17[1],10),m),0)+\',\'+k.1R(k.1Q(J((o.Z*(o.1B[2]-o.17[2]))+o.17[2],10),m),0)+\')\'}});h 2b(C){n A;f(C&&C.4b==4a&&C.1x==3)e C;f(A=/27\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*\\)/.1D(C))e[J(A[1],10),J(A[2],10),J(A[3],10)];f(A=/27\\(\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*\\)/.1D(C))e[1t(A[1])*2.55,1t(A[2])*2.55,1t(A[3])*2.55];f(A=/#([a-1l-1n-9]{2})([a-1l-1n-9]{2})([a-1l-1n-9]{2})/.1D(C))e[J(A[1],16),J(A[2],16),J(A[3],16)];f(A=/#([a-1l-1n-9])([a-1l-1n-9])([a-1l-1n-9])/.1D(C))e[J(A[1]+A[1],16),J(A[2]+A[2],16),J(A[3]+A[3],16)];f(A=/43\\(0, 0, 0, 0\\)/.1D(C))e 1T[\'1M\'];e 1T[$.3V(C).3U()]}h 2B(18,H){n C;3W{C=$.3X(18,H);f(C!=\'\'&&C!=\'1M\'||$.40(18,"3Z"))1a;H="2A"}2G(18=18.4d);e 2b(C)};n 1T={4r:[0,m,m],4q:[2E,m,m],4p:[2C,2C,4s],4t:[0,0,0],4w:[0,0,m],4v:[2v,42,42],4u:[0,m,m],4o:[0,0,1i],4n:[0,1i,1i],4h:[2c,2c,2c],4g:[0,2q,0],4f:[3S,4j,2D],4m:[1i,0,1i],4l:[4k,2D,47],4x:[m,2z,0],3P:[3q,50,3o],3r:[1i,0,0],3u:[3n,3w,3k],3g:[3h,0,1G],3t:[m,0,m],3x:[m,3L,0],3K:[0,V,0],3J:[W,0,3M],3N:[2E,2y,2z],3B:[3A,3z,2y],3y:[2t,m,m],3C:[2u,3D,2u],3G:[1G,1G,1G],3F:[m,3E,3I],3O:[m,m,2t],3R:[0,m,0],3m:[m,0,m],3j:[V,0,0],3l:[0,0,V],3i:[V,V,0],3v:[m,2v,0],4y:[m,1E,3p],4i:[V,0,V],4J:[V,0,V],5r:[m,0,0],5q:[1E,1E,1E],5u:[m,m,m],5x:[m,m,0],1M:[m,m,m]};n 1S=[\'1e\',\'1c\',\'1h\'],2O={3d:1,5v:1,2w:1,5o:1,5i:1,5h:1,5g:1,3c:1,3b:1};h 1W(){n u=2x.2F?2x.2F.5n(l,12):l.5m,R={},Q,24;f(u&&u.1x&&u[0]&&u[u[0]]){n 28=u.1x;2G(28--){Q=u[28];f(S u[Q]==\'22\'){24=Q.5H(/\\-(\\w)/g,h(5C,2P){e 2P.5I()});R[24]=u[Q]}}}E{1w(Q 1O u){f(S u[Q]===\'22\'){R[Q]=u[Q]}}}e R}h 23(1y){n K,F;1w(K 1O 1y){F=1y[K];f(F==12||$.1r(F)||K 1O 2O||(/5E/).2Q(K)||(!(/C/i).2Q(K)&&2Z(1t(F)))){5B 1y[K]}}e 1y}h 2S(2R,R){n 20={5G:0},K;1w(K 1O R){f(2R[K]!=R[K]){20[K]=R[K]}}e 20}$.G.1f=h(F,1s,v,r){f($.1r(v)){r=v;v=12}e l.11(h(){n O=$(l),2e=O.H(\'u\')||\' \',2N=23(1W.1I(l)),R,1N=O.H(\'1N\');$.11(1S,h(i,15){f(F[15]){O[15+\'2M\'](F[15])}});R=23(1W.1I(l));O.H(\'1N\',1N);O.4O(2S(2N,R),1s,v,h(){$.11(1S,h(i,15){f(F[15]){O[15+\'2M\'](F[15])}});f(S O.H(\'u\')==\'3a\'){O.H(\'u\').2I=\'\';O.H(\'u\').2I=2e}E{O.H(\'u\',2e)}f(r){r.D(l,Y)}})})};$.X.1q({2H:$.X.29,29:h(P,j,v,r){e j?$.G.1f.D(l,[{1e:P},j,v,r]):l.2H(P)},2J:$.X.2s,2s:h(P,j,v,r){e j?$.G.1f.D(l,[{1c:P},j,v,r]):l.2J(P)},2L:$.X.2K,2K:h(P,1g,j,v,r){f(S 1g=="32"||1g===1z){f(!j){e l.2L(P,1g)}E{e $.G.1f.D(l,[(1g?{1e:P}:{1c:P}),j,v,r])}}E{e $.G.1f.D(l,[{1h:P},1g,j,v])}},4z:h(1c,1e,j,v,r){e $.G.1f.D(l,[{1e:1e,1c:1c},j,v,r])}});$.1q($.G,{4H:"1.8.6",4G:h(q,U){1w(n i=0;i<U.1x;i++){f(U[i]!==12)q.2T("2k.2p."+U[i],q[0].u[U[i]])}},4F:h(q,U){1w(n i=0;i<U.1x;i++){f(U[i]!==12)q.L(U[i],q.2T("2k.2p."+U[i]))}},57:h(2U,N){f(N==\'1h\')N=2U.1U(\':59\')?\'1o\':\'1J\';e N},5a:h(1v,1Y){n y,x;2l(1v[0]){1k\'2a\':y=0;1a;1k\'5d\':y=0.5;1a;1k\'3f\':y=1;1a;2m:y=1v[0]/1Y.2j};2l(1v[1]){1k\'1X\':x=0;1a;1k\'5b\':x=0.5;1a;1k\'39\':x=1;1a;2m:x=1v[1]/1Y.2r};e{x:x,y:y}},53:h(q){f(q.1p().1U(\'.2d-G-13\')){e q.1p()}n 1d={2r:q.4V(1A),2j:q.4X(1A),\'2h\':q.L(\'2h\')},13=$(\'<2i></2i>\').29(\'2d-G-13\').L({52:\'2q%\',4Z:\'1M\',3d:\'51\',3c:0,3b:0});q.4Y(13);13=q.1p();f(q.L(\'1m\')==\'4U\'){13.L({1m:\'1P\'});q.L({1m:\'1P\'})}E{$.1q(1d,{1m:q.L(\'1m\'),4W:q.L(\'z-54\')});$.11([\'2a\',\'1X\',\'3f\',\'39\'],h(i,Z){1d[Z]=q.L(Z);f(2Z(J(1d[Z],10))){1d[Z]=\'5c\'}});q.L({1m:\'1P\',2a:0,1X:0})}e 13.L(1d).1o()},56:h(q){f(q.1p().1U(\'.2d-G-13\'))e q.1p().58(q);e q},4T:h(q,30,2Y,F){F=F||{};$.11(30,h(i,x){19=q.38(x);f(19[0]>0)F[x]=19[0]*2Y+19[1]});e F}});h 1u(M,B,j,r){f(S M==\'3a\'){r=B;j=12;B=M;M=B.M}f($.1r(B)){r=B;j=12;B={}}f(S B==\'21\'||$.o.1H[B]){r=j;j=B;B={}}f($.1r(j)){r=j;j=12}B=B||{};j=j||B.1s;j=$.o.2V?0:S j==\'21\'?j:$.o.1H[j]||$.o.1H.4S;r=r||B.4E;e[M,B,j,r]}h 1K(j){f(!j||S j==="21"||$.o.1H[j]){e 1A}f(S j==="22"&&!$.G[j]){e 1A}e 4D}$.X.1q({M:h(M,B,j,r){n I=1u.D(l,Y),1b={B:I[1],1s:I[2],r:I[3]},N=1b.B.N,1V=$.G[M];f($.o.2V||!1V){f(N){e l[N](1b.1s,1b.r)}E{e l.11(h(){f(1b.r){1b.r.1I(l)}})}}e 1V.1I(l,1b)},2W:$.X.1o,1o:h(j){f(1K(j)){e l.2W.D(l,Y)}E{n I=1u.D(l,Y);I[1].N=\'1o\';e l.M.D(l,I)}},31:$.X.1J,1J:h(j){f(1K(j)){e l.31.D(l,Y)}E{n I=1u.D(l,Y);I[1].N=\'1J\';e l.M.D(l,I)}},37:$.X.1h,1h:h(j){f(1K(j)||S j==="32"||$.1r(j)){e l.37.D(l,Y)}E{n I=1u.D(l,Y);I[1].N=\'1h\';e l.M.D(l,I)}},38:h(Q){n u=l.L(Q),2f=[];$.11([\'4A\',\'4B\',\'%\',\'4C\'],h(i,19){f(u.4I(19)>0)2f=[1t(u),19]});e 2f}});$.v.5f=$.v.36;$.1q($.v,{35:\'33\',36:h(x,t,b,c,d){e $.v[$.v.35](x,t,b,c,d)},4P:h(x,t,b,c,d){e c*(t/=d)*t+b},33:h(x,t,b,c,d){e-c*(t/=d)*(t-2)+b},4Q:h(x,t,b,c,d){f((t/=d/2)<1)e c/2*t*t+b;e-c/2*((--t)*(t-2)-1)+b},4R:h(x,t,b,c,d){e c*(t/=d)*t*t+b},4N:h(x,t,b,c,d){e c*((t=t/d-1)*t*t+1)+b},4K:h(x,t,b,c,d){f((t/=d/2)<1)e c/2*t*t*t+b;e c/2*((t-=2)*t*t+2)+b},4L:h(x,t,b,c,d){e c*(t/=d)*t*t*t+b},4M:h(x,t,b,c,d){e-c*((t=t/d-1)*t*t*t-1)+b},5e:h(x,t,b,c,d){f((t/=d/2)<1)e c/2*t*t*t*t+b;e-c/2*((t-=2)*t*t*t-2)+b},5j:h(x,t,b,c,d){e c*(t/=d)*t*t*t*t+b},5K:h(x,t,b,c,d){e c*((t=t/d-1)*t*t*t*t+1)+b},5F:h(x,t,b,c,d){f((t/=d/2)<1)e c/2*t*t*t*t*t+b;e c/2*((t-=2)*t*t*t*t+2)+b},5A:h(x,t,b,c,d){e-c*k.2X(t/d*(k.T/2))+c+b},5D:h(x,t,b,c,d){e c*k.1C(t/d*(k.T/2))+b},5J:h(x,t,b,c,d){e-c/2*(k.2X(k.T*t/d)-1)+b},5L:h(x,t,b,c,d){e(t==0)?b:c*k.14(2,10*(t/d-1))+b},5y:h(x,t,b,c,d){e(t==d)?b+c:c*(-k.14(2,-10*t/d)+1)+b},5l:h(x,t,b,c,d){f(t==0)e b;f(t==d)e b+c;f((t/=d/2)<1)e c/2*k.14(2,10*(t-1))+b;e c/2*(-k.14(2,-10*--t)+2)+b},5k:h(x,t,b,c,d){e-c*(k.1L(1-(t/=d)*t)-1)+b},5z:h(x,t,b,c,d){e c*k.1L(1-(t=t/d-1)*t)+b},5p:h(x,t,b,c,d){f((t/=d/2)<1)e-c/2*(k.1L(1-t*t)-1)+b;e c/2*(k.1L(1-(t-=2)*t)+1)+b},5w:h(x,t,b,c,d){n s=1.1j;n p=0;n a=c;f(t==0)e b;f((t/=d)==1)e b+c;f(!p)p=d*.3;f(a<k.2g(c)){a=c;n s=p/4}E n s=p/(2*k.T)*k.26(c/a);e-(a*k.14(2,10*(t-=1))*k.1C((t*d-s)*(2*k.T)/p))+b},5t:h(x,t,b,c,d){n s=1.1j;n p=0;n a=c;f(t==0)e b;f((t/=d)==1)e b+c;f(!p)p=d*.3;f(a<k.2g(c)){a=c;n s=p/4}E n s=p/(2*k.T)*k.26(c/a);e a*k.14(2,-10*t)*k.1C((t*d-s)*(2*k.T)/p)+c+b},5s:h(x,t,b,c,d){n s=1.1j;n p=0;n a=c;f(t==0)e b;f((t/=d/2)==2)e b+c;f(!p)p=d*(.3*1.5);f(a<k.2g(c)){a=c;n s=p/4}E n s=p/(2*k.T)*k.26(c/a);f(t<1)e-.5*(a*k.14(2,10*(t-=1))*k.1C((t*d-s)*(2*k.T)/p))+b;e a*k.14(2,-10*(t-=1))*k.1C((t*d-s)*(2*k.T)/p)*.5+c+b},3H:h(x,t,b,c,d,s){f(s==1z)s=1.1j;e c*(t/=d)*t*((s+1)*t-s)+b},3Q:h(x,t,b,c,d,s){f(s==1z)s=1.1j;e c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},3s:h(x,t,b,c,d,s){f(s==1z)s=1.1j;f((t/=d/2)<1)e c/2*(t*t*(((s*=(1.34))+1)*t-s))+b;e c/2*((t-=2)*t*(((s*=(1.34))+1)*t+s)+2)+b},3e:h(x,t,b,c,d){e c-$.v.1Z(x,d-t,0,c,d)+b},1Z:h(x,t,b,c,d){f((t/=d)<(1/2.W)){e c*(7.1F*t*t)+b}E f(t<(2/2.W)){e c*(7.1F*(t-=(1.5/2.W))*t+.W)+b}E f(t<(2.5/2.W)){e c*(7.1F*(t-=(2.25/2.W))*t+.4e)+b}E{e c*(7.1F*(t-=(2.3Y/2.W))*t+.3T)+b}},41:h(x,t,b,c,d){f(t<d/2)e $.v.3e(x,t*2,0,c,d)*.5+b;e $.v.1Z(x,t*2-d,0,c,d)*.5+c*.5+b}})})(2n);',62,358,'||||||||||||||return|if||function||speed|Math|this|255|var|fx||element|callback|||style|easing|||||result|options|color|apply|else|value|effects|attr|args|parseInt|name|css|effect|mode|that|classNames|key|newStyle|typeof|PI|set|128|75|fn|arguments|pos||each|null|wrapper|pow|action||start|elem|unit|break|args2|remove|props|add|animateClass|force|toggle|139|70158|case|fA|position|F0|show|parent|extend|isFunction|duration|parseFloat|_normalizeArguments|origin|for|length|styles|undefined|true|end|sin|exec|192|5625|211|speeds|call|hide|standardSpeed|sqrt|transparent|className|in|relative|min|max|classAnimationActions|colors|is|effectMethod|getElementStyles|left|original|easeOutBounce|diff|number|string|filterStyles|camelCase||asin|rgb|len|addClass|top|getRGB|169|ui|originalStyleAttr|val|abs|float|div|height|ec|switch|default|jQuery|colorInit|storage|100|width|removeClass|224|144|165|borderColor|document|230|140|backgroundColor|getColor|245|107|240|defaultView|while|_addClass|cssText|_removeClass|toggleClass|_toggleClass|Class|originalStyle|shorthandStyles|letter|test|oldStyle|styleDifference|data|el|off|_show|cos|factor|isNaN|list|_hide|boolean|easeOutQuad|525|def|swing|__toggle|cssUnit|right|object|padding|margin|border|easeInBounce|bottom|darkviolet|148|olive|maroon|122|navy|magenta|233|204|203|153|darkred|easeInOutBack|fuchsia|darksalmon|orange|150|gold|lightcyan|216|173|lightblue|lightgreen|238|182|lightpink|lightgrey|easeInBack|193|indigo|green|215|130|khaki|lightyellow|darkorchid|easeOutBack|lime|189|984375|toLowerCase|trim|do|curCSS|625|body|nodeName|easeInOutBounce||rgba|borderRightColor|borderLeftColor|borderBottomColor||borderTopColor|outlineColor|Array|constructor|step|parentNode|9375|darkkhaki|darkgreen|darkgrey|purple|183|85|darkolivegreen|darkmagenta|darkcyan|darkblue|beige|azure|aqua|220|black|cyan|brown|blue|darkorange|pink|switchClass|em|px|pt|false|complete|restore|save|version|indexOf|violet|easeInOutCubic|easeInQuart|easeOutQuart|easeOutCubic|animate|easeInQuad|easeInOutQuad|easeInCubic|_default|setTransition|static|outerWidth|zIndex|outerHeight|wrap|background||none|fontSize|createWrapper|index||removeWrapper|setMode|replaceWith|hidden|getBaseline|center|auto|middle|easeInOutQuart|jswing|borderWidth|borderTop|borderRight|easeInQuint|easeInCirc|easeInOutExpo|currentStyle|getComputedStyle|borderLeft|easeInOutCirc|silver|red|easeInOutElastic|easeOutElastic|white|borderBottom|easeInElastic|yellow|easeOutExpo|easeOutCirc|easeInSine|delete|all|easeOutSine|scrollbar|easeInOutQuint|_|replace|toUpperCase|easeInOutSine|easeOutQuint|easeInExpo'.split('|'),0,{}))
/* /////////////////////// */
var site = function() {
	this.navLi = $('#nav li').children('ul').hide().end();
	this.init();
};
site.prototype = {
 	init : function() {
 		this.setMenu();
 	},
 	// Enables the slidedown menu, and adds support for IE6
 	setMenu : function() {
 	$.each(this.navLi, function() {
 		if ( $(this).children('ul')[0] ) {
 			$(this)
 				.append('<span />')
 				.children('span')
 					.addClass('hasChildren')
 		}
 	});
 		this.navLi.hover(function() {
 			// mouseover
			$(this).find('> ul').stop(true, true).slideDown('slow', 'easeOutBounce');
 		}, function() {
 			// mouseout
 			$(this).find('> ul').stop(true, true).hide(); 		
		});
 	}
}
new site();
// *************** //
$(function(){
		});
scrollHore =   
{   
   nastavenia:   
   {   
      pauza: false   
   },   
   casovac:function()   
   {   
      scrollHore.nastavenia.pauza = false;   
   },   
   init:function(rychlost)   
   {   
      $(document).ready(function()   
      {   
         $("a#hore").css('display','none');   
         $(window).scroll(function ()   
         {   
            var top = jQuery(window).scrollTop();   
            if(top > 100) $("a#hore:hidden").fadeIn('fast');   
            else $("a#hore:visible").fadeOut('fast');   
         });   
         $('a#hore').click(function()   
         {   
            if(scrollHore.nastavenia.pauza == false)   
            {   
               $body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')    
               $body.animate({scrollTop: 0}, rychlost);   
               scrollHore.nastavenia.pauza = true;   
               setTimeout("scrollHore.casovac()", rychlost);   
            }   
            return false;   
         })   
      })   
   }   
}   
scrollHore.init(1500);
// *********** //
function setFav(url, title)
{
	try {
		window.external.AddFavorite(url, title);
	}
	catch (e) {
		if (window.sidebar) {
			window.sidebar.addPanel(title, url, '');
		}
		else {
			window.alert("press CTRL+D.");
		}
	}
	return false;
} 
/* ********************************* */
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-11994855-2']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
