//addStyle("#footerwrap{visibility:hidden}")

//new onready("document.getElementById('footerwrap')", function(){
	//stickyFooter.pad(document.getElementById("footerwrap"))
	//document.getElementById('footerwrap').style.visibility = "visible"
//})

if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
	document.documentElement.className = ""
}


new onready("document.getElementById('content')", function(){
	hoverInit()
})










function addStyle(rule) {
	document.write("<sty" + "le type='text/css'>")
	document.write(rule)
	document.write("</sty" + "le>")
}

function onready(el, func){
	this.args = new Array(el, func)
	this.doTry = function(){
		try{
			var el = eval(this.args[0])
			el.onloading = this.args[1]
			el.onloading()
			clearInterval(this.args[2])
		}
		catch(e){}
	}
	this.doTry.bind = function(object){
		var method = this;
		return function(){
			method.apply(object);
		}
	}
	this.args[2] = setInterval(this.doTry.bind(this), 250);
	return this
}