// The Funniest AntiSpam™ Script Ever
// By Krijn Hoetmer <http://krijnhoetmer.nl/>

var evtAntiSpam = window.onload;
window.onload = (typeof(window.onload) != 'function' ? antiSpam : function() { evtAntiSpam(); antiSpam(); });

function antiSpam() {
 if (document.getElementsByTagName) {
  var change = '_at_';
  var allOfThem = document.getElementsByTagName('a');
  var thisHref;
  for (var i = 0; i < allOfThem.length; i++) {
   thisHref = allOfThem[i].getAttribute('href');
   if (thisHref.indexOf('mailto:') == 0) {
    allOfThem[i].setAttribute('href', thisHref.replace(change, '@'));
   }
  }
 }
 if (document.getElementById('spam')) {
  document.getElementById('spam').value = 'nee';
  document.getElementById('spam-dt').style.display = 'none';
  document.getElementById('spam-dd').style.display = 'none';
 }
 if (document.getElementById('reactie-spam-input')) {
  document.getElementById('reactie-spam-input').value = 'nee';
  document.getElementById('reactie-spam-tr').style.display = 'none';
 }
}
