I'm actually starting to lean towards removing attachEvent entirely. From http://help.dottoro.com/ljinxrmt.php, from IE9 & Opera9 all browsers use addEventListener instead.