<!-- Copyright 2000 William Bontrager


// Step 1:
// Specify the text prompt for Macintosh and the different PC browsers.
TextPromptMacintosh = "bookmark this (Command/Apple-D)";
TextPromptIE = "Add to Favorites!";
TextPromptNetscape = "bookmark this - press Control-D";
TextPromptOther = "bookmark this - press Control-D";


// Step 2:
// The PC IE prompt can be a link or a button; specify "yes" or "no" for each.
IElinkPrompt = "no";
IEbuttonPrompt = "yes";


// End of customization.


// PrintPrompt() determines which prompt is appropriate and writes it.
function PrintPrompt() {
if((navigator.userAgent.indexOf('Mac') != -1) && ((navigator.appName.indexOf('Netsca') != -1) || (navigator.appName.indexOf('Naviga') != -1) || (navigator.appName.indexOf('Micros') != -1))) {
        document.write(TextPromptMacintosh);
        return;
        }
if((navigator.appName.indexOf('Netsca') != -1) || (navigator.appName.indexOf('Naviga') != -1)) {
        document.write(TextPromptNetscape);
        return;
        }
if(navigator.appName.indexOf('Micros') != -1) {
        if((IElinkPrompt == 'yes') || (IEbuttonPrompt != 'yes')) { document.write('<a href="javascript:BookmarkIEonPC()">' + TextPromptIE + '</a>'); }
        if(IEbuttonPrompt == 'yes') { document.write('<form><input type="button" value="' + TextPromptIE + '" onClick="BookmarkIEonPC()"></form>'); }
        return;
        }
document.write(TextPromptOther);
}

// BookmarkIEonPC() launches IE's bookmark dialog box (on PC only).
function BookmarkIEonPC() {
if(navigator.appName.indexOf('Microsoft') != -1) { window.external.AddFavorite(location.href,document.title); }
}

//-->