//
// JBWan 22-02-2002 www.jbwan.com
// handy script that should stop spam trawelers
//

var MAIL_SERVER = "@tssg.org";
var WIT_MAIL_SERVER = "@wit.ie";

var INFO_NO_SPAM = "mailto:info" + MAIL_SERVER;
var MSOF_NO_SPAM = "mailto:mofoghlu" + MAIL_SERVER;
var DRWD_NO_SPAM = "mailto:wdonnelly" + MAIL_SERVER;
var EDEL_NO_SPAM = "mailto:edeleastar" + MAIL_SERVER;
var JOBS_NO_SPAM = "mailto:jobs" + MAIL_SERVER;
var BARRY_NO_SPAM = "mailto:bdownes" + MAIL_SERVER;
var JBWAN_NO_SPAM = "mailto:jbrazil" + MAIL_SERVER;
var KH_NO_SPAM = "mailto:khearne" + MAIL_SERVER;
var PAR_NO_SPAM = "mailto:pbrowne" + MAIL_SERVER;
var CLONEY_NO_SPAM = "mailto:jcloney" + MAIL_SERVER;
var MARYN_NO_SPAM = "mailto:mnolan" + MAIL_SERVER;
var SDEMP_NO_SPAM = "mailto:sdempsey" + MAIL_SERVER;
var BO_NO_SPAM = "mailto:brousseau" + MAIL_SERVER;
var CONOR_NO_SPAM = "mailto:cryan" + MAIL_SERVER;
var GARI_NO_SPAM = "mailto:garimac" + MAIL_SERVER;
var PAULM_NO_SPAM = "mailto:pmalone" + MAIL_SERVER;
var ROB_NO_SPAM = "mailto:roconnor" + MAIL_SERVER;
var SMC_NO_SPAM = "mailto:smccormack" + MAIL_SERVER;
var J0N_NO_SPAM = "mailto:jronan" + MAIL_SERVER;
var CCORC_NO_SPAM = "mailto:ccorcoran" + WIT_MAIL_SERVER;
var CSKER_NO_SPAM = "mailto:cskerritt" + MAIL_SERVER;
var VENET_NO_SPAM = "mailto:vosmani" + MAIL_SERVER;
var MCROTTY_NO_SPAM = "mailto:mcrotty" + MAIL_SERVER;
var ANNES_NO_SPAM = "mailto:astearn" + WIT_MAIL_SERVER;
var RAYC_NO_SPAM = "mailto:rcarroll" + MAIL_SERVER;
var MCGIB_NO_SPAM = "mailto:jmcgibney" + MAIL_SERVER;
var JESSE_NO_SPAM = "mailto:jkielthy" + MAIL_SERVER;
var CATHAL_NO_SPAM = "mailto:coriordan" + MAIL_SERVER;
var MIGUEL_NO_SPAM = "mailto:miguelpdl" + MAIL_SERVER;
var DARACH_NO_SPAM = "mailto:dcawley" + MAIL_SERVER;
var SEAN_NO_SPAM = "mailto:shearne" + MAIL_SERVER;
var LAURAD_NO_SPAM = "mailto:ldunphy" + WIT_MAIL_SERVER;
var CATHALOR_NO_SPAM = "mailto:coriordan" + MAIL_SERVER;
var AIDENJ_NO_SPAM = "mailto:ajennings" + MAIL_SERVER;
var DIARMUIDM_NO_SPAM = "mailto:dmcintyre" + MAIL_SERVER;
var MARG_NO_SPAM = "mailto:mgrene" + MAIL_SERVER;

function mail(name)
{
  if(name == "info")
  {
    document.location.href = INFO_NO_SPAM;
  }
  else if(name == "diarmuid")
  {
      document.location.href = DIARMUIDM_NO_SPAM;
  }
  else if(name == "mgrene")
  {
      document.location.href = MARG_NO_SPAM;
  }
  else if(name == "ajennings")
  {
    document.location.href = AIDENJ_NO_SPAM;
  }
  else if(name == "coriordan")
  {
    document.location.href = CATHALOR_NO_SPAM;
  }
  else if(name == "seanh")
  {
    document.location.href = SEAN_NO_SPAM;
  }
  else if(name == "paulm")
  {
    document.location.href = PAULM_NO_SPAM;
  }
  else if(name == "jobs")
  {
    document.location.href = JOBS_NO_SPAM;
  }
  else if(name == "mpdl")
  {
    document.location.href = MIGUEL_NO_SPAM;
  }
  else if(name == "dcaw")
  {
    document.location.href = DARACH_NO_SPAM;
  }  
  else if(name == "drwd")
  {
    document.location.href = DRWD_NO_SPAM;
  }
  else if(name == "edel")
  {
    document.location.href = EDEL_NO_SPAM;
  }
  else if(name == "msof")
  {
    document.location.href = MSOF_NO_SPAM;
  }
  else if(name == "barryd")
  {
    document.location.href = BARRY_NO_SPAM;
  }
  else if(name == "jbwan")
  {
    document.location.href = JBWAN_NO_SPAM;
  }
  else if(name == "kh")
  {
    document.location.href = KH_NO_SPAM;
  }
  else if(name == "maryn")
  {
    document.location.href = MARYN_NO_SPAM;
  }
  else if(name == "cloney")
  {
    document.location.href = CLONEY_NO_SPAM;
  }
  else if(name == "sdemp")
  {
    document.location.href = SDEMP_NO_SPAM;
  }
  else if(name == "bo")
  {
    document.location.href = BO_NO_SPAM;
  }
  else if(name == "conor")
  {
    document.location.href = CONOR_NO_SPAM;
  }
  else if(name == "gari")
  {
    document.location.href = GARI_NO_SPAM;
  }
  else if(name == "par")
  {
    document.location.href = PAR_NO_SPAM;
  }
  else if(name == "rob")
  {
    document.location.href = ROB_NO_SPAM;
  }
  else if(name == "smc")
  {
    document.location.href = SMC_NO_SPAM;
  }
  else if(name == "j0n")
  {
    document.location.href = J0N_NO_SPAM;
  }
  else if(name == "ccorc")
  {
  	document.location.href = CCORC_NO_SPAM;
  }
  else if(name == "csker")
  {
  	document.location.href = CSKER_NO_SPAM;
  }
  else if(name == "venet")
  {
  	document.location.href = VENET_NO_SPAM;
  }
  else if(name == "mcrotty")
  {
  	document.location.href = MCROTTY_NO_SPAM;
  }
  else if(name == "annes")
  {
  	document.location.href = ANNES_NO_SPAM;
  }
  else if(name == "laurad")
  {
  	document.location.href = LAURAD_NO_SPAM;
  }  
  else if(name == "rayc")
  {
  	document.location.href = RAYC_NO_SPAM;
  }
  else if(name == "mcgib")
  {
  	document.location.href = MCGIB_NO_SPAM;
  }
  else if(name == "jesse")
  {
  	document.location.href = JESSE_NO_SPAM;
  }
  else if(name == "cathal")
  {
  	document.location.href = CATHAL_NO_SPAM;
  }
}
