/**
 * This is the script used to open popup windows.
 */
function openWindow(url,winName,features) {
  window.open(url,winName,features);
}


/**
 * This script prints an email address to the screen, 
 * so that it's harder for spam bots to scrape the email 
 * addresses from the web page.
 */
function printEmail(thisUser,thisDomain,thisDot,thisText,thisClass) {
  var emailAddress = thisUser + "@" + thisDomain + "." + thisDot;
  if (thisText == "addy") {
    thisText = emailAddress;
  }
  document.write("<a href=\"mailto:");
  document.write(emailAddress);
  if (thisClass != "") {
    document.write("\" class=\"");
    document.write(thisClass);
  }
  document.write("\">");
  document.write(thisText);
  document.write("</a>");
}

