function bookmarksite(title, url){
    if (document.all)
        window.external.AddFavorite(url, title);
    else
        if (window.sidebar)
            window.sidebar.addPanel(title, url, "")
        else
            alert("Please press CTRL+D to bookmark this site");
}

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 popUpWindow(url, h, w){
popupWin = 0;
	if(popupWin){
		if(!popUpWin.closed){
			popUpWin.close();
		}
	}
popupWin = open(url, 'popUpWin', 'scrollbars=yes, resizable=no, left=0, top=0, height='+h+', width='+w);
popupWin.focus();
}
