js/mktree/mktree.js
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; }
}
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; }
}
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 ; } }
Utility function to add an event listener
Utility function to add an event listener