/*
   Phillips and Son Computer Consulting

   original file name: email.js

   This is used to reduce email harvesting from the web site.
   Embedding an email in the text of a web page may allow programs
   that crawl the web to extract it and add it to SPAM lists.

   $Id$
*/
function changeEmailLink(id, email) {
   var domain = "thewaymiregroup.com";
   if (document.getElementById) {
      document.getElementById(id).href = "mailto:" + email + "@" + domain;
   } else if (document.all) {
      document.all[id].href = "mailto:" + email + "@" + domain;
   }
   return -1;
}

function setStatusBar(email) {
   var domain = "thewaymiregroup.com";
   //window.status = email + "@" + domain;
   self.status = email + "@" + domain;
   return true;
}
