function bookmark(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}

document.write("<a href=\"javascript:bookmark('" + window.location + "','" + document.title + "')\">Bookmark Page</a>");
document.write(" | ");

/*
function isPPC() {
if (navigator.appVersion.indexOf("PPC") != -1) return true;
else return false;
}
*/
//if(isPPC()) {
	document.write(' <A CLASS="contact" HREF=\"mailto:\?subject=Take a look at this page I found, ' + document.title + '&body=You can see this page at: ' + window.location + '\" onMouseOver="window.status=\'Email this page to a friend\'; return true" TITLE="Email this page to a friend">Email to a friend<\/A>');
//}
//else { 
	//document.write('<A CLASS="contact" HREF=\"mailto:\?body=Take a look at this page I found, ' + document.title + '. You can see this page at: ' + window.location + '\" onMouseOver="window.status=\'Email this page to a friend\'; return true" TITLE="Email this page to a friend">Email to a friend<\/A>');
//}