function openWin( windowURL, windowName, windowFeatures ) { 
  return window.open( windowURL, windowName, windowFeatures ) ; 
} 

// Javascript to disable submit button after pressing SUBMIT
// To use this Javascript place the following in the <form> tag: onSubmit="javascript:return disableForm(this);"
function disableForm(theform) {
  if (document.all || document.getElementById) {
    for (i = 0; i < theform.length; i++) {
      var tempobj = theform.elements[i];
      if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset") {
        tempobj.disabled = true;
      }
    }
  }
}

// Javascript to help prevent SPAM BOTS from getting your Email Address
// Example of use: <a href="javascript:getemail('bob@domain.com')">Email Bob</a>
function getemail(address) { 
  //window.location.replace('mailto:' +address+ '@yourdomain.com'); 
  window.location.replace('mailto:' +address); 
}

// Javascript to help prevent SPAM BOTS from getting your Email Address
/**
 * Copyright (C) 2004, CodeHouse.com. All rights reserved.
 * CodeHouse(TM) is a registered trademark.
 *
 * THIS SOURCE CODE MAY BE USED FREELY PROVIDED THAT
 * IT IS NOT MODIFIED OR DISTRIBUTED, AND IT IS USED
 * ON A PUBLICLY ACCESSIBLE INTERNET WEB SITE.
 *
 * Script Name: E-mail Hider
 *
 * You can obtain this script at http://www.codehouse.com
 */
 
function email_address(name, domain, suffix, text) {
  var address = name + "\u0040" + domain + "." + suffix;
  var url = "mailto:" + address;
  if( ! text ) {
    text = address;
  }
  document.write("<a href=\"" + url + "\">" + text + "</a>");
}