function bookmark(url, description) 
{
netscape="First click OK and then type CTRL+D to bookmark this site (or on a Mac type CMND+D)." 

if (navigator.appName=='Microsoft Internet Explorer') 
{ window.external.AddFavorite(url, description); 
} else if (navigator.appName=='Netscape') 
{
alert(netscape); 
}
}

// popWin() opens a chromeless window using url and dimensions you provide
function popWin(pophref, x, y) {
  var winPop = window.open(pophref,"popWin",'width=' + x + ',height=' + y +
    ',left=0,top=0,scrollbars=no,resizable=no,menubar=no,status=yes,toolbar=no,location=no,directories=no' );
}
// end of popWin
//
// code to add to the anchor links is as follows...
// onClick="popWin(this.href,'width','height');return false;" 
//
//
// popWin2() opens a scrollable resizable window using url and dimensions you provide
function popWin2(pophref2, x, y) {
  var winPop2 = window.open(pophref2,"popWin2",'width=' + x + ',height=' + y +
    ',left=0,top=0,scrollbars=yes,resizable=yes,menubar=no,status=yes,toolbar=no,location=no,directories=no' );
}
// end of popWin
//
// code to add to the anchor links is as follows...
// onClick="popWin2(this.href,'width','height');return false;" 
//
