/*
 * Rokmoomenu - mootools menu widget
 *
 * mootools dependencies:
 *	- mootools 1.11
 *	- Moo, Utility, Common, Array, String, Function, Element, 
 *	  Dom, Fx.Base, Fx.CSS, Fx.Styles
 *
 * Copyright (c) 2007 Olmo Maldonado
 *
 * v1.2 - Adapted for IE6 by Djamil Legato (c) 2008
 * 
 * History
 * v1.1 - Flash Issues - Adapted for IE6 by Djamil Legato
 */
eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('5 C=R G({6:{m:1t,7:\'1c\',j:12,l:{h:[\'z\',\'Q\'],F:G.1i}},1f:3(b,c){2.11(c);4(n.q)2.6.j=X;2.w=$(b);2.w.V(\'T\').9(3(a){a.1o({\'1l\':2.M.H(2,a),\'1e\':2.I.H(2,a)})},2)},M:3(b){$1b(b.L);4(!b.8(2.6.7)){4(n.q){5 c=b.P(\'E\').O(" ");5 d=2.6.7;c=c.D(3(y){k!y.p("-"+d)});c.9(3(a){4(b.8(a))b.o(a+"-"+d)},2);5 e=c.B("-")+"-"+d;4(!b.8(e))b.o(e)}b.o(2.6.7);5 f=b.A(\'x\');4(f){4(2.6.m)f.m({z:W});f.l(2.6.l)}b.v().9(3(a){a.g(2.6.7)},2)}},I:3(e){5 f=2.6.7;e.L=(3(){4(n.q){5 b=e.P(\'E\').O(" ");b=b.D(3(y){k y.p("-"+f)});b.9(3(a){4(e.8(a))e.g(a)},2);5 c=b.B("-")+"-"+f;4(!e.8(c))e.g(c)}e.g(f);5 d=e.A(\'U\');4(d)d.Y()}).j(2.6.j,2)}});C.Z(R 10);1s.1q({l:3(b){4(!2.u){2.u=2.1p(b.F);2.s=2.1m.1k(2,b.h);2.t={};1h(5 i 1g 2.s)2.t[i]=0}4(b.h.S(\'Q\')||b.h.S(\'1d\')){2.K(\'J\',\'1a\');2.N(\'x\').9(3(a){a.K(\'J\',\'19\')})}2.u.1j(2.t).18(2.s)},N:3(a){5 b=[];5 c=2.r();17(c&&c!==1n){4(c.16().p(a))b.15(c);c=c.r()}k b},v:3(){5 a=2.r().14();a.1r(a.13(2),1);k a}});',62,92,'||this|function|if|var|options|hoverClass|hasClass|each|||||||removeClass|props||delay|return|animate|bgiframe|window|addClass|test|ie6|getParent|now|FxEmpty|Fx|getSiblings|element|ul||opacity|getElement|join|Rokmoomenu|filter|class|opts|Class|bind|out|overflow|setStyle|sfTimer|over|getParents|split|getProperty|height|new|contains|li|iframe|getElements|false|50|remove|implement|Options|setOptions|500|indexOf|getChildren|push|getTag|while|start|visible|hidden|clear|sfHover|width|mouseout|initialize|in|for|empty|set|apply|mouseover|getStyles|document|addEvents|effects|extend|splice|Element|true'.split('|'),0,{}))

// testimonials
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}('3 18=r 16({17:7(){l(!$(\'c\')){1a}2.c=$(\'c\');2.a=$(\'a\');2.g=$(\'g\');2.p=$(\'p\');2.E=8;2.D=1g;2.5=V.11(\'10\');2.5.s=\'/u/5.v\';2.5.j=\'9\';2.5.13=\'9\';2.5.K=\'1c\';2.4=V.11(\'10\');2.4.s=\'/u/4.v\';2.4.j=\'9\';2.4.13=\'9\';2.4.K=\'19\';2.a.1b(2.4);2.a.1h(\'1e\',7(e){l(2.a.1d()[0].o(\'s\')==\'/u/5.v\'){2.k();2.d=2.k.d(2.E*J,2);2.a.O(2.4,2.5)}B{$Z(2.d);2.a.O(2.5,2.4)}}.C(2));2.w=2.g.A().q.x;2.y=2.g.L()-2.c.L();2.p.b({f:\'n\',j:2.w,1f:2.y,z:\'U\',P:0});2.d=2.k.d(2.E*J,2)},H:7(6,N){r 1k.1y(6,\'P\',{D:2.D,1v:7(6){l(6.o(\'m\')==\'G\'){6.M(\'m\',\'14\')}B{6.M(\'m\',\'G\');l(6.F==\'g\'){3 I=\'p\'}B{3 I=\'g\'}$(I).b({f:\'n\',z:\'1w\'});6.b({f:\'W\'})}}}).1x(N)},k:7(){3 Y=r 1u(\'/1A/1B.1z\',{1s:\'1i\',1m:\'1l-1t-1\',1j:7(15){3 h=2.c.T(\'12[m=G]\');3 i=2.c.T(\'12[m=14]\');i.1n(15);3 x=h.Q().x;3 y=h.Q().y;i.b({f:\'n\',j:2.w,z:\'U\'});3 R=h.A().q.y;3 S=i.A().q.y;l(S>R){h.b({f:\'n\',j:2.w});i.b({f:\'W\'})}2.H(h.o(\'F\'),0);2.H(i.o(\'F\'),1)}.C(2),1o:7(){$Z(2.d)}.C(2)});3 t=$1r()+$1q(0,1p);Y.k(\'X=\'+X+\'&t=\'+t)}});',62,100,'||this|var|pause|play|el|function|||com|setStyles|tes|periodical||position|tes1|visibleEl|invisibleEl|width|request|if|class|absolute|getProperty|tes2|size|new|src|dummy|images|gif||||display|getSize|else|bind|duration|sec|id|visible|effect|invisibleElID|1000|alt|getTop|setProperty|val|replaceChild|opacity|getPosition|hv|hi|getElement|block|document|static|catid|ajax|clear|img|createElement|div|height|invisible|responseText|Class|initialize|tesSlide|Pause|return|appendChild|Play|getChildren|click|top|500|addEvent|post|onSuccess|Fx|iso|encoding|setHTML|onFailure|100|random|time|method|8859|Ajax|onComplete|none|start|Style|php|includes|random_testimonial'.split('|'),0,{}))

// scrollbar
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}('2 q=t v({u:8(1){0.1=$(1);2 6=0.1.s();0.5=6.i().c.y-6.e(\'f-4\').g()-6.e(\'f-7\').g();0.4=0.1.w();0.d()},d:8(){2 9=8(){2 h=0.1.i().c.y;2 p=0.4+0.5-h;2 3=b.B();a(3<=0.4&&0.1.x(\'j\')){0.1.A(\'j\')}o a(3>p&&h<0.5){0.1.k(\'m\');0.1.l(\'7\')}o a(3>0.4&&h<0.5){0.1.k(\'7\');0.1.l(\'m\')}}.z(0);b.n(\'3\',9);b.n(\'r\',9)}});',38,38,'this|el|var|scroll|top|max_h|parent|bottom|function|action|if|window|size|startListeners|getStyle|padding|toInt||getSize|class|removeClass|addClass|float|addEvent|else|limit|ScrollSidebar|load|getParent|new|initialize|Class|getTop|getProperty||bind|removeProperty|getScrollTop'.split('|'),0,{}))

window.addEvent('domready', function() {
	// drop-down menu
	new Rokmoomenu($E('ul.menutop '), {
		bgiframe: false,
		delay: 500,
		animate: {
			props: ['height'],
			opts: {
				duration:700,
				fps: 300,
				transition: Fx.Transitions.Back.easeOut
			}
		}
	});
	
	// smooth scroll
	new SmoothScroll({ duration: 500 });
	
	// testimonials
	new tesSlide();
	
	// sidebar floating
	var sidebar = new ScrollSidebar('mr');
});
