tinymce.PluginManager.add("emoticons",function(t,e){function n(){var t;return t='
',tinymce.each(i,function(n){t+="",tinymce.each(n,function(n){var i=e+"/img/smiley-"+n+".gif";t+=' | '}),t+="
"}),t+="
"}var i=[["cool","cry","embarassed","foot-in-mouth"],["frown","innocent","kiss","laughing"],["money-mouth","sealed","smile","surprised"],["tongue-out","undecided","wink","yell"]];t.addButton("emoticons",{type:"panelbutton",panel:{autohide:!0,html:n,onclick:function(e){var n=t.dom.getParent(e.target,"a");n&&(t.insertContent(''),this.hide())}},tooltip:"Emoticons"})});