$(function(){
	$("#body").equalHeights();
	
	/* rounded corners for < CSS3 browsers.. */
	$("#sidebar-left").find("h3").corner('round 5px');
});

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i < sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function(){
			var self = this;
			setTimeout(function(){
				self.className = self.className.replace(new RegExp(" sfhover\\b"), "");
			}, 200);
		}
	}
}

if (window.attachEvent) window.attachEvent("onload", sfHover);

