window.onload = stripeRow;

function stripeRow() {
	var odd = false;
	var tables = document.getElementById("coming_up").getElementsByTagName("TR");
	for (var i = 0; i < tables.length; i++) {
		if (odd == false) {
			tables[i].className = 'even';
			odd = true;
		} else {
			tables[i].className = 'odd';
			odd = false;
		}
	}
}

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

function hoverMenu() {
	var sfEls = document.getElementById("main_menu").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"), "");
		}
	}
}