/***** 00 - MSC - Events *****/
function msc_eAdd(o,e,f,p){
	var b = "f"+f; b = b.substring(b.indexOf(" "),b.indexOf("("));
	var a  = Array.prototype.splice.call(arguments,4,arguments.length);
	o[e+b] = function(e){ if(o.ev){ a.pop(); } else { o.ev = true; } a.push(e); f.apply(o,a); }
	if(o.attachEvent){ o.attachEvent("on"+e,o[e+b]); } else if(o.addEventListener){ o.addEventListener(e,o[e+b],p); }
}
function msc_eRemove(o,e,f,p){
	var b = "f"+f; b = b.substring(b.indexOf(" "),b.indexOf("("));
	if(o.detachEvent){ o.detachEvent("on"+e,o[e+b]); } else if(o.removeEventListener){ o.removeEventListener(e,o[e+b],p); }
	o.ev = undefined;
}
