function addbookmark() {
    if (document.all) //IE - add to Favorites
        {window.external.AddFavorite(location.href, document.title);}
    else if (window.sidebar && window.sidebar.addPanel)  //Mozilla, Firefox, Gecko (Netscape 6 etc.) - add bookmark to Sidebar
        //Until Firefox 1.0x fixies bug, the following script will force scripted add to bookmarks to open in sidebar, not main window
        //{window.sidebar.addPanel(document.title, location.href,'')}
        {window.alert( 'Please click OK then press Ctrl+D to create a bookmark' );}
    else if( window.opera && window.print )  //Opera 6+ - add as sidebar panel to Hotlist
        {return true;}
    else if( document.layers )  //Netscape 4.x
        {window.alert( 'Please click OK then press Ctrl+D to create a bookmark' );}
    else {
        //other browsers - tell them to add a bookmark (adds current page, not target page)
        window.alert( 'Please use your browser\'s bookmarking facility to create a bookmark' );
    }
//return false;
}

