// JavaScript Document
function addBookmark(title,url) {
if (window.sidebar) { 
window.sidebar.addPanel(title, url,""); 
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else{
	var ua=navigator.userAgent.toLowerCase(),isMac=(ua.indexOf('mac')!=-1),
	isWebkit=(ua.indexOf('webkit')!=-1),str=(isMac?'Command/Cmd':'CTRL');
	if(window.opera && (!opera.version || (opera.version()<9))) {
		str+=' + T';  // Opera versions before 9
	} else if(ua.indexOf('konqueror')!=-1) {
		str+=' + B'; // Konqueror
	} else if(window.opera || window.home || isWebkit || isMSIE || isMac) {
	// IE, Firefox, Netscape, Safari, Google Chrome, Opera 9+, iCab, IE5/Mac
		str+=' + D';
	}
	alert((str)?'Press '+str+' to bookmark this page.':str);
}
}
