/* Suckerfish function for rollover states in main navigation*/

sfHover = function() {
	if(document.getElementById("secondLevel_twoCol")) {
		var sfEls = document.getElementById("secondLevel_twoCol").getElementsByTagName("input");
		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"), "");
			}
		}
	}

}
sfInputHover = function() {
	if (document.getElementById("howToPlay_col_02")) {
		var sfEls = document.getElementById("howToPlay_col_02").getElementsByTagName("input");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" sfInputHover";
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfInputHover\\b"), "");
			}
		}
	}

}
if (window.attachEvent) window.attachEvent("onload", sfHover);
if (window.attachEvent) window.attachEvent("onload", sfInputHover);