// JavaScript Document
 
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);

function goto(url,target) {
	if (target == 'blank') {
		window.open(url);
	}
	else {
		window.location=url;
	}
}

function show(layer) {
	document.getElementById(layer).style.display='block';
}
function hide(layer) {
	document.getElementById(layer).style.display='none';
}


