code: function addEvent(el,name,func){
  		if(name.match(" ")){
  			var a = name.split(' ');
  			for(var i=0;i<a.length;i++){
  				addEvent( el, a[i], func);
  			}
  		}
  		if(el.addEventListener){
  			el.removeEventListener(name, func, false);
  			el.addEventListener(name, func, false);
  		}
  		else {
  			el.detachEvent('on'+name, func);
  			el.attachEvent('on'+name, func);
  		}
  	}
docs: Add aevent handlers