code: function addEvent(o,e,f){
  	if (o.addEventListener){ o.addEventListener(e,f,false); return true; }
  	else if (o.attachEvent){ return o.attachEvent("on"+e,f); }
  	else { return false; }
  }
docs: Utility function to add an event listener