sfHovernav = function() {
	var lis = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" sfhover";
			}
			lis[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
				}
			}
		}
if (window.attachEvent) window.attachEvent("onload", sfHovernav);

sfHoverleft = function() {
	var lis = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" sfhover";
			}
			lis[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
				}
			}
		}
if (window.attachEvent) window.attachEvent("onload", sfHoverleft);

sfHoverright = function() {
	var lis = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" sfhover";
			}
			lis[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
				}
			}
		}
if (window.attachEvent) window.attachEvent("onload", sfHoverright);

function initLinks() {
	a = document.getElementsByTagName("a");
	for (i = 0; i < a.length; i++) {
		a[i].onfocus = new Function("this.blur()");
		if (a[i].className.match(/external/)) a[i].target = "_blank";
	}
	area = document.getElementsByTagName("area");
	for (i = 0; i < area.length; i++) {
		area[i].onfocus = new Function("this.blur()");
	}
}
window.onload = initLinks;
