/*
Simple Bookmark script which takes the title for the bookmark
and the url to bookmark.

Functionality for:
        -Internet Explorer
        -Netscape
*/

function bookmark(theTitle, theURL){
var title = theTitle;
var url = theURL;
if (document.all)
        window.external.AddFavorite(url, title);
else if (window.sidebar)
        window.sidebar.addPanel(title, url, "")
else if (window.sidebar&&window.sidebar.addPanel)
        window.sidebar.addPanel(title,url,"");
}

