(function(){CKEDITOR.plugins.add("smiliebox",{init:function(A){var B=YAHOO.util.Dom.getElementsByClassName("smiliebox");if(B.length>0){YAHOO.util.Dom.getElementsBy(function(C){return true},"img",B[0],function(C){YAHOO.util.Event.addListener(C,"click",function(D){A.insertHtml(YAHOO.util.Dom.getAttribute(C,"alt"))})})}}})})();