function externalLinks()
{
	if (!document.getElementsByTagName) return;
		var anchors = document.getElementsByTagName("a");	
	for (var i=0; i<anchors.length; i++)
 	{
   		var anchor = anchors[i];
   		if (anchor.getAttribute("href") && anchor.getAttribute("class") == "extern")
     		anchor.target = "_blank";
 	}
}

function UnCryptMailto( s )
{
    var n = 0;
    var r = "";
    for( var i = 0; i < s.length; i++)
    {
        n = s.charCodeAt( i );
        if( n >= 8364 )
        {
            n = 128;
        }
        r += String.fromCharCode( n - 1 );
    }
    return r;
}
function linkTo_UnCryptMailto( s )
{
    location.href=UnCryptMailto( s );
}

sfHover = function() {
	var sfEls = document.getElementById("navList").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);


window.onload = function() { externalLinks(); }
