function writemail(a,b,c,d) {
  if (d) {
    return "<a href=\"mailto:"+a+"@"+b+"."+c+"\">"+d+"<\/a>"
  } else {
    return "<a href=\"mailto:"+a+"@"+b+"."+c+"\">"+a+"@"+b+"."+c+"<\/a>"
  }
}

function bookmark(url, title) {
	/* if (window.sidebar) { // Firefox
		window.sidebar.addPanel(title, url, "");
	} else */
	if(document.all) { // IE
		window.external.AddFavorite(url, title);
	} else {
		notIE = "Sorry, your browser doesn't support this\n"
		    + "\n"
		    + "If you bookmark this page manually, the best (long term) address is " + url + "\n"
			+ " rather than " + document.location.href + "\n"
		    + "\n"
		    + "Firefox/Mozilla/Netscape users, hit Ctrl+D, click OK,\n"
		    + " then right click the new bookmark and select \"Properties\" to change"
		alert(notIE);
	}
}

function bookmarkOld(url, title) {
	if (document.all) {
		window.external.AddFavorite(url, title);
	} else {
		notIE="Firefox/Mozilla/Netscape users will need to use Ctrl+D\n\nThe best (long term) address to use is " + url + "\n rather than " + document.location.href + "\n\nHit Ctrl+D, click OK, then right click the bookmark and select \"Properties\" to change"
		alert(notIE);
	}
}

