jQuery(document).ready(function(b){function a(){var d="WP-Table Reloaded";var c=WP_Table_Reloaded_Editor_Button.str_EditorButtonAjaxURL;tb_show(d,c,false);b("#TB_ajaxContent").width("auto").height("94.5%").click(function(f){var e=b(f.target);if(e.is("a.send_table_to_editor")){tinyMCE.execCommand("mceInsertContent",0,"[table id="+e.attr("title")+" /]");tb_remove()}return false});return false}tinymce.create("tinymce.plugins.TablePlugin",{init:function(c,d){c.addCommand("mceTableInsert",function(){a()});c.addButton("table",{title:WP_Table_Reloaded_Editor_Button.str_EditorButtonTitle,cmd:"mceTableInsert",image:d+"/plugin-editor-button.png"});c.onNodeChange.add(function(f,e,g){e.setActive("table",g.nodeName=="IMG")})},createControl:function(d,c){return null},getInfo:function(){return{longname:"WP-Table Reloaded",author:"Tobias B&auml;thge",authorurl:"http://tobias.baethge.com/",infourl:"http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/",version:"1.7"}}});tinymce.PluginManager.add("table",tinymce.plugins.TablePlugin)});