/**
 * 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');
		}
	});
}