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() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

$(document).ready(function() {
   _equal_height($('#content, #sidebar'));
});

function _equal_height(el) {

    var max_height = 0;

    el.each(function() {

		var this_height = $(this).height();

		if( this_height > max_height) {

		    max_height = this_height;
		}
	});

	el.height(max_height);
}
