!function(){tinymce.create("tinymce.plugins.wowslider",{init:function(i,e){for(var n in tinymce_wowslider.sliders){tinymce_wowslider.last=n;break}tinymce_wowslider.url=e,tinymce_wowslider.insert=function(){var i=this.v?this.v:tinymce_wowslider.last;tinymce.execCommand("mceInsertContent",!1,'[wowslider id="'+i+'"]')}},createControl:function(i,e){switch(i){case"wowslider":var n=e.createSplitButton("wowslider",{title:tinymce_wowslider.title,image:tinymce_wowslider.url+"/icon.png",onclick:tinymce_wowslider.insert});return n.onRenderMenu.add(function(i,e){for(var n in tinymce_wowslider.sliders)e.add({v:n,title:tinymce_wowslider.sliders[n],onclick:tinymce_wowslider.insert})}),n}return null}}),tinymce.PluginManager.add("wowslider",tinymce.plugins.wowslider)}();