function init(){var _1;tinyMCEPopup.resizeToInnerSize();_1=tinyMCE.selectedInstance;window.setTimeout("insertHelpIFrame();",10);var _2=document.getElementById("plugintablecontainer");var _3=tinyMCE.getParam("plugins","",true,",");if(_3.length==0){document.getElementById("plugins_tab").style.display="none";}var _4="";_4+="<table id=\"plugintable\">";_4+="<thead>";_4+="<tr>";_4+="<td>"+tinyMCE.getLang("lang_plugin")+"</td>";_4+="<td>"+tinyMCE.getLang("lang_author")+"</td>";_4+="<td>"+tinyMCE.getLang("lang_version")+"</td>";_4+="</tr>";_4+="</thead>";_4+="<tbody>";for(var i=0;i<_1.plugins.length;i++){var _6=getPluginInfo(_1.plugins[i]);_4+="<tr>";if(_6.infourl!=null&&_6.infourl!=""){_4+="<td width=\"50%\" title=\""+_3[i]+"\"><a href=\""+_6.infourl+"\" target=\"mceplugin\">"+_6.longname+"</a></td>";}else{_4+="<td width=\"50%\" title=\""+_3[i]+"\">"+_6.longname+"</td>";}if(_6.authorurl!=null&&_6.authorurl!=""){_4+="<td width=\"35%\"><a href=\""+_6.authorurl+"\" target=\"mceplugin\">"+_6.author+"</a></td>";}else{_4+="<td width=\"35%\">"+_6.author+"</td>";}_4+="<td width=\"15%\">"+_6.version+"</td>";_4+="</tr>";}_4+="</tbody>";_4+="</table>";_2.innerHTML=_4;}function getPluginInfo(_7){if(tinyMCE.plugins[_7].getInfo){return tinyMCE.plugins[_7].getInfo();}return{longname:_7,authorurl:"",infourl:"",author:"--",version:"--"};}function insertHelpIFrame(){var _8="<iframe width=\"100%\" height=\"300\" src=\""+tinyMCE.themeURL+"/docs/"+tinyMCE.settings["docs_language"]+"/index.htm"+"\"></iframe>";document.getElementById("iframecontainer").innerHTML=_8;_8="";_8+="<a href=\"http://www.moxiecode.com\" target=\"_blank\"><img src=\"http://tinymce.moxiecode.com/images/gotmoxie.png\" alt=\"Got Moxie?\" border=\"0\" /></a> ";_8+="<a href=\"http://sourceforge.net/projects/tinymce/\" target=\"_blank\"><img src=\"http://sourceforge.net/sflogo.php?group_id=103281\" alt=\"Hosted By Sourceforge\" border=\"0\" /></a> ";_8+="<a href=\"http://www.freshmeat.net/projects/tinymce\" target=\"_blank\"><img src=\"http://tinymce.moxiecode.com/images/fm.gif\" alt=\"Also on freshmeat\" border=\"0\" /></a> ";document.getElementById("buttoncontainer").innerHTML=_8;}