// http://philringnalda.com/blog/2002/06/accessible_spamproofing.php

function obfuscateEmail() {
  var emailStart = "mailto:andy";
  var emailEnd = "edu.hk";
  var emailMiddle = "chun@cityu";

  return emailStart + "." + emailMiddle + "." + emailEnd;
}


function waitPreloadPage() { 
  //DOM
  if (document.getElementById){
    document.getElementById('prepage').style.visibility='hidden';
  }
  //NS4
  else{
    if (document.layers){ 
      document.prepage.visibility = 'hidden';
    }
    //IE4
    else { 
      document.all.prepage.style.visibility = 'hidden';
    }
  }
}
