function bookmarkPage()
{
	/* On IE, add to favorites. On other browesrs, issue alert with instruction to use 
	   Apple/ctrl-D. */

	var ua = navigator.userAgent.toLowerCase(); 

	// browser engine name
	this.isGecko       = (ua.indexOf('gecko') != -1 && ua.indexOf('safari') == -1);
	this.isAppleWebKit = (ua.indexOf('applewebkit') != -1);

	// browser name
	this.isKonqueror   = (ua.indexOf('konqueror') != -1); 
	this.isSafari      = (ua.indexOf('safari') != - 1);
	this.isOmniweb     = (ua.indexOf('omniweb') != - 1);
	this.isOpera       = (ua.indexOf('opera') != -1); 
	this.isIcab        = (ua.indexOf('icab') != -1); 
	this.isAol         = (ua.indexOf('aol') != -1); 
	this.isIE          = (ua.indexOf('msie') != -1 && !this.isOpera && (ua.indexOf('webtv') == -1) ); 
	this.isMozilla     = (this.isGecko && ua.indexOf('gecko/') + 14 == ua.length);
	this.isFirebird    = (ua.indexOf('firebird/') != -1);
	this.isFirefox    = (ua.indexOf('firefox/') != -1);
	this.isNS          = ( (this.isGecko) ? (ua.indexOf('netscape') != -1) : ( (ua.indexOf('mozilla') != -1) && !this.isOpera && !this.isSafari && (ua.indexOf('spoofer') == -1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('webtv') == -1) && (ua.indexOf('hotjava') == -1) ) );

	this.versionMajor = parseInt(this.versionMinor);
	this.isMac    = (ua.indexOf('mac') != -1);

	this.isIE5x = (this.isIE && this.versionMajor == 5);

	var url=window.location.href;
	var title=document.title;
  if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	}
	else if (window.external && !this.isMac)
	{
                window.external.AddFavorite(url,title);
	}
	else if(window.opera && window.print){ // opera
                alert("Press Ctrl+D to bookmark this page."); 
	} else if (!this.isMac && (this.isNS || this.isMozilla))
	{
                alert("Press Ctrl+D to bookmark this page."); 
	} else if (this.isMac && (this.isSafari || this.ie5x || this.isMozilla))
	{
                alert("Press Apple+D to bookmark this page."); 
        } else {
                alert("Sorry! Your browser doesn't support this function.\nUse your browser's bookmark feature to add a bookmark."); 
        }
}

// Tool Bar image links - help text
// call by: onMouseOver=\"toolHelp('Email this Page');\" onMouseOut=\"toolHelp('Options');\">
//
function toolHelp( helptext )
{
	 var toolhelp = document.getElementById('toolhelp');
	toolhelp.innerHTML = helptext;
}



