var ordnum = Math.random()*10000000000000000;

/* Extra stuff to enable nav hovers in lame IE */
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);

/* Sponsor toggle */
function sponsorToggle (show) {
	if (show) {
		document.getElementById('sponsor').style.display = 'block';
	} else {
		document.getElementById('sponsor').style.display = 'none';
	}
}
