function bookmarksite(title,url) {
 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) {
 // Internet Explorer
 window.external.AddFavorite(url, title);
 }
 else {
 // user agent sniffing is bad in general, but this is one of the times when it's really necessary
 var ua=navigator.userAgent.toLowerCase();
 var isKonq=(ua.indexOf('konqueror')!=-1);
 var isSafari=(ua.indexOf('webkit')!=-1);
 var isMac=(ua.indexOf('mac')!=-1);
 var buttonStr=isMac?'Command/Cmd':'CTRL';
 if(isKonq) {
 alert('You need to press CTRL + B to bookmark our site.');
 } else if(window.home || isSafari) { // Safari
 alert('You need to press '+buttonStr+' + D to bookmark our site.');
 } else if(!window.print || isMac) { // IE5/Mac and Safari 1.0
 alert('You need to press Command/Cmd + D to bookmark our site.');
 } else {
 alert('In order to bookmark this site you need to do so manually through your browser.');
 }
 }
}
