function preload(imgObj, imgSrc){
  if (document.images){
    eval(imgObj + '=new Image()');
    eval(imgObj + '.src=" ' + imgSrc + ' "');
  }
}

function changeImage(layer, imgName, imgObj){
  if (document.images){
    if (document.layers && layer != null) eval('document.' + layer + '.document.images[" ' + imgName + ' "].src = ' + imgObj + '.src');
      else document.images[imgName].src = eval(imgObj + '.src');
  }
}

preload('_oops_off', 'images/buttons/_oops.gif');
preload('_oops_on', 'images/buttons/_oops_ro.gif');

function noSpam(user, domain){
  locationstring = 'mailto:' + user + '@' + domain;
  window.location = locationstring;
}
