if (window.self != window.top) window.top.location = window.self.location;

var sfHover = function() {
    if (document.getElementById("nav")){
   	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);

var sfHover2 = function() {
    if (document.getElementById("nav2")){
   	var sfEls = document.getElementById("nav2").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", sfHover2);

var sfHover3 = function() {
    if (document.getElementById("homenav_home")){
   	var sfEls = document.getElementById("homenav_home").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", sfHover3);




function gotoPage(url) {
        if (("" != url) && ("#" != url)) {
                location.href=url;
        } // if
} // gotoPage()

function noproxy() {
    window.open("/include/legend.php", "noProxy", "status = 1, height = 150, width = 300, resizable = 0, top = 300, left = 300");
} // noproxy()
