/*function bookmark(){		
	if (navigator.appName == "Microsoft Internet Explorer") {
		if (parseInt(navigator.appVersion) >= 4)
		{	
			if (window.external != null)
			{
				window.external.AddFavorite(window.location,document.title);
			}
		}
	} else if (navigator.appName == "Netscape") {			
		window.sidebar.addPanel(window.location,document.title);
	} else if (navigator.appName == "Netscape") {
		alert("Press CTRL-D (Firefox) to bookmark");
	window.external.AddFavorite(document.location.href, document.title);
	} 
	alert("Press CTRL-T (Opera),CTRL-D (Firefox/Netscape) to bookmark");
}*/

function bookmark(){
if (window.sidebar) // firefox
	window.sidebar.addPanel(document.title, document.location.href, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',document.location.href);
	elem.setAttribute('title',document.title);
	elem.setAttribute('rel','sidebar');
	elem.click();
}
else if(document.all)// ie
	window.external.AddFavorite(document.location.href, document.title);
}