/* (C) 2008 YOOtheme.com, base.js */

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}('4 1U={1V:5(1G,X,W){4 k=0;4 x=[];4 O=1G.26(" ");4 1E=O.27();4 16=\'\';O.h(5(f,i){16+=\'.1e("\'+f+\'")\'});$1Z(1E).h(5(B,i){25(\'x.24(B\'+16+\');\')});x.h(5(b,i){8(!$1f(b))t;4 m,s;8(b.1J){m=b.1J;s=0;s+=b.1A(\'1o-23\').1h();s+=b.1A(\'1o-21\').1h();m-=s;8(X!=1w){m-=X}}y 8(b.1p.1v){m=b.1p.1v}k=1s.1y(k,m)});8(W!=1w){k=1s.1y(k,W)}x.h(5(b,i){8(!$1f(b))t;8(1R.1Q){b.Q(\'1j\',k+\'1l\')}y{b.Q(\'1T-1j\',k+\'1l\')}})}};4 14=d v({1c:5(n,6){3.r({K:\'a-1k\',1H:1W,1K:1Y,N:0.9,1d:w.1b.1S,C:1C,o:v.22},6);3.15=\'j-2g\',3.13=\'j-2F\',3.12=\'j-2z\',3.P=\'a-2v\';3.1z=\'a-1k\';3.I=\'a-2x\';3.n=$$(n);3.10=d 1r(1t.G);3.c(\'o\',3.6.o);3.L=\'\';4 7=3;4 V=$E(\'#2y\');4 U=$E(\'#2w\');4 S=$E(\'#2t\');4 T=$E(\'#2A\');4 Y=$E(\'#2E\');4 Z=$E(\'#2a\');8(V)V.c(\'l\',5(){7.J(7.P)});8(U)U.c(\'l\',5(){7.J(7.1z)});8(S)S.c(\'l\',5(){7.J(7.I)});8(T)T.c(\'l\',5(){7.u(7.15)});8(Y)Y.c(\'l\',5(){7.u(7.13)});8(Z)Z.c(\'l\',5(){7.u(7.12)})},u:5(j){4 7=3;4 1i=[3.15,3.13,3.12];1i.h(5(R,i){8(R==j){7.10.2f(j)}y{7.10.2e(R)}});H.1u(\'2b\',j,{1F:\'/\'});3.2c(\'o\')},J:5(a){4 7=3;4 1P=3.M(H.1D(\'17\')||3.6.K);4 1N=3.M(a);H.1u(\'17\',a,{1F:\'/\'});3.n.h(5(z,i){4 g=z.2d(\'a\',7.6);g.c(\'1O\',7.1L).c(\'1O\',7.6.o);g.D(1P,1N)})},1L:5(){4 7=3;4 L=H.1D(\'17\')||3.6.K;8(L==3.I){3.n.h(5(z,i){z.Q(\'a\',(7.6.N*2q)+\'%\')})}},M:5(a){8(a==3.P)t 3.6.1H;8(a==3.I)t 2n((2k.2l())*3.6.N);t 3.6.1K}});14.F(d 2D);14.F(d 11);4 1n=d v({1c:5(B,1B,1m,1a,1M,A){3.r({C:1C,1d:w.1b.2m,1q:1x,18:\'\'},1a);4 6=3.6;$$(B).h(5(f,i){4 19=f;8(A&&f.1e(A)){19=f.1e(A)}4 g=d w.2o(19,6);8(!($1f(6.18)&&f.2p(6.18))){f.c(\'2j\',5(e){g.r(6,1a).D(1B)});f.c(\'2i\',5(e){g.r(6,1M).D(1m)})}})}});1n.F(d 11);4 1I=d v({1c:5(6){3.r({1d:w.1b.2h,C:2s,1q:1x,q:[\'#2r\',\'#2u\']},6);4 G=d 1r(1t.G);4 g=G.2B(3.6);4 p=0;4 q=3.6.q;4 2C=1g.1X(3.6.C*2);1g();5 1g(){g.D({\'29-28\':q[p]});8(p+1>=q.20){p=0}y{p++}}}});1I.F(d 11);',62,166,'|||this|var|function|options|obj|if||width|div|addEvent|new||el|fx|each||font|maxHeight|click|divHeight|wrappers|afterSwitch|index|colors|setOptions|divPadding|return|fontSwitch|Class|Fx|matchDivs|else|wrapper|elementFx|element|duration|start||implement|body|Cookie|widthFluid|widthSwitch|widthDefault|widthStyle|getWidthPx|widthFluidPx|selectors|widthThin|setStyle|currentFont|switchWidthFluid|switchFontSmall|switchWidthWide|switchWidthThin|minWidth|divBorder|switchFontMedium|switchFontLarge|htmlbody|Options|fontLarge|fontMedium|YOOStyleSwitcher|fontSmall|script|ytstylewidth|ignoreClass|elfx|enterFx|Transitions|initialize|transition|getElement|chk|animate|toInt|fonts|height|wide|px|leave|YOOMorph|padding|style|wait|Element|Math|document|set|pixelHeight|undefined|false|max|widthWide|getStyle|enter|500|get|elements|path|selector|widthThinPx|YOOBackgroundFx|offsetHeight|widthWidePx|widthSwitchComplete|leaveFx|newWidth|onComplete|curWidth|ie6|window|quadOut|min|YOOBase|matchDivHeight|780|periodical|940|ES|length|bottom|empty|top|push|eval|split|shift|color|background|switchfontlarge|ytstylefont|fireEvent|effect|removeClass|addClass|small|linear|mouseleave|mouseenter|Window|getWidth|expoOut|parseInt|Styles|hasClass|100|FFFFFF|9000|switchwidthfluid|999999|thin|switchwidthwide|fluid|switchwidththin|large|switchfontsmall|effects|timer|Events|switchfontmedium|medium'.split('|'),0,{}))
/* (C) 2008 YOOtheme.com, accordionmenu.js */

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}('5 t=6 v({w:4(q,p,2){0.x({r:\'m\'},2);0.7=q;0.9=p;y(0.2.r){A\'z\':0.j();C;m:0.g()}},g:4(){5 2={};e(!$n(0.2.8)&&!$n(0.2.c)){2={c:-1}}$k(0.7).l(4(3,i){e(3.o(\'s\'))2={c:i}}.u(0));5 B=6 d.Q(0.7,0.9,$N(0.2,2))},j:4(){$k(0.7).l(4(3,i){5 a=3.h(\'a\');5 f=3.h(0.9);5 b=6 d.M(f,{D:d.P.R,L:K});e(!(3.o(\'s\')||0.2.8==\'F\'||0.2.8==i)){b.E()}a.G(\'H\',4(){b.J()})}.u(0))}});t.I(6 O);',54,54,'this||options|tog|function|var|new|togs|display|elms|span|fx|show|Fx|if|ul|createDefault|getElement||createSlide|ES|each|default|defined|hasClass|elements|togglers|accordion|active|YOOAccordionMenu|bind|Class|initialize|setOptions|switch|slide|case|accordionMenu|break|transition|hide|all|addEvent|click|implement|toggle|250|duration|Slide|extend|Options|Transitions|Accordion|linear'.split('|'),0,{}))
/* (C) 2008 YOOtheme.com, fancymenu.js */

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}('n 1a=c T({1v:7(d,6){3.K({1A:1B.1t.1C,O:1o,1E:I,1e:T.1i,e:1,f:\'y\',1b:1h,Y:[\'1f\',\'1l\',\'1m\',\'1r\',\'1q\',\'1p\',\'1s\',\'1n\'],W:\'5.1g\',V:\'5.X\'},6);3.d=$(d),3.a=3.d.S(3.6.V);3.5=[];3.9=[];3.d.1j(3.6.W).11(7(4,i){3.Z(4,i);4.u(\'1I\',7(A){3.12(A,4)}.o(3));4.u(\'1D\',7(){3.1d(4,i)}.o(3));b(3.6.f==\'y\'){4.u(\'U\',7(){3.H(3.a,i)}.o(3))}G{4.u(\'U\',7(){3.H(4,i)}.o(3))}}.o(3));b(3.6.f==\'y\'){b(3.a){3.v(3.a)}G{n w=3.d.S(\'5\');w.10(\'X\');w.10(\'a\');3.v(w)}}},Z:7(4,i){b(3.6.f==\'y\'&&i!=0)17;n L=\'j \'+\'Q\'+(i+1);3.6.Y.11(7(J,i){b(4.1F(J)){L+=\' Q-\'+J}});3.9[i]=c g(\'9\',{\'h\':\'j-1G\'}).R(c g(\'9\',{\'h\':\'j-l\'}),c g(\'9\',{\'h\':\'j-m\'}),c g(\'9\',{\'h\':\'j-r\'}));3.9[i].8=3.9[i].19(3.6);3.5[i]=c g(\'5\',{\'h\':L}).R(3.9[i]).1y(3.d);3.5[i].8=3.5[i].19(3.6)},v:7(4){3.5[0].1z({\'s\':4.k,\'B\':4.q,\'1x\':\'1w\',\'e\':3.6.e});3.a=4},12:7(A,4){b(!3.a)3.v(4);3.a=4;3.6.1e(c 1H(A),4)},1d:7(4,i){16(3.6.f){t\'15\':3.P(4,i,1c);C;t\'14\':3.N(4,i,1c);C;13:3.M(4,0)}},H:7(4,i){16(3.6.f){t\'15\':3.P(4,i,I);C;t\'14\':3.N(4,i,I);C;13:3.M(4,0)}},M:7(4,i){b(!3.a)17;3.5[i].8.p({\'s\':[3.5[i].k,4.k],\'B\':[3.5[i].q,4.q]})},P:7(4,i,D){b(D){3.5[i].8.K(3.6);3.5[i].8.E({\'s\':4.k,\'B\':4.q});3.5[i].8.p({\'e\':[0,1]})}G{n 18=3.6.O*2;3.5[i].8.K({O:18});3.5[i].8.p({\'e\':[1,0]})}},N:7(4,i,D){n z=3.6.1b;b(D){3.5[i].8.E({\'e\':1,\'s\':4.k,\'B\':4.q});3.9[i].8.E({\'x-F\':z});3.9[i].8.p({\'x-F\':[z,0]})}G{3.9[i].8.E({\'x-F\':0});3.9[i].8.p({\'x-F\':[0,z]})}}});1a.1k(c 1u);',62,107,'|||this|item|li|options|function|fx|div|current|if|new|menu|opacity|mode|Element|class||fancy|offsetLeft|||var|bind|custom|offsetWidth||left|case|addEvent|setCurrent|first|margin|move|offset|event|width|break|show|set|top|else|mouseleaveItem|false|col|setOptions|css|moveFx|slideFx|duration|fadeFx|bg|adopt|getElement|Class|mouseleave|activeSelector|itemSelector|active|colorSelector|createBackground|addClass|each|clickItem|default|slide|fade|switch|return|dur|effects|YOOFancyMenu|slideOffset|true|mouseenterItem|onClick|red|level1|30|empty|getElements|implement|pink|blue|turquoise|500|yellow|orange|green|lilac|Transitions|Options|initialize|visible|visibility|injectInside|setStyles|transition|Fx|sineInOut|mouseenter|wait|hasClass|container|Event|click'.split('|'),0,{}))
/* (C) 2008 YOOtheme.com, dropdownmenu.js */

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 g=f q({u:6(e,7){9.x({i:\'w\',y:s,B:h.v.A,z:r},7);2 3={\'8\':0,\'a\':0,\'b\':0};t(9.7.i){j\'8\':3={\'8\':0,\'b\':0};m;j\'a\':3={\'a\':0,\'b\':0};m}$$(e).M(6(4){2 1=4.L(\'1\');k(1){2 5=f h.N(1,9.7);2 n=1.O(\'8\',\'a\',\'b\');1.l(3);4.Q({C:6(){2 c=4.K();k(c.J(\'d\')==\'p\')c.o(\'d\',\'E\');5.e.o(\'d\',\'p\');5.D(n)},F:6(){5.G();1.l(3)}})}}.I(9))}});g.H(f P);',53,53,'|ul|var|reset|li|fx|function|options|width|this|height|opacity|parent|overflow|element|new|YOODropdownMenu|Fx|mode|case|if|setStyles|break|styles|setStyle|hidden|Class|false|600|switch|initialize|Transitions|default|setOptions|duration|wait|linear|transition|mouseenter|start|visible|mouseleave|stop|implement|bind|getStyle|getParent|getElement|each|Styles|getStyles|Options|addEvents'.split('|'),0,{}))
/* (C) 2008 YOOtheme.com */

var YOOTools = {
		
	start: function() {
		
		/* Match height of div tags */
		YOOTools.setDivHeight();

		/* Accordion menu */
		new YOOAccordionMenu('div#middle ul.menu li.toggler', 'ul.accordion', { accordion: 'slide' });

		/* Fancy menu */
		new YOOFancyMenu($E('ul', 'menu'), { mode: 'move', transition: Fx.Transitions.Expo.easeOut, duration: 700 });

		/* Dropdown menu */
		new YOODropdownMenu('div#menu li.parent', { mode: 'height', transition: Fx.Transitions.Expo.easeOut });

		/* Morph: main menu (tab) */
		switch (YtSettings.color) {
			case "green":		var enterColor = '#ffffff';
								var leaveColor = '#D8F75B';
								break;
		 
			case "red": 		var enterColor = '#ffffff';
								var leaveColor = '#FF4628';
								break;
		 
			case "pink": 		var enterColor = '#ffffff';
								var leaveColor = '#FF75D6';
								break;
		 
			case "lilac": 		var enterColor = '#ffffff';
								var leaveColor = '#DA79FF';
								break;
		 
			case "orange":	 	var enterColor = '#ffffff';
								var leaveColor = '#FF9628';
								break;
							
			case "turquoise":	var enterColor = '#ffffff';
								var leaveColor = '#79FFDC';
								break;
							
			case "black":		var enterColor = '#ffffff';
								var leaveColor = '#B4C8DC';
								break;
							
			case "white":		var enterColor = '#ffffff';
								var leaveColor = '#3C4650';
								break;
								
			case "lightgreen":	var enterColor = '#ffffff';
								var leaveColor = '#D7FD00';
								break;
								
			case "lightblue":	var enterColor = '#ffffff';
								var leaveColor = '#55F2FF';
								break;
		 
			default: 			var enterColor = '#ffffff';
					 			var leaveColor = '#64E1FF';
		  }

		var menuEnter = { 'color': enterColor };
		var menuLeave = { 'color': leaveColor };

		new YOOMorph('div#menu li.level1', menuEnter, menuLeave,
			{ transition: Fx.Transitions.linear, duration: 300, ignoreClass: 'active' },
			{ transition: Fx.Transitions.sineIn, duration: 700 }, '.level1');

		switch (YtSettings.color) {
			case "green":		var enterColor = '#ffffff';
								var leaveColor = '#93BD00';
								break;
		 
			case "red": 		var enterColor = '#ffffff';
								var leaveColor = '#DC0000';
								break;
		 
			case "pink": 		var enterColor = '#ffffff';
								var leaveColor = '#FF3EBB';
								break;
		 
			case "lilac": 		var enterColor = '#ffffff';
								var leaveColor = '#C828FF';
								break;
		 
			case "orange":	 	var enterColor = '#ffffff';
								var leaveColor = '#FF6C00';
								break;
							
			case "turquoise":	var enterColor = '#ffffff';
								var leaveColor = '#00FFD2';
								break;
							
			case "black":		var enterColor = '#ffffff';
								var leaveColor = '#7891AA';
								break;
							
			case "white":		var enterColor = '#ffffff';
								var leaveColor = '#1E2832';
								break;
								
			case "lightgreen":	var enterColor = '#ffffff';
								var leaveColor = '#ABFC14';
								break;
								
			case "lightblue":	var enterColor = '#ffffff';
								var leaveColor = '#00E2F4';
								break;
								
			default: 			var enterColor = '#ffffff';
					 			var leaveColor = '#00aede';
		  }

		var menuEnter = { 'color': enterColor };
		var menuLeave = { 'color': leaveColor };

		new YOOMorph('div#menu li.level1', menuEnter, menuLeave,
			{ transition: Fx.Transitions.linear, duration: 300, ignoreClass: 'active' },
			{ transition: Fx.Transitions.sineIn, duration: 700 }, 'span.sub');
		
		/* Morph: main menu (drop down) */
		switch (YtSettings.color) {
			case "green":		var enterColor = '#ffffff';
								var leaveColor = '#D8F75B';
								break;
		 
			case "red": 		var enterColor = '#ffffff';
								var leaveColor = '#FF4628';
								break;
		 
			case "pink": 		var enterColor = '#ffffff';
								var leaveColor = '#FF75D6';
								break;
		 
			case "lilac": 		var enterColor = '#ffffff';
								var leaveColor = '#DA79FF';
								break;
		 
			case "orange":	 	var enterColor = '#ffffff';
								var leaveColor = '#FF9628';
								break;
							
			case "turquoise":	var enterColor = '#ffffff';
								var leaveColor = '#79FFDC';
								break;
							
			case "black":		var enterColor = '#ffffff';
								var leaveColor = '#B4C8DC';
								break;
							
			case "white":		var enterColor = '#ffffff';
								var leaveColor = '#3C4650';
								break;
								
			case "lightgreen":	var enterColor = '#ffffff';
								var leaveColor = '#D7FD00';
								break;
								
			case "lightblue":	var enterColor = '#ffffff';
								var leaveColor = '#55F2FF';
								break;
		 
			default: 			var enterColor = '#ffffff';
					 			var leaveColor = '#64E1FF';
		  }

		var menuEnter = { 'color': enterColor };
		var menuLeave = { 'color': leaveColor };
		
		new YOOMorph('div#menu li.level2 a, div#menu li.level2 span.separator', menuEnter, menuLeave,
			{ transition: Fx.Transitions.linear, duration: 0, ignoreClass: 'active' },
			{ transition: Fx.Transitions.sineIn, duration: 700 });

		/* Morph: sub menu */
		switch (YtSettings.color) {
			case "green":		var enterColor = '#ffffff';
								var leaveColor = '#D8F75B';
								break;
		 
			case "red": 		var enterColor = '#ffffff';
								var leaveColor = '#FF4628';
								break;
		 
			case "pink": 		var enterColor = '#ffffff';
								var leaveColor = '#FF75D6';
								break;
		 
			case "lilac": 		var enterColor = '#ffffff';
								var leaveColor = '#DA79FF';
								break;
		 
			case "orange":	 	var enterColor = '#ffffff';
								var leaveColor = '#FF9628';
								break;
							
			case "turquoise":	var enterColor = '#ffffff';
								var leaveColor = '#79FFDC';
								break;
							
			case "black":		var enterColor = '#ffffff';
								var leaveColor = '#B4C8DC';
								break;
							
			case "white":		var enterColor = '#ffffff';
								var leaveColor = '#3C4650';
								break;
		 
			case "lightgreen":	var enterColor = '#ffffff';
								var leaveColor = '#D7FD00';
								break;
			
			case "lightblue":	var enterColor = '#ffffff';
								var leaveColor = '#55F2FF';
								break;
		 
			default: 			var enterColor = '#ffffff';
					 			var leaveColor = '#64E1FF';
		  }
		
		var submenuEnter = { 'color': enterColor};
		var submenuLeave = { 'color': leaveColor};

		new YOOMorph('div#middle ul.menu a, div#middle ul.menu span.separator', submenuEnter, submenuLeave,
			{ transition: Fx.Transitions.expoOut, duration: 0, ignoreClass: 'current' },
			{ transition: Fx.Transitions.sineIn, duration: 700 });

		/* Morph: module border */
		var enterColor = '#b4b4b4';
		var leaveColor = '#F0F0F0';
		
		var moduleEnter = { 'background-color': enterColor};
		var moduleLeave = { 'background-color': leaveColor};

		new YOOMorph('#main div.mod-border div.module', moduleEnter, moduleLeave,
			{ transition: Fx.Transitions.sineIn, duration: 200 },
			{ transition: Fx.Transitions.expoOut, duration: 600 });

		/* Style switcher */
		new YOOStyleSwitcher($ES('.wrapper'), { 
			widthDefault: YtSettings.widthDefault,
			widthThinPx: YtSettings.widthThinPx,
			widthWidePx: YtSettings.widthWidePx,
			widthFluidPx: YtSettings.widthFluidPx,
			afterSwitch: YOOTools.setDivHeight,
			transition: Fx.Transitions.expoOut,
			duration: 500
		});		
		
		/* Smoothscroll */
		new SmoothScroll({ duration: 500, transition: Fx.Transitions.Expo.easeOut });
	},

	/* Include script */
	include: function(library) {
		$ES('script').each(function(s, i){
			var src  = s.getProperty('src');
			var path = '';
			if (src && src.match(/yoo_tools\.js(\?.*)?$/)) path = src.replace(/yoo_tools\.js(\?.*)?$/,'');
			if (src && src.match(/template\.js\.php(\?.*)?$/)) path = src.replace(/template\.js\.php(\?.*)?$/,'');
			if (path != '') document.write('<script language="javascript" src="' + path + library + '" type="text/javascript"></script>');
		});
	},

	/* Match height of div tags */
	setDivHeight: function() {
		YOOBase.matchDivHeight('div.topbox div.deepest', 0, 40);
		YOOBase.matchDivHeight('div.bottombox div.deepest', 0, 40);
		YOOBase.matchDivHeight('div.maintopbox div.deepest', 0, 40);
		YOOBase.matchDivHeight('div.mainbottombox div.deepest', 0, 40);
		YOOBase.matchDivHeight('div.contenttopbox div.deepest', 0, 40);
		YOOBase.matchDivHeight('div.contentbottombox div.deepest', 0, 40);
	}

};

/* Add functions on window load */
window.addEvent('domready', YOOTools.start);

/* Load IE6 fix */
if (window.ie6) {
	YOOTools.include('addons/ie6fix.js');
	YOOTools.include('yoo_ie6fix.js');
}


/*	sIFR v2.0.7
	Copyright 2004 - 2008 Mark Wubben and Mike Davidson. Prior contributions by Shaun Inman and Tomas Jogin.
	
	This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/>
*/

var hasFlash=function(){var a=6;if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")>-1){document.write('<script language="VBScript"\> \non error resume next \nhasFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & '+a+'))) \n</script\> \n');if(window.hasFlash!=null)return window.hasFlash}if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){var b=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;return parseInt(b.substr(b.indexOf(".")-2,2),10)>=a}return false}();String.prototype.normalize=function(){return this.replace(/\s+/g," ")};if(Array.prototype.push==null){Array.prototype.push=function(){var i=0,a=this.length,b=arguments.length;while(i<b){this[a++]=arguments[i++]}return this.length}}if(!Function.prototype.apply){Function.prototype.apply=function(a,b){var c=[];var d,e;if(!a)a=window;if(!b)b=[];for(var i=0;i<b.length;i++){c[i]="b["+i+"]"}e="a.__applyTemp__("+c.join(",")+");";a.__applyTemp__=this;d=eval(e);a.__applyTemp__=null;return d}}function named(a){return new named.Arguments(a)}named.Arguments=function(a){this.oArgs=a};named.Arguments.prototype.constructor=named.Arguments;named.extract=function(a,b){var c,d;var i=a.length;while(i--){d=a[i];if(d!=null&&d.constructor!=null&&d.constructor==named.Arguments){c=a[i].oArgs;break}}if(c==null)return;for(e in c)if(b[e]!=null)b[e](c[e]);return};var parseSelector=function(){var a=/^([^#.>`]*)(#|\.|\>|\`)(.+)$/;function r(s,t){var u=s.split(/\s*\,\s*/);var v=[];for(var i=0;i<u.length;i++)v=v.concat(b(u[i],t));return v}function b(c,d,e){c=c.normalize().replace(" ","`");var f=c.match(a);var g,h,i,j,k,n;var l=[];if(f==null)f=[c,c];if(f[1]=="")f[1]="*";if(e==null)e="`";if(d==null)d=document;switch(f[2]){case "#":k=f[3].match(a);if(k==null)k=[null,f[3]];g=document.getElementById(k[1]);if(g==null||(f[1]!="*"&&!o(g,f[1])))return l;if(k.length==2){l.push(g);return l}return b(k[3],g,k[2]);case ".":if(e!=">")h=m(d,f[1]);else h=d.childNodes;for(i=0,n=h.length;i<n;i++){g=h[i];if(g.nodeType!=1)continue;k=f[3].match(a);if(k!=null){if(g.className==null||g.className.match("(\\s|^)"+k[1]+"(\\s|$)")==null)continue;j=b(k[3],g,k[2]);l=l.concat(j)}else if(g.className!=null&&g.className.match("(\\s|^)"+f[3]+"(\\s|$)")!=null)l.push(g)}return l;case ">":if(e!=">")h=m(d,f[1]);else h=d.childNodes;for(i=0,n=h.length;i<n;i++){g=h[i];if(g.nodeType!=1)continue;if(!o(g,f[1]))continue;j=b(f[3],g,">");l=l.concat(j)}return l;case "`":h=m(d,f[1]);for(i=0,n=h.length;i<n;i++){g=h[i];j=b(f[3],g,"`");l=l.concat(j)}return l;default:if(e!=">")h=m(d,f[1]);else h=d.childNodes;for(i=0,n=h.length;i<n;i++){g=h[i];if(g.nodeType!=1)continue;if(!o(g,f[1]))continue;l.push(g)}return l}}function m(d,o){if(o=="*"&&d.all!=null)return d.all;return d.getElementsByTagName(o)}function o(p,q){return q=="*"?true:p.nodeName.toLowerCase().replace("html:", "")==q.toLowerCase()}return r}();var sIFR=function(){var a="http://www.w3.org/1999/xhtml";var b=false;var c=false;var d;var ah=[];var al=document;var ak=al.documentElement;var am=window;var au=al.addEventListener;var av=am.addEventListener;var f=function(){var g=navigator.userAgent.toLowerCase();var f={a:g.indexOf("applewebkit")>-1,b:g.indexOf("safari")>-1,c:navigator.product!=null&&navigator.product.toLowerCase().indexOf("konqueror")>-1,d:g.indexOf("opera")>-1,e:al.contentType!=null&&al.contentType.indexOf("xml")>-1,f:true,g:true,h:null,i:null,j:null,k:null};f.l=f.a||f.c;f.m=!f.a&&navigator.product!=null&&navigator.product.toLowerCase()=="gecko";if(f.m&&g.match(/.*gecko\/(\d{8}).*/))f.j=new Number(g.match(/.*gecko\/(\d{8}).*/)[1]);f.n=g.indexOf("msie")>-1&&!f.d&&!f.l&&!f.m;f.o=f.n&&g.match(/.*mac.*/)!=null;if(f.d&&g.match(/.*opera(\s|\/)(\d+\.\d+)/))f.i=new Number(g.match(/.*opera(\s|\/)(\d+\.\d+)/)[2]);if(f.n||(f.d&&f.i<7.6))f.g=false;if(f.a&&g.match(/.*applewebkit\/(\d+).*/))f.k=new Number(g.match(/.*applewebkit\/(\d+).*/)[1]);if(am.hasFlash&&(!f.n||f.o)){var aj=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;f.h=parseInt(aj.substr(aj.indexOf(".")-2,2),10)}if(g.match(/.*(windows|mac).*/)==null||f.o||f.c||(f.d&&(g.match(/.*mac.*/)!=null||f.i<7.6))||(f.b&&f.h<7)||(!f.b&&f.a&&f.k<312)||(f.m&&f.j<20020523))f.f=false;if(!f.o&&!f.m&&al.createElementNS)try{al.createElementNS(a,"i").innerHTML=""}catch(e){f.e=true}f.p=f.c||(f.a&&f.k<312);return f}();function at(){return{bIsWebKit:f.a,bIsSafari:f.b,bIsKonq:f.c,bIsOpera:f.d,bIsXML:f.e,bHasTransparencySupport:f.f,bUseDOM:f.g,nFlashVersion:f.h,nOperaVersion:f.i,nGeckoBuildDate:f.j,nWebKitVersion:f.k,bIsKHTML:f.l,bIsGecko:f.m,bIsIE:f.n,bIsIEMac:f.o,bUseInnerHTMLHack:f.p}}if(am.hasFlash==false||!al.getElementsByTagName||!al.getElementById||(f.e&&(f.p||f.n)))return{UA:at()};function af(e){if((!k.bAutoInit&&(am.event||e)!=null)||!l(e))return;b=true;for(var i=0,h=ah.length;i<h;i++)j.apply(null,ah[i]);ah=[]}var k=af;function l(e){if(c==false||k.bIsDisabled==true||((f.e&&f.m||f.l)&&e==null&&b==false)||al.getElementsByTagName("body").length==0)return false;return true}function m(n){if(f.n)return n.replace(new RegExp("%\d{0}","g"),"%25");return n.replace(new RegExp("%(?!\d)","g"),"%25")}function as(p,q){return q=="*"?true:p.nodeName.toLowerCase().replace("html:", "")==q.toLowerCase()}function o(p,q,r,s,t){var u="";var v=p.firstChild;var w,x,y,z;if(s==null)s=0;if(t==null)t="";while(v){if(v.nodeType==3){z=v.nodeValue.replace("<","&lt;");switch(r){case "lower":u+=z.toLowerCase();break;case "upper":u+=z.toUpperCase();break;default:u+=z}}else if(v.nodeType==1){if(as(v,"a")&&!v.getAttribute("href")==false){if(v.getAttribute("target"))t+="&sifr_url_"+s+"_target="+v.getAttribute("target");t+="&sifr_url_"+s+"="+m(v.getAttribute("href")).replace(/&/g,"%26");u+='<a href="asfunction:_root.launchURL,'+s+'">';s++}else if(as(v,"br"))u+="<br/>";if(v.hasChildNodes()){y=o(v,null,r,s,t);u+=y.u;s=y.s;t=y.t}if(as(v,"a"))u+="</a>"}w=v;v=v.nextSibling;if(q!=null){x=w.parentNode.removeChild(w);q.appendChild(x)}}return{"u":u,"s":s,"t":t}}function A(B){if(al.createElementNS&&f.g)return al.createElementNS(a,B);return al.createElement(B)}function C(D,E,z){var p=A("param");p.setAttribute("name",E);p.setAttribute("value",z);D.appendChild(p)}function F(p,G){var H=p.className;if(H==null)H=G;else H=H.normalize()+(H==""?"":" ")+G;p.className=H}function aq(ar){var a=ak;if(k.bHideBrowserText==false)a=al.getElementsByTagName("body")[0];if((k.bHideBrowserText==false||ar)&&a)if(a.className==null||a.className.match(/\bsIFR\-hasFlash\b/)==null)F(a, "sIFR-hasFlash")}function j(I,J,K,L,M,N,O,P,Q,R,S,r,T){if(!l())return ah.push(arguments);aq();named.extract(arguments,{sSelector:function(ap){I=ap},sFlashSrc:function(ap){J=ap},sColor:function(ap){K=ap},sLinkColor:function(ap){L=ap},sHoverColor:function(ap){M=ap},sBgColor:function(ap){N=ap},nPaddingTop:function(ap){O=ap},nPaddingRight:function(ap){P=ap},nPaddingBottom:function(ap){Q=ap},nPaddingLeft:function(ap){R=ap},sFlashVars:function(ap){S=ap},sCase:function(ap){r=ap},sWmode:function(ap){T=ap}});var U=parseSelector(I);if(U.length==0)return false;if(S!=null)S="&"+S.normalize();else S="";if(K!=null)S+="&textcolor="+K;if(M!=null)S+="&hovercolor="+M;if(M!=null||L!=null)S+="&linkcolor="+(L||K);if(O==null)O=0;if(P==null)P=0;if(Q==null)Q=0;if(R==null)R=0;if(N==null)N="#FFFFFF";if(T=="transparent")if(!f.f)T="opaque";else N="transparent";if(T==null)T="";var p,V,W,X,Y,Z,aa,ab,ac;var ad=null;for(var i=0,h=U.length;i<h;i++){p=U[i];if(p.className!=null&&p.className.match(/\bsIFR\-replaced\b/)!=null)continue;V=p.offsetWidth-R-P;W=p.offsetHeight-O-Q;aa=A("span");aa.className="sIFR-alternate";ac=o(p,aa,r);Z="txt="+m(ac.u).replace(/\+/g,"%2B").replace(/&/g,"%26").replace(/\"/g, "%22").normalize() + S + "&w=" + V + "&h=" + W + ac.t;F(p,"sIFR-replaced");if(ad==null||!f.g){if(!f.g){if(!f.n)p.innerHTML=['<embed class="sIFR-flash" type="application/x-shockwave-flash" src="',J,'" quality="best" wmode="',T,'" bgcolor="',N,'" flashvars="',Z,'" width="',V,'" height="',W,'" sifr="true"></embed>'].join("");else p.innerHTML=['<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" sifr="true" width="',V,'" height="',W,'" class="sIFR-flash"><param name="movie" value="',J,'"></param><param name="flashvars" value="',Z,'"></param><param name="quality" value="best"></param><param name="wmode" value="',T,'"></param><param name="bgcolor" value="',N,'"></param> </object>'].join('')}else{if(f.d){ab=A("object");ab.setAttribute("data",J);C(ab,"quality","best");C(ab,"wmode",T);C(ab,"bgcolor",N)}else{ab=A("embed");ab.setAttribute("src",J);ab.setAttribute("quality","best");ab.setAttribute("flashvars",Z);ab.setAttribute("wmode",T);ab.setAttribute("bgcolor",N)}ab.setAttribute("sifr","true");ab.setAttribute("type","application/x-shockwave-flash");ab.className="sIFR-flash";if(!f.l||!f.e)ad=ab.cloneNode(true)}}else ab=ad.cloneNode(true);if(f.g){if(f.d)C(ab,"flashvars",Z);else ab.setAttribute("flashvars",Z);ab.setAttribute("width",V);ab.setAttribute("height",W);ab.style.width=V+"px";ab.style.height=W+"px";p.appendChild(ab)}p.appendChild(aa);if(f.p)p.innerHTML+=""}if(f.n&&k.bFixFragIdBug)setTimeout(function(){al.title=d},0)}function ai(){d=al.title}function ae(){if(k.bIsDisabled==true)return;c=true;if(k.bHideBrowserText)aq(true);if(am.attachEvent)am.attachEvent("onload",af);else if(!f.c&&(al.addEventListener||am.addEventListener)){if(f.a&&f.k>=132&&am.addEventListener)am.addEventListener("load",function(){setTimeout("sIFR({})",1)},false);else{if(al.addEventListener)al.addEventListener("load",af,false);if(am.addEventListener)am.addEventListener("load",af,false)}}else if(typeof am.onload=="function"){var ag=am.onload;am.onload=function(){ag();af()}}else am.onload=af;if(!f.n||am.location.hash=="")k.bFixFragIdBug=false;else ai()}k.UA=at();k.bAutoInit=true;k.bFixFragIdBug=true;k.replaceElement=j;k.updateDocumentTitle=ai;k.appendToClassName=F;k.setup=ae;k.debug=function(){aq(true)};k.debug.replaceNow=function(){ae();k()};k.bIsDisabled=false;k.bHideBrowserText=true;return k}();

if(typeof sIFR == "function" && !sIFR.UA.bIsIEMac && (!sIFR.UA.bIsWebKit || sIFR.UA.nWebKitVersion >= 100)){
	sIFR.setup();
};

/*	sIFR 2.0.1 Official Add-ons 1.2
	Copyright 2005 Mark Wubben

	This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/>
*/

if(typeof sIFR=="function")(function(){var j=document;var h=j.documentElement;sIFR.removeDecoyClasses=function(){function a(b){if(b&&b.className!=null)b.className=b.className.replace(/\bsIFR-hasFlash\b/,"")}return function(){a(h);a(j.getElementsByTagName("body")[0])}}();sIFR.preferenceManager={storage:{sCookieId:"sifr",set:function(a){var b=new Date();b.setFullYear(b.getFullYear()+3);j.cookie=[this.sCookieId,"=",a,";expires=",b.toGMTString(),";path=/"].join("")},get:function(){var a=j.cookie.match(new RegExp(";?"+this.sCookieId+"=([^;]+);?"));if(a!=null&&a[1]=="false")return false;else return true},reset:function(){var a=new Date();a.setFullYear(a.getFullYear()-1);j.cookie=[this.sCookieId,"=true;expires=",a.toGMTString(),";path=/"].join("")}},disable:function(){this.storage.set(false)},enable:function(){this.storage.set(true)},test:function(){return this.storage.get()}};if(sIFR.preferenceManager.test()==false){sIFR.bIsDisabled=true;sIFR.removeDecoyClasses()}sIFR.rollback=function(){function a(b){var c,d,e,f,g,h;var l=parseSelector(b);var i=l.length-1;var m=false;while(i>=0){c=l[i];l.length--;d=c.parentNode;if(c.getAttribute("sifr")=="true"){h=0;while(h<d.childNodes.length){c=d.childNodes[h];if(c.className=="sIFR-alternate"){e=c;h++;continue}d.removeChild(c)}if(e!=null){f=e.firstChild;while(f!=null){g=f.nextSibling;d.appendChild(e.removeChild(f));f=g}d.removeChild(e)}if(!sIFR.UA.bIsXML&&sIFR.UA.bUseInnerHTMLHack)d.innerHTML+="";d.className=d.className.replace(/\bsIFR\-replaced\b/,"")};m=true;i--}return m}return function(k){named.extract(arguments,{sSelector:function(a){k=a}});if(k==null)k="";else k+=">";sIFR.removeDecoyClasses();sIFR.bHideBrowserText=false;if(a(k+"embed")==false)a(k+"object")}}()})()