Window.alias("addEvent","on");Element.alias("addEvent","on");Element.implement({css:function(b,a){if($type(b)=="object"){return this.setStyles(b)}else{return(a!=undefined)?this.setStyle(b,a):this.getStyle(b)}},attr:function(b,c){if($type(b)=="object"){return this.set(b)}else{return(c!=undefined)?this.setProperty(b,c):this.getProperty(b)}},html:function(a){return(a!=undefined)?this.set("html",a):this.get("html")},text:function(a){return(a!=undefined)?this.set("text",a):this.get("text")},append:function(a){switch($type(a)){case"element":a.inject(this);break;case"string":this.set("html",this.get("html")+a);break}return this},prepend:function(a){switch($type(a)){case"element":a.inject(this,"top");break;case"string":this.set("html",a+this.get("html"));break}return this}});Window.implement({$$$:function(v){try{return(eval("typeof("+v+")")=="undefined")?false:true}catch(e){}}});Window.implement({log:function(b){try{console.log(b)}catch(a){}}});
