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";
			//alert("over");
		}
		sfEls[i].onmouseout=function() {
			this.className="";
			//alert("unover");
		}
	}
}

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();
}
