function addbookmark(bookmarkurl,bookmarktitle){
	bookmarkurl=location;
	if (document.all){// IE	
		window.external.AddFavorite(bookmarkurl,bookmarktitle); 
	}
	//Commenting out FF bookmark code since it allows the link from bookmark to open in the sidebar.
	//else if (window.sidebar) {// firefox
	//window.sidebar.addPanel(bookmarktitle, bookmarkurl, "");
	//}
	
	//else if(window.opera && window.print){ // opera
	//var elem = document.createElement('a');
	//elem.setAttribute('href',bookmarkurl);
	//elem.setAttribute('title',bookmarktitle);
	//elem.setAttribute('rel','sidebar');
	//elem.click();
	//}

	else {// other browsers
		alert("To bookmark, press Ctrl+D (Mac users, press Command+D)."); 
	}
}
