/*function MM_jumpMenu(targ,selObj,restore){
	if (selObj.options[selObj.selectedIndex].value != "select") eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}*/
function MM_jumpMenu(targ,selObj,restore) {
	var url = selObj.options[selObj.selectedIndex].value;
	if (url != "select") {
		if (url.substring(0,4) == "http") {
			window.open(url);
		} else {
			eval(targ+".location='"+url+"'");
		}
	}
	//if (restore) selObj.selectedIndex=0;
}

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.focus(); // this doesn't fix IE7 glitch
			// IE7 fix
			for (var i=1; i<1; i++) {
				document.getElementById("nav"+i).className = document.getElementById("nav"+i).className.replace(new RegExp(" sfhover\\b"), "");
			}
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			// IE7 fix
			for (var i=1; i<1; i++) {
				document.getElementById("nav"+i).className = document.getElementById("nav"+i).className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);



function toggleVideoCode(currSelect) {
	if (document.getElementById) {
		thisSelect = document.getElementById(currSelect).style
		if (thisSelect.display == "block") {
			thisSelect.display = "none"
		} else {
			thisSelect.display = "block"
		}
	} else {
		return true
	}
}
