tinymce.create("tinymce.plugins.XHTMLXtrasPlugin",{init:function(t,e){t.addCommand("mceCite",(function(){t.windowManager.open({file:e+"/cite.htm",width:350+parseInt(t.getLang("xhtmlxtras.cite_delta_width",0)),height:250+parseInt(t.getLang("xhtmlxtras.cite_delta_height",0)),inline:1},{plugin_url:e})})),t.addCommand("mceAcronym",(function(){t.windowManager.open({file:e+"/acronym.htm",width:350+parseInt(t.getLang("xhtmlxtras.acronym_delta_width",0)),height:250+parseInt(t.getLang("xhtmlxtras.acronym_delta_height",0)),inline:1},{plugin_url:e})})),t.addCommand("mceAbbr",(function(){t.windowManager.open({file:e+"/abbr.htm",width:350+parseInt(t.getLang("xhtmlxtras.abbr_delta_width",0)),height:250+parseInt(t.getLang("xhtmlxtras.abbr_delta_height",0)),inline:1},{plugin_url:e})})),t.addCommand("mceDel",(function(){t.windowManager.open({file:e+"/del.htm",width:340+parseInt(t.getLang("xhtmlxtras.del_delta_width",0)),height:310+parseInt(t.getLang("xhtmlxtras.del_delta_height",0)),inline:1},{plugin_url:e})})),t.addCommand("mceIns",(function(){t.windowManager.open({file:e+"/ins.htm",width:340+parseInt(t.getLang("xhtmlxtras.ins_delta_width",0)),height:310+parseInt(t.getLang("xhtmlxtras.ins_delta_height",0)),inline:1},{plugin_url:e})})),t.addCommand("mceAttributes",(function(){t.windowManager.open({file:e+"/attributes.htm",width:380+parseInt(t.getLang("xhtmlxtras.attr_delta_width",0)),height:370+parseInt(t.getLang("xhtmlxtras.attr_delta_height",0)),inline:1},{plugin_url:e})})),t.addButton("cite",{title:"xhtmlxtras.cite_desc",cmd:"mceCite"}),t.addButton("acronym",{title:"xhtmlxtras.acronym_desc",cmd:"mceAcronym"}),t.addButton("abbr",{title:"xhtmlxtras.abbr_desc",cmd:"mceAbbr"}),t.addButton("del",{title:"xhtmlxtras.del_desc",cmd:"mceDel"}),t.addButton("ins",{title:"xhtmlxtras.ins_desc",cmd:"mceIns"}),t.addButton("attribs",{title:"xhtmlxtras.attribs_desc",cmd:"mceAttributes"}),t.onNodeChange.add((function(t,e,n,a){if(n=t.dom.getParent(n,"CITE,ACRONYM,ABBR,DEL,INS"),e.setDisabled("cite",a),e.setDisabled("acronym",a),e.setDisabled("abbr",a),e.setDisabled("del",a),e.setDisabled("ins",a),e.setDisabled("attribs",n&&"BODY"==n.nodeName),e.setActive("cite",0),e.setActive("acronym",0),e.setActive("abbr",0),e.setActive("del",0),e.setActive("ins",0),n)do{e.setDisabled(n.nodeName.toLowerCase(),0),e.setActive(n.nodeName.toLowerCase(),1)}while(n=n.parentNode)})),t.onPreInit.add((function(){t.dom.create("abbr")}))},getInfo:function(){return{longname:"XHTML Xtras Plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras",version:tinymce.majorVersion+"."+tinymce.minorVersion}}}),tinymce.PluginManager.add("xhtmlxtras",tinymce.plugins.XHTMLXtrasPlugin);
