// Navigation for IE
navHover = function() {
	var navLi = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<navLi.length; i++) {
		navLi[i].onmouseover=function() {
			this.className+=" over";
		}
		navLi[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" over\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", navHover);

// Bookmarking
function bookmark(url,title){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}

// Pop Up Window
var newwindow;
function sendToFriend(url)
{
	newwindow=window.open(url,'name','height=420, width=550, scrollbars=no, toolbar=no, menubar=no, resizable=yes');
	if (window.focus) {newwindow.focus()}
}
