| 7 | | |
|---|
| 8 | | tinyMCE.importThemeLanguagePack('custom');var TinyMCE_CustomTheme={_defColors:"000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF",_autoImportCSSClasses:true,_resizer:{},_buttons:[['bold','{$lang_bold_img}','lang_bold_desc','Bold'],['italic','{$lang_italic_img}','lang_italic_desc','Italic'],['bullist','bullist.gif','lang_bullist_desc','InsertUnorderedList'],['numlist','numlist.gif','lang_numlist_desc','InsertOrderedList'],['outdent','outdent.gif','lang_outdent_desc','Outdent'],['indent','indent.gif','lang_indent_desc','Indent'],['cut','cut.gif','lang_cut_desc','Cut'],['copy','copy.gif','lang_copy_desc','Copy'],['paste','paste.gif','lang_paste_desc','Paste'],['undo','undo.gif','lang_undo_desc','Undo'],['redo','redo.gif','lang_redo_desc','Redo'],['link','link.gif','lang_link_desc','mceLink',true],['unlink','unlink.gif','lang_unlink_desc','unlink'],['cleanup','cleanup.gif','lang_cleanup_desc','mceCleanup'],['help','help.gif','lang_help_desc','mceHelp'],['code','code.gif','lang_theme_code_desc','mceCodeEditor'],['hr','hr.gif','lang_theme_hr_desc','inserthorizontalrule'],['removeformat','removeformat.gif','lang_theme_removeformat_desc','removeformat'],['charmap','charmap.gif','lang_theme_charmap_desc','mceCharMap'],['anchor','anchor.gif','lang_theme_anchor_desc','mceInsertAnchor']],_buttonMap:'anchor,bold,bullist,charmap,cleanup,code,copy,cut,help,indent,italic,hr,link,numlist,outdent,paste,redo,removeformat,undo,unlink,advhr,ltr,rtl,emotions,flash,fullpage,fullscreen,iespell,insertdate,inserttime,pastetext,pasteword,selectall,preview,print,save,replace,search',getControlHTML:function(button_name){var i,x,but;for(i=0;i<TinyMCE_CustomTheme._buttons.length;i++){but=TinyMCE_CustomTheme._buttons[i];if(but[0]==button_name&&(button_name=="forecolor"||button_name=="backcolor")) |
|---|
| 9 | | return tinyMCE.getMenuButtonHTML(but[0],but[2],'{$themeurl}/images/'+but[1],but[3]+"Menu",but[3],(but.length>4?but[4]:false),(but.length>5?but[5]:null));if(but[0]==button_name) |
|---|
| 10 | | return tinyMCE.getButtonHTML(but[0],but[2],'{$themeurl}/images/'+but[1],but[3],(but.length>4?but[4]:false),(but.length>5?but[5]:null));} |
|---|
| 11 | | switch(button_name){case"formatselect":var html='<select id="{$editor_id}_formatSelect" name="{$editor_id}_formatSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FormatBlock\',false,this.options[this.selectedIndex].value);" class="mceSelectList">';var formats=tinyMCE.getParam("theme_custom_blockformats","p,address,pre,h1,h2,h3,h4,h5,h6",true).split(',');var lookup=[['p','{$lang_theme_paragraph}'],['address','{$lang_theme_address}'],['pre','{$lang_theme_pre}'],['h1','{$lang_theme_h1}'],['h2','{$lang_theme_h2}'],['h3','{$lang_theme_h3}'],['h4','{$lang_theme_h4}'],['h5','{$lang_theme_h5}'],['h6','{$lang_theme_h6}'],['div','{$lang_theme_div}'],['blockquote','{$lang_theme_blockquote}'],['code','{$lang_theme_code}'],['dt','{$lang_theme_dt}'],['dd','{$lang_theme_dd}'],['samp','{$lang_theme_samp}']];html+='<option value="">{$lang_theme_block}</option>';for(var i=0;i<formats.length;i++){for(var x=0;x<lookup.length;x++){if(formats[i]==lookup[x][0]) |
|---|
| 12 | | html+='<option value="<'+lookup[x][0]+'>">'+lookup[x][1]+'</option>';}} |
|---|
| 13 | | html+='</select>';return html;case"styleselect":return'<select id="{$editor_id}_styleSelect" onmousedown="tinyMCE.themes.custom._setupCSSClasses(\'{$editor_id}\');" name="{$editor_id}_styleSelect" onfocus="tinyMCE.addSelectAccessibility(event,this,window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceSetCSSClass\',false,this.options[this.selectedIndex].value);" class="mceSelectList">{$style_select_options}</select>';case"fontselect":var fontHTML='<select id="{$editor_id}_fontNameSelect" name="{$editor_id}_fontNameSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontName\',false,this.options[this.selectedIndex].value);" class="mceSelectList"><option value="">{$lang_theme_fontdefault}</option>';var iFonts='Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings';var nFonts='Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats';var fonts=tinyMCE.getParam("theme_custom_fonts",nFonts).split(';');for(i=0;i<fonts.length;i++){if(fonts[i]!=''){var parts=fonts[i].split('=');fontHTML+='<option value="'+parts[1]+'">'+parts[0]+'</option>';}} |
|---|
| 14 | | fontHTML+='</select>';return fontHTML;case"fontsizeselect":return'<select id="{$editor_id}_fontSizeSelect" name="{$editor_id}_fontSizeSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontSize\',false,this.options[this.selectedIndex].value);" class="mceSelectList">'+'<option value="0">{$lang_theme_font_size}</option>'+'<option value="1">1 (8 pt)</option>'+'<option value="2">2 (10 pt)</option>'+'<option value="3">3 (12 pt)</option>'+'<option value="4">4 (14 pt)</option>'+'<option value="5">5 (18 pt)</option>'+'<option value="6">6 (24 pt)</option>'+'<option value="7">7 (36 pt)</option>'+'</select>';case"|":case"separator":return'<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" alt="" />';case"spacer":return'<img src="{$themeurl}/images/separator.gif" width="2" height="15" border="0" class="mceSeparatorLine" style="vertical-align: middle" alt="" />';case"rowseparator":return'<br />';} |
|---|
| 15 | | return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case'mceHelp':tinyMCE.openWindow({file:'about.htm',width:480,height:380},{tinymce_version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion,tinymce_releasedate:tinyMCE.releaseDate,inline:"yes"});return true;case"mceLink":var inst=tinyMCE.getInstanceById(editor_id);var doc=inst.getDoc();var selectedText="";if(tinyMCE.isMSIE){var rng=doc.selection.createRange();selectedText=rng.text;}else |
|---|
| 16 | | selectedText=inst.getSel().toString();if(!tinyMCE.linkElement){if((tinyMCE.selectedElement.nodeName.toLowerCase()!="img")&&(selectedText.length<=0)) |
|---|
| 17 | | return true;} |
|---|
| 18 | | var href="",target="",title="",onclick="",action="insert",style_class="";if(tinyMCE.selectedElement.nodeName.toLowerCase()=="a") |
|---|
| 19 | | tinyMCE.linkElement=tinyMCE.selectedElement;if(tinyMCE.linkElement!=null&&tinyMCE.getAttrib(tinyMCE.linkElement,'href')=="") |
|---|
| 20 | | tinyMCE.linkElement=null;if(tinyMCE.linkElement){href=tinyMCE.getAttrib(tinyMCE.linkElement,'href');target=tinyMCE.getAttrib(tinyMCE.linkElement,'target');title=tinyMCE.getAttrib(tinyMCE.linkElement,'title');onclick=tinyMCE.getAttrib(tinyMCE.linkElement,'onclick');style_class=tinyMCE.getAttrib(tinyMCE.linkElement,'class');if(onclick=="") |
|---|
| 21 | | onclick=tinyMCE.getAttrib(tinyMCE.linkElement,'onclick');onclick=tinyMCE.cleanupEventStr(onclick);href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement, true);");mceRealHref=tinyMCE.getAttrib(tinyMCE.linkElement,'mce_href');if(mceRealHref!=""){href=mceRealHref;if(tinyMCE.getParam('convert_urls')) |
|---|
| 22 | | href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement, true);");} |
|---|
| 23 | | action="update";} |
|---|
| 24 | | var template=new Array();template['file']='link.htm';template['width']=310;template['height']=200;template['width']+=tinyMCE.getLang('lang_insert_link_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_link_delta_height',0);if(inst.settings['insertlink_callback']){var returnVal=eval(inst.settings['insertlink_callback']+"(href, target, title, onclick, action, style_class);");if(returnVal&&returnVal['href']) |
|---|
| 25 | | TinyMCE_CustomTheme._insertLink(returnVal['href'],returnVal['target'],returnVal['title'],returnVal['onclick'],returnVal['style_class']);}else{tinyMCE.openWindow(template,{href:href,target:target,title:title,onclick:onclick,action:action,className:style_class,inline:"yes"});} |
|---|
| 26 | | return true;case"mceImage":var src="",alt="",border="",hspace="",vspace="",width="",height="",align="";var title="",onmouseover="",onmouseout="",action="insert";var img=tinyMCE.imgElement;var inst=tinyMCE.getInstanceById(editor_id);if(tinyMCE.selectedElement!=null&&tinyMCE.selectedElement.nodeName.toLowerCase()=="img"){img=tinyMCE.selectedElement;tinyMCE.imgElement=img;} |
|---|
| 27 | | if(img){if(tinyMCE.getAttrib(img,'name').indexOf('mce_')==0) |
|---|
| 28 | | return true;src=tinyMCE.getAttrib(img,'src');alt=tinyMCE.getAttrib(img,'alt');if(alt=="") |
|---|
| 29 | | alt=tinyMCE.getAttrib(img,'title');if(tinyMCE.isGecko){var w=img.style.width;if(w!=null&&w!="") |
|---|
| 30 | | img.setAttribute("width",w);var h=img.style.height;if(h!=null&&h!="") |
|---|
| 31 | | img.setAttribute("height",h);} |
|---|
| 32 | | border=tinyMCE.getAttrib(img,'border');hspace=tinyMCE.getAttrib(img,'hspace');vspace=tinyMCE.getAttrib(img,'vspace');width=tinyMCE.getAttrib(img,'width');height=tinyMCE.getAttrib(img,'height');align=tinyMCE.getAttrib(img,'align');onmouseover=tinyMCE.getAttrib(img,'onmouseover');onmouseout=tinyMCE.getAttrib(img,'onmouseout');title=tinyMCE.getAttrib(img,'title');if(tinyMCE.isMSIE){width=img.attributes['width'].specified?width:"";height=img.attributes['height'].specified?height:"";} |
|---|
| 33 | | src=eval(tinyMCE.settings['urlconverter_callback']+"(src, img, true);");mceRealSrc=tinyMCE.getAttrib(img,'mce_src');if(mceRealSrc!=""){src=mceRealSrc;if(tinyMCE.getParam('convert_urls')) |
|---|
| 34 | | src=eval(tinyMCE.settings['urlconverter_callback']+"(src, img, true);");} |
|---|
| 35 | | action="update";} |
|---|
| 36 | | var template=new Array();template['file']='image.htm?src={$src}';template['width']=355;template['height']=265+(tinyMCE.isMSIE?25:0);template['width']+=tinyMCE.getLang('lang_insert_image_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_image_delta_height',0);if(inst.settings['insertimage_callback']){var returnVal=eval(inst.settings['insertimage_callback']+"(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action);");if(returnVal&&returnVal['src']) |
|---|
| 37 | | TinyMCE_CustomTheme._insertImage(returnVal['src'],returnVal['alt'],returnVal['border'],returnVal['hspace'],returnVal['vspace'],returnVal['width'],returnVal['height'],returnVal['align'],returnVal['title'],returnVal['onmouseover'],returnVal['onmouseout']);}else |
|---|
| 38 | | tinyMCE.openWindow(template,{src:src,alt:alt,border:border,hspace:hspace,vspace:vspace,width:width,height:height,align:align,title:title,onmouseover:onmouseover,onmouseout:onmouseout,action:action,inline:"yes"});return true;case"forecolor":var fcp=new TinyMCE_Layer(editor_id+'_fcPreview',false),p,img,elm;TinyMCE_CustomTheme._hideMenus(editor_id);if(!fcp.exists()){fcp.create('div','mceColorPreview',document.getElementById(editor_id+'_toolbar'));elm=fcp.getElement();elm._editor_id=editor_id;elm._command="forecolor";elm._switchId=editor_id+"_forecolor";tinyMCE.addEvent(elm,'click',TinyMCE_CustomTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseover',TinyMCE_CustomTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseout',TinyMCE_CustomTheme._handleMenuEvent);} |
|---|
| 39 | | img=tinyMCE.selectNodes(document.getElementById(editor_id+"_forecolor"),function(n){return n.nodeName=="IMG";})[0];p=tinyMCE.getAbsPosition(img,document.getElementById(editor_id+'_toolbar'));fcp.moveTo(p.absLeft,p.absTop);fcp.getElement().style.backgroundColor=value!=null?value:tinyMCE.getInstanceById(editor_id).foreColor;fcp.show();return false;case"forecolorpicker":this._pickColor(editor_id,'forecolor');return true;case"forecolorMenu":TinyMCE_CustomTheme._hideMenus(editor_id);var ml=new TinyMCE_Layer(editor_id+'_fcMenu');if(!ml.exists()) |
|---|
| 40 | | ml.create('div','mceMenu',document.body,TinyMCE_CustomTheme._getColorHTML(editor_id,'theme_custom_text_colors','forecolor'));tinyMCE.switchClass(editor_id+'_forecolor','mceMenuButtonFocus');ml.moveRelativeTo(document.getElementById(editor_id+"_forecolor"),'bl');ml.moveBy(tinyMCE.isMSIE&&!tinyMCE.isOpera?-1:1,-1);if(tinyMCE.isOpera) |
|---|
| 41 | | ml.moveBy(0,-2);ml.show();return true;case"HiliteColor":var bcp=new TinyMCE_Layer(editor_id+'_bcPreview',false),p,img;TinyMCE_CustomTheme._hideMenus(editor_id);if(!bcp.exists()){bcp.create('div','mceColorPreview',document.getElementById(editor_id+'_toolbar'));elm=bcp.getElement();elm._editor_id=editor_id;elm._command="HiliteColor";elm._switchId=editor_id+"_backcolor";tinyMCE.addEvent(elm,'click',TinyMCE_CustomTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseover',TinyMCE_CustomTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseout',TinyMCE_CustomTheme._handleMenuEvent);} |
|---|
| 42 | | img=tinyMCE.selectNodes(document.getElementById(editor_id+"_backcolor"),function(n){return n.nodeName=="IMG";})[0];p=tinyMCE.getAbsPosition(img,document.getElementById(editor_id+'_toolbar'));bcp.moveTo(p.absLeft,p.absTop);bcp.getElement().style.backgroundColor=value!=null?value:tinyMCE.getInstanceById(editor_id).backColor;bcp.show();return false;case"HiliteColorMenu":TinyMCE_CustomTheme._hideMenus(editor_id);var ml=new TinyMCE_Layer(editor_id+'_bcMenu');if(!ml.exists()) |
|---|
| 43 | | ml.create('div','mceMenu',document.body,TinyMCE_CustomTheme._getColorHTML(editor_id,'theme_custom_background_colors','HiliteColor'));tinyMCE.switchClass(editor_id+'_backcolor','mceMenuButtonFocus');ml.moveRelativeTo(document.getElementById(editor_id+"_backcolor"),'bl');ml.moveBy(tinyMCE.isMSIE&&!tinyMCE.isOpera?-1:1,-1);if(tinyMCE.isOpera) |
|---|
| 44 | | ml.moveBy(0,-2);ml.show();return true;case"backcolorpicker":this._pickColor(editor_id,'HiliteColor');return true;case"mceColorPicker":if(user_interface){var template=[];if(!value['callback']&&!value['color']) |
|---|
| 45 | | value['color']=value['document'].getElementById(value['element_id']).value;template['file']='color_picker.htm';template['width']=380;template['height']=250;template['close_previous']="no";template['width']+=tinyMCE.getLang('lang_theme_custom_colorpicker_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_custom_colorpicker_delta_height',0);if(typeof(value['store_selection'])=="undefined") |
|---|
| 46 | | value['store_selection']=true;tinyMCE.lastColorPickerValue=value;tinyMCE.openWindow(template,{editor_id:editor_id,mce_store_selection:value['store_selection'],inline:"yes",command:"mceColorPicker",input_color:value['color']});}else{var savedVal=tinyMCE.lastColorPickerValue,elm;if(savedVal['callback']){savedVal['callback'](value);return true;} |
|---|
| 47 | | elm=savedVal['document'].getElementById(savedVal['element_id']);elm.value=value;if(elm.onchange!=null&&elm.onchange!='') |
|---|
| 48 | | eval('elm.onchange();');} |
|---|
| 49 | | return true;case"mceCodeEditor":var template=new Array();template['file']='source_editor.htm';template['width']=parseInt(tinyMCE.getParam("theme_custom_source_editor_width",720));template['height']=parseInt(tinyMCE.getParam("theme_custom_source_editor_height",580));tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"no",inline:"yes"});return true;case"mceCharMap":var template=new Array();template['file']='charmap.htm';template['width']=550+(tinyMCE.isOpera?40:0);template['height']=250;template['width']+=tinyMCE.getLang('lang_theme_custom_charmap_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_custom_charmap_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceInsertAnchor":var template=new Array();template['file']='anchor.htm';template['width']=320;template['height']=90+(tinyMCE.isNS7?30:0);template['width']+=tinyMCE.getLang('lang_theme_custom_anchor_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_custom_anchor_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceNewDocument":if(confirm(tinyMCE.entityDecode(tinyMCE.getLang('lang_newdocument')))) |
|---|
| 50 | | tinyMCE.execInstanceCommand(editor_id,'mceSetContent',false,' ');return true;} |
|---|
| 51 | | return false;},getEditorTemplate:function(settings,editorId){function removeFromArray(in_array,remove_array){var outArray=new Array(),skip;for(var i=0;i<in_array.length;i++){skip=false;for(var j=0;j<remove_array.length;j++){if(in_array[i]==remove_array[j]){skip=true;}} |
|---|
| 52 | | if(!skip){outArray[outArray.length]=in_array[i];}} |
|---|
| 53 | | return outArray;} |
|---|
| 54 | | function addToArray(in_array,add_array){for(var i=0;i<add_array.length;i++){in_array[in_array.length]=add_array[i];} |
|---|
| 55 | | return in_array;} |
|---|
| 56 | | var template=new Array();var deltaHeight=0;var resizing=tinyMCE.getParam("theme_custom_resizing",false);var path=tinyMCE.getParam("theme_custom_path",true);var statusbarHTML='<div id="{$editor_id}_path" class="mceStatusbarPathText" style="display: '+(path?"block":"none")+'"> </div><div id="{$editor_id}_resize" class="mceStatusbarResize" style="display: '+(resizing?"block":"none")+'" onmousedown="tinyMCE.themes.custom._setResizing(event,\'{$editor_id}\',true);"></div><br style="clear: both" />';var layoutManager=tinyMCE.getParam("theme_custom_layout_manager","SimpleLayout");var styleSelectHTML='<option value="">{$lang_theme_style_select}</option>';if(settings['theme_custom_styles']){var stylesAr=settings['theme_custom_styles'].split(';');for(var i=0;i<stylesAr.length;i++){var key,value;key=stylesAr[i].split('=')[0];value=stylesAr[i].split('=')[1];styleSelectHTML+='<option value="'+value+'">'+key+'</option>';} |
|---|
| 57 | | TinyMCE_CustomTheme._autoImportCSSClasses=false;} |
|---|
| 58 | | switch(layoutManager){case"SimpleLayout":var toolbarHTML="";var toolbarLocation=tinyMCE.getParam("theme_custom_toolbar_location","bottom");var toolbarAlign=tinyMCE.getParam("theme_custom_toolbar_align","center");var pathLocation=tinyMCE.getParam("theme_custom_path_location","none");var statusbarLocation=tinyMCE.getParam("theme_custom_statusbar_location",pathLocation);var defVals={theme_custom_buttons1:"bold,italic,bullist,numlist,outdent,indent,separator,styleselect,formatselect",theme_custom_buttons2:"link,unlink,anchor,hr,removeformat,separator,charmap,undo,redo,cleanup,code,help",theme_custom_buttons3:""};toolbarHTML+='<a href="#" accesskey="q" title="'+tinyMCE.getLang("lang_toolbar_focus")+'"';if(!tinyMCE.getParam("accessibility_focus")) |
|---|
| 59 | | toolbarHTML+=' onfocus="tinyMCE.getInstanceById(\''+editorId+'\').getWin().focus();"';toolbarHTML+='></a>';for(var i=1;i<100;i++){var def=defVals["theme_custom_buttons"+i];var buttons=tinyMCE.getParam("theme_custom_buttons"+i,def==null?'':def,true,',');if(buttons.length==0) |
|---|
| 60 | | break;buttons=removeFromArray(buttons,tinyMCE.getParam("theme_custom_disable","",true,','));buttons=addToArray(buttons,tinyMCE.getParam("theme_custom_buttons"+i+"_add","",true,','));buttons=addToArray(tinyMCE.getParam("theme_custom_buttons"+i+"_add_before","",true,','),buttons);for(var b=0;b<buttons.length;b++) |
|---|
| 61 | | toolbarHTML+=tinyMCE.getControlHTML(buttons[b]);if(buttons.length>0){toolbarHTML+="<br />";deltaHeight-=23;}} |
|---|
| 62 | | toolbarHTML+='<a href="#" accesskey="z" onfocus="tinyMCE.getInstanceById(\''+editorId+'\').getWin().focus();"></a>';template['html']='<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width_style};height:{$height_style}"><tbody>';if(toolbarLocation=="top") |
|---|
| 63 | | template['html']+='<tr><td dir="ltr" class="mceToolbarTop" align="'+toolbarAlign+'" height="1" nowrap="nowrap"><span id="'+editorId+'_toolbar" class="mceToolbarContainer">'+toolbarHTML+'</span></td></tr>';if(statusbarLocation=="top"){template['html']+='<tr><td class="mceStatusbarTop" height="1">'+statusbarHTML+'</td></tr>';deltaHeight-=23;} |
|---|
| 64 | | template['html']+='<tr><td align="center"><span id="{$editor_id}"></span></td></tr>';if(toolbarLocation=="bottom") |
|---|
| 65 | | template['html']+='<tr><td dir="ltr" class="mceToolbarBottom" align="'+toolbarAlign+'" height="1"><span id="'+editorId+'_toolbar" class="mceToolbarContainer">'+toolbarHTML+'</span></td></tr>';if(toolbarLocation=="external"){var bod=document.body;var elm=document.createElement("div");toolbarHTML=tinyMCE.replaceVar(toolbarHTML,'style_select_options',styleSelectHTML);toolbarHTML=tinyMCE.applyTemplate(toolbarHTML,{editor_id:editorId});elm.className="mceToolbarExternal";elm.id=editorId+"_toolbar";elm.innerHTML='<table width="100%" border="0" align="center"><tr><td align="center">'+toolbarHTML+'</td></tr></table>';bod.appendChild(elm);deltaHeight=0;tinyMCE.getInstanceById(editorId).toolbarElement=elm;}else{tinyMCE.getInstanceById(editorId).toolbarElement=null;} |
|---|
| 66 | | if(statusbarLocation=="bottom"){template['html']+='<tr><td class="mceStatusbarBottom" height="1">'+statusbarHTML+'</td></tr>';deltaHeight-=23;} |
|---|
| 67 | | template['html']+='</tbody></table>';break;case"RowLayout":template['html']='<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width}px;height:{$height}px"><tbody>';var containers=tinyMCE.getParam("theme_custom_containers","",true,",");var defaultContainerCSS=tinyMCE.getParam("theme_custom_containers_default_class","container");var defaultContainerAlign=tinyMCE.getParam("theme_custom_containers_default_align","center");for(var i=0;i<containers.length;i++) |
|---|
| 68 | | {if(containers[i]=="mceEditor") |
|---|
| 69 | | template['html']+='<tr><td align="center" class="mceEditor_border"><span id="{$editor_id}"></span></td></tr>';else if(containers[i]=="mceElementpath"||containers[i]=="mceStatusbar") |
|---|
| 70 | | {var pathClass="mceStatusbar";if(i==containers.length-1) |
|---|
| 71 | | {pathClass="mceStatusbarBottom";} |
|---|
| 72 | | else if(i==0) |
|---|
| 73 | | {pathClass="mceStatusbar";} |
|---|
| 74 | | else |
|---|
| 75 | | {deltaHeight-=2;} |
|---|
| 76 | | template['html']+='<tr><td class="'+pathClass+'" height="1">'+statusbarHTML+'</td></tr>';deltaHeight-=22;}else{var curContainer=tinyMCE.getParam("theme_custom_container_"+containers[i],"",true,',');var curContainerHTML="";var curAlign=tinyMCE.getParam("theme_custom_container_"+containers[i]+"_align",defaultContainerAlign);var curCSS=tinyMCE.getParam("theme_custom_container_"+containers[i]+"_class",defaultContainerCSS);curContainer=removeFromArray(curContainer,tinyMCE.getParam("theme_custom_disable","",true,','));for(var j=0;j<curContainer.length;j++) |
|---|
| 77 | | curContainerHTML+=tinyMCE.getControlHTML(curContainer[j]);if(curContainer.length>0){curContainerHTML+="<br />";deltaHeight-=23;} |
|---|
| 78 | | template['html']+='<tr><td class="'+curCSS+'" align="'+curAlign+'" height="1">'+curContainerHTML+'</td></tr>';}} |
|---|
| 79 | | template['html']+='</tbody></table>';break;case"CustomLayout":var customLayout=tinyMCE.getParam("theme_custom_custom_layout","");if(customLayout!=""&&eval("typeof("+customLayout+")")!="undefined"){template=eval(customLayout+"(template);");} |
|---|
| 80 | | break;} |
|---|
| 81 | | if(resizing) |
|---|
| 82 | | template['html']+='<span id="{$editor_id}_resize_box" class="mceResizeBox"></span>';template['html']=tinyMCE.replaceVar(template['html'],'style_select_options',styleSelectHTML);if(!template['delta_width']) |
|---|
| 83 | | template['delta_width']=0;if(!template['delta_height']) |
|---|
| 84 | | template['delta_height']=deltaHeight;return template;},initInstance:function(inst){if(tinyMCE.getParam("theme_custom_resizing",false)){if(tinyMCE.getParam("theme_custom_resizing_use_cookie",true)){var w=TinyMCE_CustomTheme._getCookie("TinyMCE_"+inst.editorId+"_width");var h=TinyMCE_CustomTheme._getCookie("TinyMCE_"+inst.editorId+"_height");TinyMCE_CustomTheme._resizeTo(inst,w,h,tinyMCE.getParam("theme_custom_resize_horizontal",true));}} |
|---|
| 85 | | inst.addShortcut('ctrl','k','lang_link_desc','mceLink');},removeInstance:function(inst){new TinyMCE_Layer(inst.editorId+'_fcMenu').remove();new TinyMCE_Layer(inst.editorId+'_bcMenu').remove();},hideInstance:function(inst){TinyMCE_CustomTheme._hideMenus(inst.editorId);},_handleMenuEvent:function(e){var te=tinyMCE.isMSIE?window.event.srcElement:e.target;tinyMCE._menuButtonEvent(e.type=="mouseover"?"over":"out",document.getElementById(te._switchId));if(e.type=="click") |
|---|
| 86 | | tinyMCE.execInstanceCommand(te._editor_id,te._command);},_hideMenus:function(id){var fcml=new TinyMCE_Layer(id+'_fcMenu'),bcml=new TinyMCE_Layer(id+'_bcMenu');if(fcml.exists()&&fcml.isVisible()){tinyMCE.switchClass(id+'_forecolor','mceMenuButton');fcml.hide();} |
|---|
| 87 | | if(bcml.exists()&&bcml.isVisible()){tinyMCE.switchClass(id+'_backcolor','mceMenuButton');bcml.hide();}},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection,setup_content){var alignNode,breakOut,classNode;function selectByValue(select_elm,value,first_index){first_index=typeof(first_index)=="undefined"?false:true;if(select_elm){for(var i=0;i<select_elm.options.length;i++){var ov=""+select_elm.options[i].value;if(first_index&&ov.toLowerCase().indexOf(value.toLowerCase())==0){select_elm.selectedIndex=i;return true;} |
|---|
| 88 | | if(ov==value){select_elm.selectedIndex=i;return true;}}} |
|---|
| 89 | | return false;};if(node==null) |
|---|
| 90 | | return;var pathElm=document.getElementById(editor_id+"_path");var inst=tinyMCE.getInstanceById(editor_id);var doc=inst.getDoc();TinyMCE_CustomTheme._hideMenus(editor_id);if(pathElm){var parentNode=node;var path=new Array();while(parentNode!=null){if(parentNode.nodeName.toUpperCase()=="BODY"){break;} |
|---|
| 91 | | if(parentNode.nodeType==1&&tinyMCE.getAttrib(parentNode,"class").indexOf('mceItemHidden')==-1){path[path.length]=parentNode;} |
|---|
| 92 | | parentNode=parentNode.parentNode;} |
|---|
| 93 | | var html="";for(var i=path.length-1;i>=0;i--){var nodeName=path[i].nodeName.toLowerCase();var nodeData="";if(nodeName.indexOf("html:")==0) |
|---|
| 94 | | nodeName=nodeName.substring(5);if(nodeName=="b"){nodeName="strong";} |
|---|
| 95 | | if(nodeName=="i"){nodeName="em";} |
|---|
| 96 | | if(nodeName=="span"){var cn=tinyMCE.getAttrib(path[i],"class");if(cn!=""&&cn.indexOf('mceItem')==-1) |
|---|
| 97 | | nodeData+="class: "+cn+" ";var st=tinyMCE.getAttrib(path[i],"style");if(st!=""){st=tinyMCE.serializeStyle(tinyMCE.parseStyle(st));nodeData+="style: "+tinyMCE.xmlEncode(st)+" ";}} |
|---|
| 98 | | if(nodeName=="font"){if(tinyMCE.getParam("convert_fonts_to_spans")) |
|---|
| 99 | | nodeName="span";var face=tinyMCE.getAttrib(path[i],"face");if(face!="") |
|---|
| 100 | | nodeData+="font: "+tinyMCE.xmlEncode(face)+" ";var size=tinyMCE.getAttrib(path[i],"size");if(size!="") |
|---|
| 101 | | nodeData+="size: "+tinyMCE.xmlEncode(size)+" ";var color=tinyMCE.getAttrib(path[i],"color");if(color!="") |
|---|
| 102 | | nodeData+="color: "+tinyMCE.xmlEncode(color)+" ";} |
|---|
| 103 | | if(tinyMCE.getAttrib(path[i],'id')!=""){nodeData+="id: "+path[i].getAttribute('id')+" ";} |
|---|
| 104 | | var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1) |
|---|
| 105 | | nodeData+="class: "+className+" ";if(tinyMCE.getAttrib(path[i],'src')!=""){var src=tinyMCE.getAttrib(path[i],"mce_src");if(src=="") |
|---|
| 106 | | src=tinyMCE.getAttrib(path[i],"src");nodeData+="src: "+tinyMCE.xmlEncode(src)+" ";} |
|---|
| 107 | | if(path[i].nodeName=='A'&&tinyMCE.getAttrib(path[i],'href')!=""){var href=tinyMCE.getAttrib(path[i],"mce_href");if(href=="") |
|---|
| 108 | | href=tinyMCE.getAttrib(path[i],"href");nodeData+="href: "+tinyMCE.xmlEncode(href)+" ";} |
|---|
| 109 | | className=tinyMCE.getAttrib(path[i],"class");if((nodeName=="img"||nodeName=="span")&&className.indexOf('mceItem')!=-1){nodeName=className.replace(/mceItem([a-z]+)/gi,'$1').toLowerCase();nodeData=path[i].getAttribute('title');} |
|---|
| 110 | | if(nodeName=="a"&&(anchor=tinyMCE.getAttrib(path[i],"name"))!=""){nodeName="a";nodeName+="#"+tinyMCE.xmlEncode(anchor);nodeData="";} |
|---|
| 111 | | if(tinyMCE.getAttrib(path[i],'name').indexOf("mce_")!=0){var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1){nodeName+="."+className;}} |
|---|
| 112 | | var cmd='tinyMCE.execInstanceCommand(\''+editor_id+'\',\'mceSelectNodeDepth\',false,\''+i+'\');';html+='<a title="'+nodeData+'" href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" target="_self" class="mcePathItem">'+nodeName+'</a>';if(i>0){html+=" » ";}} |
|---|
| 113 | | pathElm.innerHTML='<a href="#" accesskey="x"></a>'+tinyMCE.getLang('lang_theme_path')+": "+html+' ';} |
|---|
| 114 | | tinyMCE.switchClass(editor_id+'_justifyleft','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifyright','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifyfull','mceButtonNormal');tinyMCE.switchClass(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClass(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClass(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClass(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClass(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClass(editor_id+'_numlist','mceButtonNormal');tinyMCE.switchClass(editor_id+'_sub','mceButtonNormal');tinyMCE.switchClass(editor_id+'_sup','mceButtonNormal');tinyMCE.switchClass(editor_id+'_anchor','mceButtonNormal');tinyMCE.switchClass(editor_id+'_link','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_unlink','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_outdent','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_image','mceButtonNormal');tinyMCE.switchClass(editor_id+'_hr','mceButtonNormal');if(node.nodeName=="A"&&tinyMCE.getAttrib(node,"class").indexOf('mceItemAnchor')!=-1) |
|---|
| 115 | | tinyMCE.switchClass(editor_id+'_anchor','mceButtonSelected');var anchorLink=tinyMCE.getParentElement(node,"a","href");if(anchorLink||any_selection){tinyMCE.switchClass(editor_id+'_link',anchorLink?'mceButtonSelected':'mceButtonNormal');tinyMCE.switchClass(editor_id+'_unlink',anchorLink?'mceButtonSelected':'mceButtonNormal');} |
|---|
| 116 | | tinyMCE.switchClass(editor_id+'_visualaid',visual_aid?'mceButtonSelected':'mceButtonNormal');if(undo_levels!=-1){tinyMCE.switchClass(editor_id+'_undo','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_redo','mceButtonDisabled');} |
|---|
| 117 | | if(tinyMCE.getParentElement(node,"li,blockquote")) |
|---|
| 118 | | tinyMCE.switchClass(editor_id+'_outdent','mceButtonNormal');if(undo_index!=-1&&(undo_index<undo_levels-1&&undo_levels>0)) |
|---|
| 119 | | tinyMCE.switchClass(editor_id+'_redo','mceButtonNormal');if(undo_index!=-1&&(undo_index>0&&undo_levels>0)) |
|---|
| 120 | | tinyMCE.switchClass(editor_id+'_undo','mceButtonNormal');var selectElm=document.getElementById(editor_id+"_styleSelect");if(selectElm){TinyMCE_CustomTheme._setupCSSClasses(editor_id);classNode=node;breakOut=false;var index=0;do{if(classNode&&classNode.className){for(var i=0;i<selectElm.options.length;i++){if(selectElm.options[i].value==classNode.className){index=i;breakOut=true;break;}}}}while(!breakOut&&classNode!=null&&(classNode=classNode.parentNode)!=null);selectElm.selectedIndex=index;} |
|---|
| 121 | | var selectElm=document.getElementById(editor_id+"_formatSelect");if(selectElm){var elm=tinyMCE.getParentElement(node,"p,div,h1,h2,h3,h4,h5,h6,pre,address");if(elm) |
|---|
| 122 | | selectByValue(selectElm,"<"+elm.nodeName.toLowerCase()+">");else |
|---|
| 123 | | selectByValue(selectElm,"");} |
|---|
| 124 | | var selectElm=document.getElementById(editor_id+"_fontNameSelect");if(selectElm){if(!tinyMCE.isSafari&&!(tinyMCE.isMSIE&&!tinyMCE.isOpera)){var face=inst.queryCommandValue('FontName');face=face==null||face==""?"":face;selectByValue(selectElm,face,face!="");}else{var elm=tinyMCE.getParentElement(node,"font","face");if(elm){var family=tinyMCE.getAttrib(elm,"face");if(family=='') |
|---|
| 125 | | family=''+elm.style.fontFamily;if(!selectByValue(selectElm,family,family!="")) |
|---|
| 126 | | selectByValue(selectElm,"");}else |
|---|
| 127 | | selectByValue(selectElm,"");}} |
|---|
| 128 | | var selectElm=document.getElementById(editor_id+"_fontSizeSelect");if(selectElm){if(!tinyMCE.isSafari&&!tinyMCE.isOpera){var size=inst.queryCommandValue('FontSize');selectByValue(selectElm,size==null||size==""?"0":size);}else{var elm=tinyMCE.getParentElement(node,"font","size");if(elm){var size=tinyMCE.getAttrib(elm,"size");if(size==''){var sizes=new Array('','8px','10px','12px','14px','18px','24px','36px');size=''+elm.style.fontSize;for(var i=0;i<sizes.length;i++){if((''+sizes[i])==size){size=i;break;}}} |
|---|
| 129 | | if(!selectByValue(selectElm,size)) |
|---|
| 130 | | selectByValue(selectElm,"");}else |
|---|
| 131 | | selectByValue(selectElm,"0");}} |
|---|
| 132 | | alignNode=node;breakOut=false;do{if(!alignNode.getAttribute||!alignNode.getAttribute('align')) |
|---|
| 133 | | continue;switch(alignNode.getAttribute('align').toLowerCase()){case"left":tinyMCE.switchClass(editor_id+'_justifyleft','mceButtonSelected');breakOut=true;break;case"right":tinyMCE.switchClass(editor_id+'_justifyright','mceButtonSelected');breakOut=true;break;case"middle":case"center":tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonSelected');breakOut=true;break;case"justify":tinyMCE.switchClass(editor_id+'_justifyfull','mceButtonSelected');breakOut=true;break;}}while(!breakOut&&(alignNode=alignNode.parentNode)!=null);var div=tinyMCE.getParentElement(node,"div");if(div&&div.style.textAlign=="center") |
|---|
| 134 | | tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonSelected');if(!setup_content){var ar=new Array("Bold","_bold","Italic","_italic","Strikethrough","_strikethrough","superscript","_sup","subscript","_sub");for(var i=0;i<ar.length;i+=2){if(inst.queryCommandState(ar[i])) |
|---|
| 135 | | tinyMCE.switchClass(editor_id+ar[i+1],'mceButtonSelected');} |
|---|
| 136 | | if(inst.queryCommandState("Underline")&&(node.parentNode==null||node.parentNode.nodeName!="A")) |
|---|
| 137 | | tinyMCE.switchClass(editor_id+'_underline','mceButtonSelected');} |
|---|
| 138 | | do{switch(node.nodeName){case"UL":tinyMCE.switchClass(editor_id+'_bullist','mceButtonSelected');break;case"OL":tinyMCE.switchClass(editor_id+'_numlist','mceButtonSelected');break;case"HR":tinyMCE.switchClass(editor_id+'_hr','mceButtonSelected');break;case"IMG":if(tinyMCE.getAttrib(node,'name').indexOf('mce_')!=0&&tinyMCE.getAttrib(node,'class').indexOf('mceItem')==-1){tinyMCE.switchClass(editor_id+'_image','mceButtonSelected');} |
|---|
| 139 | | break;}}while((node=node.parentNode)!=null);},_setupCSSClasses:function(editor_id){var i,selectElm;if(!TinyMCE_CustomTheme._autoImportCSSClasses) |
|---|
| 140 | | return;selectElm=document.getElementById(editor_id+'_styleSelect');if(selectElm&&selectElm.getAttribute('cssImported')!='true'){var csses=tinyMCE.getCSSClasses(editor_id);if(csses&&selectElm){for(i=0;i<csses.length;i++) |
|---|
| 141 | | selectElm.options[selectElm.options.length]=new Option(csses[i],csses[i]);} |
|---|
| 142 | | if(csses!=null&&csses.length>0) |
|---|
| 143 | | selectElm.setAttribute('cssImported','true');}},_setCookie:function(name,value,expires,path,domain,secure){var curCookie=name+"="+escape(value)+ |
|---|
| 144 | | ((expires)?"; expires="+expires.toGMTString():"")+ |
|---|
| 145 | | ((path)?"; path="+escape(path):"")+ |
|---|
| 146 | | ((domain)?"; domain="+domain:"")+ |
|---|
| 147 | | ((secure)?"; secure":"");document.cookie=curCookie;},_getCookie:function(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0) |
|---|
| 148 | | return null;}else |
|---|
| 149 | | begin+=2;var end=document.cookie.indexOf(";",begin);if(end==-1) |
|---|
| 150 | | end=dc.length;return unescape(dc.substring(begin+prefix.length,end));},_resizeTo:function(inst,w,h,set_w){var editorContainer=document.getElementById(inst.editorId+'_parent');var tableElm=editorContainer.firstChild;var iframe=inst.iframeElement;if(w==null||w=="null"){set_w=false;w=0;} |
|---|
| 151 | | if(h==null||h=="null") |
|---|
| 152 | | return;w=parseInt(w);h=parseInt(h);if(tinyMCE.isGecko){w+=2;h+=2;} |
|---|
| 153 | | var dx=w-tableElm.clientWidth;var dy=h-tableElm.clientHeight;w=w<1?30:w;h=h<1?30:h;if(set_w) |
|---|
| 154 | | tableElm.style.width=w+"px";tableElm.style.height=h+"px";iw=iframe.clientWidth+dx;ih=iframe.clientHeight+dy;iw=iw<1?30:iw;ih=ih<1?30:ih;if(tinyMCE.isGecko){iw-=2;ih-=2;} |
|---|
| 155 | | if(set_w) |
|---|
| 156 | | iframe.style.width=iw+"px";iframe.style.height=ih+"px";if(set_w){var tableBodyElm=tableElm.firstChild;var minIframeWidth=tableBodyElm.scrollWidth;if(inst.iframeElement.clientWidth<minIframeWidth){dx=minIframeWidth-inst.iframeElement.clientWidth;inst.iframeElement.style.width=(iw+dx)+"px";}} |
|---|
| 157 | | inst.useCSS=false;},_resizeEventHandler:function(e){var resizer=TinyMCE_CustomTheme._resizer;if(!resizer.resizing) |
|---|
| 158 | | return;e=typeof(e)=="undefined"?window.event:e;var dx=e.screenX-resizer.downX;var dy=e.screenY-resizer.downY;var resizeBox=resizer.resizeBox;var editorId=resizer.editorId;switch(e.type){case"mousemove":var w,h;w=resizer.width+dx;h=resizer.height+dy;w=w<1?1:w;h=h<1?1:h;if(resizer.horizontal) |
|---|
| 159 | | resizeBox.style.width=w+"px";resizeBox.style.height=h+"px";break;case"mouseup":TinyMCE_CustomTheme._setResizing(e,editorId,false);TinyMCE_CustomTheme._resizeTo(tinyMCE.getInstanceById(editorId),resizer.width+dx,resizer.height+dy,resizer.horizontal);if(tinyMCE.getParam("theme_custom_resizing_use_cookie",true)){var expires=new Date();expires.setTime(expires.getTime()+3600000*24*30);TinyMCE_CustomTheme._setCookie("TinyMCE_"+editorId+"_width",""+(resizer.horizontal?resizer.width+dx:""),expires);TinyMCE_CustomTheme._setCookie("TinyMCE_"+editorId+"_height",""+(resizer.height+dy),expires);} |
|---|
| 160 | | break;}},_setResizing:function(e,editor_id,state){e=typeof(e)=="undefined"?window.event:e;var resizer=TinyMCE_CustomTheme._resizer;var editorContainer=document.getElementById(editor_id+'_parent');var editorArea=document.getElementById(editor_id+'_parent').firstChild;var resizeBox=document.getElementById(editor_id+'_resize_box');var inst=tinyMCE.getInstanceById(editor_id);if(state){var width=editorArea.clientWidth;var height=editorArea.clientHeight;resizeBox.style.width=width+"px";resizeBox.style.height=height+"px";resizer.iframeWidth=inst.iframeElement.clientWidth;resizer.iframeHeight=inst.iframeElement.clientHeight;editorArea.style.display="none";resizeBox.style.display="block";if(!resizer.eventHandlers){if(tinyMCE.isMSIE) |
|---|
| 161 | | tinyMCE.addEvent(document,"mousemove",TinyMCE_CustomTheme._resizeEventHandler);else |
|---|
| 162 | | tinyMCE.addEvent(window,"mousemove",TinyMCE_CustomTheme._resizeEventHandler);tinyMCE.addEvent(document,"mouseup",TinyMCE_CustomTheme._resizeEventHandler);resizer.eventHandlers=true;} |
|---|
| 163 | | resizer.resizing=true;resizer.downX=e.screenX;resizer.downY=e.screenY;resizer.width=parseInt(resizeBox.style.width);resizer.height=parseInt(resizeBox.style.height);resizer.editorId=editor_id;resizer.resizeBox=resizeBox;resizer.horizontal=tinyMCE.getParam("theme_custom_resize_horizontal",true);}else{resizer.resizing=false;resizeBox.style.display="none";editorArea.style.display=tinyMCE.isMSIE&&!tinyMCE.isOpera?"block":"table";tinyMCE.execCommand('mceResetDesignMode');}},_getColorHTML:function(id,n,cm){var i,h,cl;h='<span class="mceMenuLine"></span>';cl=tinyMCE.getParam(n,TinyMCE_CustomTheme._defColors).split(',');h+='<table class="mceColors"><tr>';for(i=0;i<cl.length;i++){c='tinyMCE.execInstanceCommand(\''+id+'\', \''+cm+'\', false, \'#'+cl[i]+'\');';h+='<td><a href="javascript:'+c+'" style="background-color: #'+cl[i]+'" onclick="'+c+';return false;"></a></td>';if((i+1)%8==0) |
|---|
| 164 | | h+='</tr><tr>';} |
|---|
| 165 | | h+='</tr></table>';if(tinyMCE.getParam("theme_custom_more_colors",true)) |
|---|
| 166 | | h+='<a href="javascript:void(0);" onclick="TinyMCE_CustomTheme._pickColor(\''+id+'\',\''+cm+'\');" class="mceMoreColors">'+tinyMCE.getLang('lang_more_colors')+'</a>';return h;},_pickColor:function(id,cm){var inputColor,inst=tinyMCE.selectedInstance;if(cm=='forecolor'&&inst) |
|---|
| 167 | | inputColor=inst.foreColor;if((cm=='backcolor'||cm=='HiliteColor')&&inst) |
|---|
| 168 | | inputColor=inst.backColor;tinyMCE.execCommand('mceColorPicker',true,{color:inputColor,callback:function(c){tinyMCE.execInstanceCommand(id,cm,false,c);}});},_insertImage:function(src,alt,border,hspace,vspace,width,height,align,title,onmouseover,onmouseout){tinyMCE.execCommand("mceInsertContent",false,tinyMCE.createTagHTML('img',{src:tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src),mce_src:src,alt:alt,border:border,hspace:hspace,vspace:vspace,width:width,height:height,align:align,title:title,onmouseover:onmouseover,onmouseout:onmouseout}));},_insertLink:function(href,target,title,onclick,style_class){tinyMCE.execCommand('mceBeginUndoLevel');if(tinyMCE.selectedInstance&&tinyMCE.selectedElement&&tinyMCE.selectedElement.nodeName.toLowerCase()=="img"){var doc=tinyMCE.selectedInstance.getDoc();var linkElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"a");var newLink=false;if(!linkElement){linkElement=doc.createElement("a");newLink=true;} |
|---|
| 169 | | var mhref=href;var thref=eval(tinyMCE.settings['urlconverter_callback']+"(href, linkElement);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(linkElement,'href',thref);tinyMCE.setAttrib(linkElement,'mce_href',mhref);tinyMCE.setAttrib(linkElement,'target',target);tinyMCE.setAttrib(linkElement,'title',title);tinyMCE.setAttrib(linkElement,'onclick',onclick);tinyMCE.setAttrib(linkElement,'class',style_class);if(newLink){linkElement.appendChild(tinyMCE.selectedElement.cloneNode(true));tinyMCE.selectedElement.parentNode.replaceChild(linkElement,tinyMCE.selectedElement);} |
|---|
| 170 | | return;} |
|---|
| 171 | | if(!tinyMCE.linkElement&&tinyMCE.selectedInstance){if(tinyMCE.isSafari){tinyMCE.execCommand("mceInsertContent",false,'<a href="'+tinyMCE.uniqueURL+'">'+tinyMCE.selectedInstance.selection.getSelectedHTML()+'</a>');}else |
|---|
| 172 | | tinyMCE.selectedInstance.contentDocument.execCommand("createlink",false,tinyMCE.uniqueURL);tinyMCE.linkElement=tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body,"a","href",tinyMCE.uniqueURL);var elementArray=tinyMCE.getElementsByAttributeValue(tinyMCE.selectedInstance.contentDocument.body,"a","href",tinyMCE.uniqueURL);for(var i=0;i<elementArray.length;i++){var mhref=href;var thref=eval(tinyMCE.settings['urlconverter_callback']+"(href, elementArray[i]);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(elementArray[i],'href',thref);tinyMCE.setAttrib(elementArray[i],'mce_href',mhref);tinyMCE.setAttrib(elementArray[i],'target',target);tinyMCE.setAttrib(elementArray[i],'title',title);tinyMCE.setAttrib(elementArray[i],'onclick',onclick);tinyMCE.setAttrib(elementArray[i],'class',style_class);} |
|---|
| 173 | | tinyMCE.linkElement=elementArray[0];} |
|---|
| 174 | | if(tinyMCE.linkElement){var mhref=href;href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(tinyMCE.linkElement,'href',href);tinyMCE.setAttrib(tinyMCE.linkElement,'mce_href',mhref);tinyMCE.setAttrib(tinyMCE.linkElement,'target',target);tinyMCE.setAttrib(tinyMCE.linkElement,'title',title);tinyMCE.setAttrib(tinyMCE.linkElement,'onclick',onclick);tinyMCE.setAttrib(tinyMCE.linkElement,'class',style_class);} |
|---|
| 175 | | tinyMCE.execCommand('mceEndUndoLevel');}};tinyMCE.addTheme("custom",TinyMCE_CustomTheme);tinyMCE.addButtonMap(TinyMCE_CustomTheme._buttonMap); |
|---|
| | 7 | eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('9.8S(\'4i\');d F={7x:"8Q,8Y,8G,8L,9g,9c,9d,9k,9l,9j,9h,91,99,98,8d,8e,88,85,8i,8B,8A,8k,8q,8y,ap,an,ae,ad,aF,aJ,aN,aO,ax,aD,az,aA,9C,9E,9w,9s",5F:o,5b:{},4n:[[\'5D\',\'{$9I}\',\'9X\',\'6T\'],[\'5C\',\'{$9Y}\',\'a4\',\'6V\'],[\'3I\',\'3I.1b\',\'a1\',\'9N\'],[\'3L\',\'3L.1b\',\'9L\',\'9J\'],[\'3K\',\'3K.1b\',\'9Q\',\'9P\'],[\'3H\',\'3H.1b\',\'9R\',\'9T\'],[\'4z\',\'4z.1b\',\'9S\',\'9O\'],[\'4y\',\'4y.1b\',\'9K\',\'9M\'],[\'4H\',\'4H.1b\',\'a0\',\'a2\'],[\'3S\',\'3S.1b\',\'a3\',\'9Z\'],[\'3U\',\'3U.1b\',\'9V\',\'9U\'],[\'3k\',\'3k.1b\',\'7S\',\'4A\',o],[\'3q\',\'3q.1b\',\'9W\',\'3q\'],[\'3T\',\'3T.1b\',\'9t\',\'9u\'],[\'3Q\',\'3Q.1b\',\'9v\',\'6q\'],[\'3g\',\'3g.1b\',\'9r\',\'5H\'],[\'3F\',\'3F.1b\',\'9n\',\'9m\'],[\'3a\',\'3a.1b\',\'9o\',\'3a\'],[\'3c\',\'3c.1b\',\'9q\',\'5J\'],[\'2C\',\'2C.1b\',\'9p\',\'6F\']],7h:\'2C,5D,3I,3c,3T,3g,4y,4z,3Q,3H,5C,3F,3k,3L,3K,4H,3U,3a,3S,3q,9H,53,9G,9y,9x,9z,9B,9A,aB,aC,ay,au,at,av,aw,aL,7R,aK\',4J:V(2T){d i,x,1a;1d(i=0;i<F.4n.K;i++){1a=F.4n[i];f(1a[0]==2T&&(2T=="2O"||2T=="7n"))s 9.aE(1a[0],1a[2],\'{$46}/48/\'+1a[1],1a[3]+"aG",1a[3],(1a.K>4?1a[4]:J),(1a.K>5?1a[5]:U));f(1a[0]==2T)s 9.aI(1a[0],1a[2],\'{$46}/48/\'+1a[1],1a[3],(1a.K>4?1a[4]:J),(1a.K>5?1a[5]:U))}2V(2T){I"6m":d X=\'<28 Y="{$g}4l" 1B="{$g}4l" 2I="9.44(2f, 1w, 2i);" 2v="9.1X(\\\'{$g}\\\',\\\'aH\\\',J,1w.1L[1w.2F].t);" H="4a">\';d 4Q=9.G("as","p,4u,4v,4D,4C,4B,4E,4G,4F",o).2A(\',\');d 3i=[[\'p\',\'{$ac}\'],[\'4u\',\'{$ab}\'],[\'4v\',\'{$af}\'],[\'4D\',\'{$aa}\'],[\'4C\',\'{$a6}\'],[\'4B\',\'{$a5}\'],[\'4E\',\'{$a7}\'],[\'4G\',\'{$a9}\'],[\'4F\',\'{$a8}\'],[\'1n\',\'{$am}\'],[\'7a\',\'{$ao}\'],[\'3g\',\'{$aq}\'],[\'dt\',\'{$al}\'],[\'dd\',\'{$ah}\'],[\'ag\',\'{$ai}\']];X+=\'<T t="">{$ak}</T>\';1d(d i=0;i<4Q.K;i++){1d(d x=0;x<3i.K;x++){f(4Q[i]==3i[x][0])X+=\'<T t="&aj;\'+3i[x][0]+\'&8b;">\'+3i[x][1]+\'</T>\'}}X+=\'</28>\';s X;I"6n":s\'<28 Y="{$g}3s" 4Z="9.6N.4i.5t(\\\'{$g}\\\');" 1B="{$g}3s" 2I="9.44(2f,1w,2i);" 2v="9.1X(\\\'{$g}\\\',\\\'82\\\',J,1w.1L[1w.2F].t);" H="4a">{$4w}</28>\';I"8w":d 3X=\'<28 Y="{$g}4x" 1B="{$g}4x" 2I="9.44(2f, 1w, 2i);" 2v="9.1X(\\\'{$g}\\\',\\\'7i\\\',J,1w.1L[1w.2F].t);" H="4a"><T t="">{$8t}</T>\';d 8p=\'4T=2U,2R,2l-2a;62 3Z=41 W,41,8o;65=64,2x W 4p,2x,2a;5R=6H,2U,2R,2l-2a;6z 3Z 6P=2x W 4p,2x,2a;6l=6g,2U,2R,2l-2a;5P=5Q;8s=6b\';d 6d=\'8r 8j=8l 8n,2x;4T=2U,2R,2l-2a;4T 8z=2U 8C,8u 8v;8x 87=86 84,5N;81 80 6i=83 2l 6j,2l-2a;62 3Z=41 W,41;65=64,5N;89=2R;5P=5Q,8D;97=96;5R=6H,2U,2R,2l-2a;94=9b,9i;6z 3Z 6P=2x W 4p,2x;9e 6i=9f 6j,6c;6l=6g,6c;8N=8M;8F=6b,8I 8H\';d 3Y=9.G("8O",6d).2A(\';\');1d(i=0;i<3Y.K;i++){f(3Y[i]!=\'\'){d 4r=3Y[i].2A(\'=\');3X+=\'<T t="\'+4r[1]+\'">\'+4r[0]+\'</T>\'}}3X+=\'</28>\';s 3X;I"8U":s\'<28 Y="{$g}5z" 1B="{$g}5z" 2I="9.44(2f, 1w, 2i);" 2v="9.1X(\\\'{$g}\\\',\\\'7g\\\',J,1w.1L[1w.2F].t);" H="4a">\'+\'<T t="0">{$8X}</T>\'+\'<T t="1">1 (8 2B)</T>\'+\'<T t="2">2 (10 2B)</T>\'+\'<T t="3">3 (12 2B)</T>\'+\'<T t="4">4 (14 2B)</T>\'+\'<T t="5">5 (18 2B)</T>\'+\'<T t="6">6 (24 2B)</T>\'+\'<T t="7">7 (36 2B)</T>\'+\'</28>\';I"|":I"39":s\'<C R="{$46}/48/39.1b" r="2" m="20" H="6p" 1v="" />\';I"8R":s\'<C R="{$46}/48/39.1b" r="2" m="15" 1s="0" H="6p" M="dq-1f: 6Y" 1v="" />\';I"d6":s\'<br />\'}s""},2g:V(g,dh,5m,69,t){2V(5m){I\'6q\':9.2j({2D:\'cy.2k\',r:cV,m:63},{d0:9.cP+"."+9.cQ,cS:9.cR,2r:"2b"});s o;I"4A":d B=9.1I(g);d 3o=B.4W();d 4b="";f(9.26){d 6o=3o.7N.cO();4b=6o.cL}1h 4b=B.cK().cN();f(!9.D){f((9.1E.L.1K()!="C")&&(4b.K<=0))s o}d u="",1k="",S="",Z="",1M="6v",1V="";f(9.1E.L.1K()=="a")9.D=9.1E;f(9.D!=U&&9.v(9.D,\'u\')=="")9.D=U;f(9.D){u=9.v(9.D,\'u\');1k=9.v(9.D,\'1k\');S=9.v(9.D,\'S\');Z=9.v(9.D,\'Z\');1V=9.v(9.D,\'H\');f(Z=="")Z=9.v(9.D,\'Z\');Z=9.cM(Z);u=1C(9.1m[\'2n\']+"(u, 9.D, o);");5B=9.v(9.D,\'32\');f(5B!=""){u=5B;f(9.G(\'3m\'))u=1C(9.1m[\'2n\']+"(u, 9.D, o);")}1M="6S"}d l=W 1O();l[\'2D\']=\'3k.2k\';l[\'r\']=cZ;l[\'m\']=cY;l[\'r\']+=9.1t(\'d1\',0);l[\'m\']+=9.1t(\'cX\',0);f(B.1m[\'6r\']){d 13=1C(B.1m[\'6r\']+"(u, 1k, S, Z, 1M, 1V);");f(13&&13[\'u\'])F.7K(13[\'u\'],13[\'1k\'],13[\'S\'],13[\'Z\'],13[\'1V\'])}1h{9.2j(l,{u:u,1k:1k,S:S,Z:Z,1M:1M,1p:1V,2r:"2b"})}s o;I"cU":d R="",1v="",1s="",1R="",1Q="",r="",m="",1f="";d S="",1T="",1S="",1M="6v";d C=9.6w;d B=9.1I(g);f(9.1E!=U&&9.1E.L.1K()=="C"){C=9.1E;9.6w=C}f(C){f(9.v(C,\'1B\').1q(\'5d\')==0)s o;R=9.v(C,\'R\');1v=9.v(C,\'1v\');f(1v=="")1v=9.v(C,\'S\');f(9.5E){d w=C.M.r;f(w!=U&&w!="")C.5A("r",w);d h=C.M.m;f(h!=U&&h!="")C.5A("m",h)}1s=9.v(C,\'1s\');1R=9.v(C,\'1R\');1Q=9.v(C,\'1Q\');r=9.v(C,\'r\');m=9.v(C,\'m\');1f=9.v(C,\'1f\');1T=9.v(C,\'1T\');1S=9.v(C,\'1S\');S=9.v(C,\'S\');f(9.26){r=C.6u[\'r\'].6f?r:"";m=C.6u[\'m\'].6f?m:""}R=1C(9.1m[\'2n\']+"(R, C, o);");5l=9.v(C,\'5a\');f(5l!=""){R=5l;f(9.G(\'3m\'))R=1C(9.1m[\'2n\']+"(R, C, o);")}1M="6S"}d l=W 1O();l[\'2D\']=\'cx.2k?R={$R}\';l[\'r\']=cA;l[\'m\']=cz+(9.26?25:0);l[\'r\']+=9.1t(\'cw\',0);l[\'m\']+=9.1t(\'ct\',0);f(B.1m[\'6Q\']){d 13=1C(B.1m[\'6Q\']+"(R, 1v, 1s, 1R, 1Q, r, m, 1f, S, 1T, 1S, 1M);");f(13&&13[\'R\'])F.7B(13[\'R\'],13[\'1v\'],13[\'1s\'],13[\'1R\'],13[\'1Q\'],13[\'r\'],13[\'m\'],13[\'1f\'],13[\'S\'],13[\'1T\'],13[\'1S\'])}1h 9.2j(l,{R:R,1v:1v,1s:1s,1R:1R,1Q:1Q,r:r,m:m,1f:1f,S:S,1T:1T,1S:1S,1M:1M,2r:"2b"});s o;I"2O":d 2o=W 2h(g+\'cs\',J),p,C,E;F.2u(g);f(!2o.2P()){2o.4h(\'1n\',\'6O\',O.17(g+\'2E\'));E=2o.4d();E.4R=g;E.4P="2O";E.59=g+"3h";9.1W(E,\'4K\',F.2p);9.1W(E,\'4Y\',F.2p);9.1W(E,\'6B\',F.2p)}C=9.6x(O.17(g+"3h"),V(n){s n.L=="5p"})[0];p=9.6G(C,O.17(g+\'2E\'));2o.5T(p.68,p.66);2o.4d().M.67=t!=U?t:9.1I(g).7o;2o.3C();s J;I"cu":1w.3V(g,\'2O\');s o;I"cH":F.2u(g);d 1x=W 2h(g+\'4S\');f(!1x.2P())1x.4h(\'1n\',\'5U\',O.3p,F.4t(g,\'cG\',\'2O\'));9.y(g+\'3h\',\'60\');1x.5Z(O.17(g+"3h"),\'bl\');1x.3x(9.26&&!9.29?-1:1,-1);f(9.29)1x.3x(0,-2);1x.3C();s o;I"3l":d 2z=W 2h(g+\'cJ\',J),p,C;F.2u(g);f(!2z.2P()){2z.4h(\'1n\',\'6O\',O.17(g+\'2E\'));E=2z.4d();E.4R=g;E.4P="3l";E.59=g+"3j";9.1W(E,\'4K\',F.2p);9.1W(E,\'4Y\',F.2p);9.1W(E,\'6B\',F.2p)}C=9.6x(O.17(g+"3j"),V(n){s n.L=="5p"})[0];p=9.6G(C,O.17(g+\'2E\'));2z.5T(p.68,p.66);2z.4d().M.67=t!=U?t:9.1I(g).7r;2z.3C();s J;I"cD":F.2u(g);d 1x=W 2h(g+\'4U\');f(!1x.2P())1x.4h(\'1n\',\'5U\',O.3p,F.4t(g,\'dp\',\'3l\'));9.y(g+\'3j\',\'60\');1x.5Z(O.17(g+"3j"),\'bl\');1x.3x(9.26&&!9.29?-1:1,-1);f(9.29)1x.3x(0,-2);1x.3C();s o;I"dm":1w.3V(g,\'3l\');s o;I"51":f(69){d l=[];f(!t[\'43\']&&!t[\'1P\'])t[\'1P\']=t[\'O\'].17(t[\'5K\']).t;l[\'2D\']=\'dw.2k\';l[\'r\']=63;l[\'m\']=6a;l[\'dv\']="5I";l[\'r\']+=9.1t(\'du\',0);l[\'m\']+=9.1t(\'dj\',0);f(34(t[\'5r\'])=="31")t[\'5r\']=o;9.5G=t;9.2j(l,{g:g,d8:t[\'5r\'],2r:"2b",5m:"51",d2:t[\'1P\']})}1h{d 33=9.5G,E;f(33[\'43\']){33[\'43\'](t);s o}E=33[\'O\'].17(33[\'5K\']);E.t=t;f(E.2v!=U&&E.2v!=\'\')1C(\'E.2v();\')}s o;I"5H":d l=W 1O();l[\'2D\']=\'dg.2k\';l[\'r\']=2S(9.G("di",db));l[\'m\']=2S(9.G("de",da));9.2j(l,{g:g,df:"2b",d9:"5I",2r:"2b"});s o;I"5J":d l=W 1O();l[\'2D\']=\'3c.2k\';l[\'r\']=ds+(9.29?40:0);l[\'m\']=6a;l[\'r\']+=9.1t(\'bm\',0);l[\'m\']+=9.1t(\'bk\',0);9.2j(l,{g:g,2r:"2b"});s o;I"6F":d l=W 1O();l[\'2D\']=\'2C.2k\';l[\'r\']=bp;l[\'m\']=90+(9.bo?30:0);l[\'r\']+=9.1t(\'bn\',0);l[\'m\']+=9.1t(\'bf\',0);9.2j(l,{g:g,2r:"2b"});s o;I"bd":f(bi(9.bh(9.1t(\'bg\'))))9.1X(g,\'bz\',J,\' \');s o}s J},by:V(1m,11){V 4L(27,5o){d 3E=W 1O(),3D;1d(d i=0;i<27.K;i++){3D=J;1d(d j=0;j<5o.K;j++){f(27[i]==5o[j]){3D=o}}f(!3D){3E[3E.K]=27[i]}}s 3E}V 4o(27,5k){1d(d i=0;i<5k.K;i++){27[27.K]=5k[i]}s 27}d l=W 1O();d 1U=0;d 2Q=9.G("7Y",J);d N=9.G("bC",o);d 3B=\'<1n Y="{$g}7W" H="bB" M="2M: \'+(N?"45":"37")+\'">c;</1n><1n Y="{$g}bA" H="bt" M="2M: \'+(2Q?"45":"37")+\'" 4Z="9.6N.4i.5q(2f,\\\'{$g}\\\',o);"></1n><br M="bs: bq" />\';d 6e=9.G("bw","6t");d 3w=\'<T t="">{$bv}</T>\';f(1m[\'6h\']){d 3J=1m[\'6h\'].2A(\';\');1d(d i=0;i<3J.K;i++){d 5h,t;5h=3J[i].2A(\'=\')[0];t=3J[i].2A(\'=\')[1];3w+=\'<T t="\'+t+\'">\'+5h+\'</T>\'}F.5F=J}2V(6e){I"6t":d 1u="";d 3t=9.G("aV","54");d 4X=9.G("b0","2d");d 6s=9.G("aZ","37");d 57=9.G("aY",6s);d 6k={aR:"5D,5C,3I,3L,3K,3H,39,6n,6m",bc:"3k,3q,2C,3F,3a,39,3c,3S,3U,3T,3g,3Q",b2:""};1u+=\'<a u="#" 52="q" S="\'+9.1t("b1")+\'"\';f(!9.G("b6"))1u+=\' 2I="9.1I(\\\'\'+11+\'\\\').6L().6M();"\';1u+=\'></a>\';1d(d i=1;i<6A;i++){d 4q=6k["3P"+i];d 1F=9.G("3P"+i,4q==U?\'\':4q,o,\',\');f(1F.K==0)1i;1F=4L(1F,9.G("5S","",o,\',\'));1F=4o(1F,9.G("3P"+i+"b4","",o,\',\'));1F=4o(9.G("3P"+i+"c8","",o,\',\'),1F);1d(d b=0;b<1F.K;b++)1u+=9.4J(1F[b]);f(1F.K>0){1u+="<br />";1U-=23}}1u+=\'<a u="#" 52="z" 2I="9.1I(\\\'\'+11+\'\\\').6L().6M();"></a>\';l[\'X\']=\'<1Y H="55" 1s="0" 6D="0" 6E="0" r="{$r}" m="{$m}" M="r:{$cc};m:{$cb}"><3R>\';f(3t=="6I")l[\'X\']+=\'<16><1c 6J="53" H="ca" 1f="\'+4X+\'" m="1" 6K="6K"><1r Y="\'+11+\'2E" H="6R">\'+1u+\'</1r></1c></16>\';f(57=="6I"){l[\'X\']+=\'<16><1c H="c2" m="1">\'+3B+\'</1c></16>\';1U-=23}l[\'X\']+=\'<16><1c 1f="2d"><1r Y="{$g}"></1r></1c></16>\';f(3t=="54")l[\'X\']+=\'<16><1c 6J="53" H="c1" 1f="\'+4X+\'" m="1"><1r Y="\'+11+\'2E" H="6R">\'+1u+\'</1r></1c></16>\';f(3t=="co"){d 6y=O.3p;d E=O.7J("1n");1u=9.5V(1u,\'4w\',3w);1u=9.ck(1u,{g:11});E.1p="cj";E.Y=11+"2E";E.7Z=\'<1Y r="6A%" 1s="0" 1f="2d"><16><1c 1f="2d">\'+1u+\'</1c></16></1Y>\';6y.7M(E);1U=0;9.1I(11).6C=E;}1h{9.1I(11).6C=U}f(57=="54"){l[\'X\']+=\'<16><1c H="5L" m="1">\'+3B+\'</1c></16>\';1U-=23}l[\'X\']+=\'</3R></1Y>\';1i;I"ce":l[\'X\']=\'<1Y H="55" 1s="0" 6D="0" 6E="0" r="{$r}" m="{$m}" M="r:{$r}1G;m:{$m}1G"><3R>\';d 21=9.G("ci","",o,",");d 5O=9.G("ch","cg");d 5M=9.G("bL","2d");1d(d i=0;i<21.K;i++){f(21[i]=="55")l[\'X\']+=\'<16><1c 1f="2d" H="bJ"><1r Y="{$g}"></1r></1c></16>\';1h f(21[i]=="bO"||21[i]=="56"){d 3z="56";f(i==21.K-1){3z="5L"}1h f(i==0){3z="56"}1h{1U-=2}l[\'X\']+=\'<16><1c H="\'+3z+\'" m="1">\'+3B+\'</1c></16>\';1U-=22}1h{d 2J=9.G("4M"+21[i],"",o,\',\');d 3O="";d 5X=9.G("4M"+21[i]+"bF",5M);d 5W=9.G("4M"+21[i]+"bH",5O);2J=4L(2J,9.G("5S","",o,\',\'));1d(d j=0;j<2J.K;j++)3O+=9.4J(2J[j]);f(2J.K>0){3O+="<br />";1U-=23}l[\'X\']+=\'<16><1c H="\'+5W+\'" 1f="\'+5X+\'" m="1">\'+3O+\'</1c></16>\'}}l[\'X\']+=\'</3R></1Y>\';1i;I"bZ":d 3u=9.G("bY","");f(3u!=""&&1C("34("+3u+")")!="31"){l=1C(3u+"(l);")}1i}f(2Q)l[\'X\']+=\'<1r Y="{$g}7t" H="bQ"></1r>\';l[\'X\']=9.5V(l[\'X\'],\'4w\',3w);f(!l[\'61\'])l[\'61\']=0;f(!l[\'5Y\'])l[\'5Y\']=1U;s l},bS:V(B){f(9.G("7Y",J)){f(9.G("7P",o)){d w=F.5u("3W"+B.11+"7L");d h=F.5u("3W"+B.11+"7s");F.5j(B,w,h,9.G("7v",o))}}B.bT(\'bU\',\'k\',\'7S\',\'4A\')},bP:V(B){W 2h(B.11+\'4S\').7Q();W 2h(B.11+\'4U\').7Q()},bR:V(B){F.2u(B.11)},2p:V(e){d 3r=9.26?2i.2f.c0:e.1k;9.bV(e.5e=="4Y"?"bW":"bX",O.17(3r.59));f(e.5e=="4K")9.1X(3r.4R,3r.4P)},2u:V(Y){d 3A=W 2h(Y+\'4S\'),3v=W 2h(Y+\'4U\');f(3A.2P()&&3A.7V()){9.y(Y+\'3h\',\'7U\');3A.7X()}f(3v.2P()&&3v.7V()){9.y(Y+\'3j\',\'7U\');3v.7X()}},bG:V(g,1e,3e,3d,79,7e,6W){d 2m,1J,2c;V 1H(2Y,t,3y){3y=34(3y)=="31"?J:o;f(2Y){1d(d i=0;i<2Y.1L.K;i++){d 4O=""+2Y.1L[i].t;f(3y&&4O.1K().1q(t.1K())==0){2Y.2F=i;s o}f(4O==t){2Y.2F=i;s o}}}s J};f(1e==U)s;d 50=O.17(g+"7W");d B=9.1I(g);d 3o=B.4W();F.2u(g);f(50){d 1o=1e;d N=W 1O();3M(1o!=U){f(1o.L.bI()=="bD"){1i}f(1o.bE==1&&9.v(1o,"H").1q(\'bM\')==-1){N[N.K]=1o}1o=1o.1o}d X="";1d(d i=N.K-1;i>=0;i--){d L=N[i].L.1K();d 1A="";f(L.1q("X:")==0)L=L.7D(5);f(L=="b"){L="bN"}f(L=="i"){L="bK"}f(L=="1r"){d cn=9.v(N[i],"H");f(cn!=""&&cn.1q(\'2W\')==-1)1A+="H: "+cn+" ";d 3f=9.v(N[i],"M");f(3f!=""){3f=9.cd(9.cf(3f));1A+="M: "+9.2q(3f)+" "}}f(L=="3G"){f(9.G("cp"))L="1r";d 1z=9.v(N[i],"1z");f(1z!="")1A+="3G: "+9.2q(1z)+" ";d 1j=9.v(N[i],"1j");f(1j!="")1A+="1j: "+9.2q(1j)+" ";d 1P=9.v(N[i],"1P");f(1P!="")1A+="1P: "+9.2q(1P)+" "}f(9.v(N[i],\'Y\')!=""){1A+="Y: "+N[i].2L(\'Y\')+" "}d 1p=9.7T(9.v(N[i],"H"),J);f(1p!=""&&1p.1q(\'2W\')==-1)1A+="H: "+1p+" ";f(9.v(N[i],\'R\')!=""){d R=9.v(N[i],"5a");f(R=="")R=9.v(N[i],"R");1A+="R: "+9.2q(R)+" "}f(N[i].L==\'A\'&&9.v(N[i],\'u\')!=""){d u=9.v(N[i],"32");f(u=="")u=9.v(N[i],"u");1A+="u: "+9.2q(u)+" "}1p=9.v(N[i],"H");f((L=="C"||L=="1r")&&1p.1q(\'2W\')!=-1){L=1p.7R(/2W([a-z]+)/cq,\'$1\').1K();1A=N[i].2L(\'S\')}f(L=="a"&&(2C=9.v(N[i],"1B"))!=""){L="a";L+="#"+9.2q(2C);1A=""}f(9.v(N[i],\'1B\').1q("5d")!=0){d 1p=9.7T(9.v(N[i],"H"),J);f(1p!=""&&1p.1q(\'2W\')==-1){L+="."+1p}}d 58=\'9.1X(\\\'\'+g+\'\\\',\\\'cr\\\',J,\\\'\'+i+\'\\\');\';X+=\'<a S="\'+1A+\'" u="4s:\'+58+\'" Z="\'+58+\'s J;" 4Z="s J;" 1k="c4" H="c5">\'+L+\'</a>\';f(i>0){X+=" &c6; "}}50.7Z=\'<a u="#" 52="x"></a>\'+9.1t(\'c3\')+": "+X+\'c;\'}9.y(g+\'77\',\'19\');9.y(g+\'6X\',\'19\');9.y(g+\'5s\',\'19\');9.y(g+\'6Z\',\'19\');9.y(g+\'6U\',\'19\');9.y(g+\'74\',\'19\');9.y(g+\'71\',\'19\');9.y(g+\'75\',\'19\');9.y(g+\'72\',\'19\');9.y(g+\'7m\',\'19\');9.y(g+\'73\',\'19\');9.y(g+\'76\',\'19\');9.y(g+\'7d\',\'19\');9.y(g+\'7b\',\'3n\');9.y(g+\'78\',\'3n\');9.y(g+\'7j\',\'3n\');9.y(g+\'7H\',\'19\');9.y(g+\'7G\',\'19\');f(1e.L=="A"&&9.v(1e,"H").1q(\'c7\')!=-1)9.y(g+\'7d\',\'1l\');d 3N=9.2t(1e,"a","u");f(3N||7e){9.y(g+\'7b\',3N?\'1l\':\'19\');9.y(g+\'78\',3N?\'1l\':\'19\')}9.y(g+\'c9\',79?\'1l\':\'19\');f(3d!=-1){9.y(g+\'7l\',\'3n\');9.y(g+\'7k\',\'3n\')}f(9.2t(1e,"b5,7a"))9.y(g+\'7j\',\'19\');f(3e!=-1&&(3e<3d-1&&3d>0))9.y(g+\'7k\',\'19\');f(3e!=-1&&(3e>0&&3d>0))9.y(g+\'7l\',\'19\');d P=O.17(g+"3s");f(P){F.5t(g);2c=1e;1J=J;d 4m=0;do{f(2c&&2c.1p){1d(d i=0;i<P.1L.K;i++){f(P.1L[i].t==2c.1p){4m=i;1J=o;1i}}}}3M(!1J&&2c!=U&&(2c=2c.1o)!=U);P.2F=4m}d P=O.17(g+"4l");f(P){d E=9.2t(1e,"p,1n,4D,4C,4B,4E,4G,4F,4v,4u");f(E)1H(P,"<"+E.L.1K()+">");1h 1H(P,"")}d P=O.17(g+"4x");f(P){f(!9.4I&&!(9.26&&!9.29)){d 1z=B.7f(\'7i\');1z=1z==U||1z==""?"":1z;1H(P,1z,1z!="")}1h{d E=9.2t(1e,"3G","1z");f(E){d 3b=9.v(E,"1z");f(3b==\'\')3b=\'\'+E.M.b3;f(!1H(P,3b,3b!=""))1H(P,"")}1h 1H(P,"")}}d P=O.17(g+"5z");f(P){f(!9.4I&&!9.29){d 1j=B.7f(\'7g\');1H(P,1j==U||1j==""?"0":1j)}1h{d E=9.2t(1e,"3G","1j");f(E){d 1j=9.v(E,"1j");f(1j==\'\'){d 5x=W 1O(\'\',\'ba\',\'bb\',\'b7\',\'b8\',\'b9\',\'aS\',\'aT\');1j=\'\'+E.M.aU;1d(d i=0;i<5x.K;i++){f((\'\'+5x[i])==1j){1j=i;1i}}}f(!1H(P,1j))1H(P,"")}1h 1H(P,"0")}}2m=1e;1J=J;do{f(!2m.2L||!2m.2L(\'1f\'))aP;2V(2m.2L(\'1f\').1K()){I"aQ":9.y(g+\'77\',\'1l\');1J=o;1i;I"aW":9.y(g+\'6X\',\'1l\');1J=o;1i;I"6Y":I"2d":9.y(g+\'5s\',\'1l\');1J=o;1i;I"aX":9.y(g+\'6Z\',\'1l\');1J=o;1i}}3M(!1J&&(2m=2m.1o)!=U);d 1n=9.2t(1e,"1n");f(1n&&1n.M.bu=="2d")9.y(g+\'5s\',\'1l\');f(!6W){d ar=W 1O("6T","6U","6V","74","bx","75","be","76","bj","73");1d(d i=0;i<ar.K;i+=2){f(B.70(ar[i]))9.y(g+ar[i+1],\'1l\')}f(B.70("d7")&&(1e.1o==U||1e.1o.L!="A"))9.y(g+\'71\',\'1l\')}do{2V(1e.L){I"d4":9.y(g+\'72\',\'1l\');1i;I"d3":9.y(g+\'7m\',\'1l\');1i;I"d5":9.y(g+\'7G\',\'1l\');1i;I"5p":f(9.v(1e,\'1B\').1q(\'5d\')!=0&&9.v(1e,\'H\').1q(\'2W\')==-1){9.y(g+\'7H\',\'1l\')}1i}}3M((1e=1e.1o)!=U)},5t:V(g){d i,P;f(!F.5F)s;P=O.17(g+\'3s\');f(P&&P.2L(\'7I\')!=\'o\'){d 2s=9.dr(g);f(2s&&P){1d(i=0;i<2s.K;i++)P.1L[P.1L.K]=W dl(2s[i],2s[i])}f(2s!=U&&2s.K>0)P.5A(\'7I\',\'o\')}},5n:V(1B,t,1Z,N,4k,5y){d 7C=1B+"="+7F(t)+((1Z)?"; 1Z="+1Z.dk():"")+((N)?"; N="+7F(N):"")+((4k)?"; 4k="+4k:"")+((5y)?"; 5y":"");O.5w=7C},5u:V(1B){d dc=O.5w;d 4g=1B+"=";d 2w=dc.1q("; "+4g);f(2w==-1){2w=dc.1q(4g);f(2w!=0)s U}1h 2w+=2;d 4f=O.5w.1q(";",2w);f(4f==-1)4f=dc.K;s dn(dc.7D(2w+4g.K,4f))},5j:V(B,w,h,35){d 5c=O.17(B.11+\'5i\');d 2N=5c.5g;d 2Z=B.2G;f(w==U||w=="U"){35=J;w=0}f(h==U||h=="U")s;w=2S(w);h=2S(h);f(9.5E){w+=2;h+=2}d dx=w-2N.2K;d 2X=h-2N.49;w=w<1?30:w;h=h<1?30:h;f(35)2N.M.r=w+"1G";2N.M.m=h+"1G";2y=2Z.2K+dx;2H=2Z.49+2X;2y=2y<1?30:2y;2H=2H<1?30:2H;f(9.5E){2y-=2;2H-=2}f(35)2Z.M.r=2y+"1G";2Z.M.m=2H+"1G";f(35){d 7E=2N.5g;d 5f=7E.cE;f(B.2G.2K<5f){dx=5f-B.2G.2K;B.2G.M.r=(2y+dx)+"1G"}}B.cB=J},4c:V(e){d Q=F.5b;f(!Q.2Q)s;e=34(e)=="31"?2i.2f:e;d dx=e.7A-Q.7z;d 2X=e.7w-Q.7u;d 1y=Q.1y;d 11=Q.11;2V(e.5e){I"5v":d w,h;w=Q.r+dx;h=Q.m+2X;w=w<1?1:w;h=h<1?1:h;f(Q.47)1y.M.r=w+"1G";1y.M.m=h+"1G";1i;I"7p":F.5q(e,11,J);F.5j(9.1I(11),Q.r+dx,Q.m+2X,Q.47);f(9.G("7P",o)){d 1Z=W cC();1Z.cF(1Z.cI()+cv*24*30);F.5n("3W"+11+"7L",""+(Q.47?Q.r+dx:""),1Z);F.5n("3W"+11+"7s",""+(Q.m+2X),1Z)}1i}},5q:V(e,g,7q){e=34(e)=="31"?2i.2f:e;d Q=F.5b;d 5c=O.17(g+\'5i\');d 38=O.17(g+\'5i\').5g;d 1y=O.17(g+\'7t\');d B=9.1I(g);f(7q){d r=38.2K;d m=38.49;1y.M.r=r+"1G";1y.M.m=m+"1G";Q.cW=B.2G.2K;Q.cT=B.2G.49;38.M.2M="37";1y.M.2M="45";f(!Q.7y){f(9.26)9.1W(O,"5v",F.4c);1h 9.1W(2i,"5v",F.4c);9.1W(O,"7p",F.4c);Q.7y=o}Q.2Q=o;Q.7z=e.7A;Q.7u=e.7w;Q.r=2S(1y.M.r);Q.m=2S(1y.M.m);Q.11=g;Q.1y=1y;Q.47=9.G("7v",o)}1h{Q.2Q=J;1y.M.2M="37";38.M.2M=9.26&&!9.29?"45":"1Y";9.2g(\'8T\')}},4t:V(Y,n,cm){d i,h,cl;h=\'<1r H="8P"></1r>\';cl=9.G(n,F.7x).2A(\',\');h+=\'<1Y H="8W"><16>\';1d(i=0;i<cl.K;i++){c=\'9.1X(\\\'\'+Y+\'\\\', \\\'\'+cm+\'\\\', J, \\\'#\'+cl[i]+\'\\\');\';h+=\'<1c><a u="4s:\'+c+\'" M="8V-1P: #\'+cl[i]+\'" Z="\'+c+\';s J;"></a></1c>\';f((i+1)%8==0)h+=\'</16><16>\'}h+=\'</16></1Y>\';f(9.G("8E",o))h+=\'<a u="4s:8J(0);" Z="F.3V(\\\'\'+Y+\'\\\',\\\'\'+cm+\'\\\');" H="8K">\'+9.1t(\'8Z\')+\'</a>\';s h},3V:V(Y,cm){d 42,B=9.2e;f(cm==\'2O\'&&B)42=B.7o;f((cm==\'7n\'||cm==\'3l\')&&B)42=B.7r;9.2g(\'51\',o,{1P:42,43:V(c){9.1X(Y,cm,J,c)}})},7B:V(R,1v,1s,1R,1Q,r,m,1f,S,1T,1S){9.2g("7O",J,9.95(\'C\',{R:9.93(9.1m[\'92\'],R),5a:R,1v:1v,1s:1s,1R:1R,1Q:1Q,r:r,m:m,1f:1f,S:S,1T:1T,1S:1S}))},7K:V(u,1k,S,Z,1V){9.2g(\'9a\');f(9.2e&&9.1E&&9.1E.L.1K()=="C"){d 3o=9.2e.4W();d D=9.2t(9.1E,"a");d 4N=J;f(!D){D=3o.7J("a");4N=o}d 1D=u;d 4j=1C(9.1m[\'2n\']+"(u, D);");1D=9.G(\'3m\')?u:1D;9.1g(D,\'u\',4j);9.1g(D,\'32\',1D);9.1g(D,\'1k\',1k);9.1g(D,\'S\',S);9.1g(D,\'Z\',Z);9.1g(D,\'H\',1V);f(4N){D.7M(9.1E.8c(o));9.1E.1o.8a(D,9.1E)}s}f(!9.D&&9.2e){f(9.4I){9.2g("7O",J,\'<a u="\'+9.4e+\'">\'+9.2e.7N.8h()+\'</a>\')}1h 9.2e.4V.2g("8f",J,9.4e);9.D=9.8m(9.2e.4V.3p,"a","u",9.4e);d 1N=9.8g(9.2e.4V.3p,"a","u",9.4e);1d(d i=0;i<1N.K;i++){d 1D=u;d 4j=1C(9.1m[\'2n\']+"(u, 1N[i]);");1D=9.G(\'3m\')?u:1D;9.1g(1N[i],\'u\',4j);9.1g(1N[i],\'32\',1D);9.1g(1N[i],\'1k\',1k);9.1g(1N[i],\'S\',S);9.1g(1N[i],\'Z\',Z);9.1g(1N[i],\'H\',1V)}9.D=1N[0]}f(9.D){d 1D=u;u=1C(9.1m[\'2n\']+"(u, 9.D);");1D=9.G(\'3m\')?u:1D;9.1g(9.D,\'u\',u);9.1g(9.D,\'32\',1D);9.1g(9.D,\'1k\',1k);9.1g(9.D,\'S\',S);9.1g(9.D,\'Z\',Z);9.1g(9.D,\'H\',1V)}9.2g(\'aM\')}};9.9F("4i",F);9.9D(F.7h);',62,840,'|||||||||tinyMCE||||var||if|editor_id|||||template|height||true|||width|return|value|href|getAttrib|||switchClass|||inst|img|linkElement|elm|TinyMCE_CustomTheme|getParam|class|case|false|length|nodeName|style|path|document|selectElm|resizer|src|title|option|null|function|new|html|id|onclick||editorId||returnVal|||tr|getElementById||mceButtonNormal|but|gif|td|for|node|align|setAttrib|else|break|size|target|mceButtonSelected|settings|div|parentNode|className|indexOf|span|border|getLang|toolbarHTML|alt|this|ml|resizeBox|face|nodeData|name|eval|mhref|selectedElement|buttons|px|selectByValue|getInstanceById|breakOut|toLowerCase|options|action|elementArray|Array|color|vspace|hspace|onmouseout|onmouseover|deltaHeight|style_class|addEvent|execInstanceCommand|table|expires||containers|||||isMSIE|in_array|select|isOpera|serif|yes|classNode|center|selectedInstance|event|execCommand|TinyMCE_Layer|window|openWindow|htm|sans|alignNode|urlconverter_callback|fcp|_handleMenuEvent|xmlEncode|inline|csses|getParentElement|_hideMenus|onchange|begin|times|iw|bcp|split|pt|anchor|file|_toolbar|selectedIndex|iframeElement|ih|onfocus|curContainer|clientWidth|getAttribute|display|tableElm|forecolor|exists|resizing|helvetica|parseInt|button_name|arial|switch|mceItem|dy|select_elm|iframe||undefined|mce_href|savedVal|typeof|set_w||none|editorArea|separator|removeformat|family|charmap|undo_levels|undo_index|st|code|_forecolor|lookup|_backcolor|link|HiliteColor|convert_urls|mceButtonDisabled|doc|body|unlink|te|_styleSelect|toolbarLocation|customLayout|bcml|styleSelectHTML|moveBy|first_index|pathClass|fcml|statusbarHTML|show|skip|outArray|hr|font|indent|bullist|stylesAr|outdent|numlist|while|anchorLink|curContainerHTML|theme_custom_buttons|help|tbody|undo|cleanup|redo|_pickColor|TinyMCE_|fontHTML|fonts|New||courier|inputColor|callback|addSelectAccessibility|block|themeurl|horizontal|images|clientHeight|mceSelectList|selectedText|_resizeEventHandler|getElement|uniqueURL|end|prefix|create|custom|thref|domain|_formatSelect|index|_buttons|addToArray|roman|def|parts|javascript|_getColorHTML|address|pre|style_select_options|_fontNameSelect|copy|cut|mceLink|h3|h2|h1|h4|h6|h5|paste|isSafari|getControlHTML|click|removeFromArray|theme_custom_container_|newLink|ov|_command|formats|_editor_id|_fcMenu|Arial|_bcMenu|contentDocument|getDoc|toolbarAlign|mouseover|onmousedown|pathElm|mceColorPicker|accesskey|ltr|bottom|mceEditor|mceStatusbar|statusbarLocation|cmd|_switchId|mce_src|_resizer|editorContainer|mce_|type|minIframeWidth|firstChild|key|_parent|_resizeTo|add_array|mceRealSrc|command|_setCookie|remove_array|IMG|_setResizing|store_selection|_justifycenter|_setupCSSClasses|_getCookie|mousemove|cookie|sizes|secure|_fontSizeSelect|setAttribute|mceRealHref|italic|bold|isGecko|_autoImportCSSClasses|lastColorPickerValue|mceCodeEditor|no|mceCharMap|element_id|mceStatusbarBottom|defaultContainerAlign|palatino|defaultContainerCSS|Impact|impact|Tahoma|theme_custom_disable|moveTo|mceMenu|replaceVar|curCSS|curAlign|delta_height|moveRelativeTo|mceMenuButtonFocus|delta_width|Courier|380|georgia|Georgia|absTop|backgroundColor|absLeft|user_interface|250|wingdings|geneva|nFonts|layoutManager|specified|verdana|theme_custom_styles|MS|ms|defVals|Verdana|formatselect|styleselect|rng|mceSeparatorLine|mceHelp|insertlink_callback|pathLocation|SimpleLayout|attributes|insert|imgElement|selectNodes|bod|Times|100|mouseout|toolbarElement|cellpadding|cellspacing|mceInsertAnchor|getAbsPosition|tahoma|top|dir|nowrap|getWin|focus|themes|mceColorPreview|Roman|insertimage_callback|mceToolbarContainer|update|Bold|_bold|Italic|setup_content|_justifyright|middle|_justifyfull|queryCommandState|_underline|_bullist|_sub|_italic|_strikethrough|_sup|_justifyleft|_unlink|visual_aid|blockquote|_link|160|_anchor|any_selection|queryCommandValue|FontSize|_buttonMap|FontName|_outdent|_redo|_undo|_numlist|backcolor|foreColor|mouseup|state|backColor|_height|_resize_box|downY|theme_custom_resize_horizontal|screenY|_defColors|eventHandlers|downX|screenX|_insertImage|curCookie|substring|tableBodyElm|escape|_hr|_image|cssImported|createElement|_insertLink|_width|appendChild|selection|mceInsertContent|theme_custom_resizing_use_cookie|remove|replace|lang_link_desc|getVisualAidClass|mceMenuButton|isVisible|_path|hide|theme_custom_resizing|innerHTML|Sans|Comic|mceSetCSSClass|comic|antiqua|FF9900|book|Antiqua|FF0000|Helvetica|replaceChild|gt|cloneNode|666699|808080|createlink|getElementsByAttributeValue|getSelectedHTML|99CC00|Mono|3366FF|andale|getElementByAttributeValue|mono|monospace|iFonts|800080|Andale|WingDings|lang_theme_fontdefault|avant|garde|fontselect|Book|999999|Black|33CCCC|339966|black|chicago|theme_custom_more_colors|Wingdings|333300|dingbats|zapf|void|mceMoreColors|003300|webdings|Webdings|theme_custom_fonts|mceMenuLine|000000|spacer|importThemeLanguagePack|mceResetDesignMode|fontsizeselect|background|mceColors|lang_theme_font_size|993300|lang_more_colors||008000|base_href|convertRelativeToAbsoluteURL|Terminal|createTagHTML|symbol|Symbol|0000FF|008080|mceBeginUndoLevel|terminal|000080|333399|Trebuchet|trebuchet|003366|808000|monaco|FF6600|333333|800000|inserthorizontalrule|lang_theme_hr_desc|lang_theme_removeformat_desc|lang_theme_anchor_desc|lang_theme_charmap_desc|lang_theme_code_desc|FFFFFF|lang_cleanup_desc|mceCleanup|lang_help_desc|CC99FF|flash|emotions|fullpage|iespell|fullscreen|CCFFFF|addButtonMap|99CCFF|addTheme|rtl|advhr|lang_bold_img|InsertOrderedList|lang_copy_desc|lang_numlist_desc|Copy|InsertUnorderedList|Cut|Outdent|lang_outdent_desc|lang_indent_desc|lang_cut_desc|Indent|Redo|lang_redo_desc|lang_unlink_desc|lang_bold_desc|lang_italic_img|Undo|lang_paste_desc|lang_bullist_desc|Paste|lang_undo_desc|lang_italic_desc|lang_theme_h3|lang_theme_h2|lang_theme_h4|lang_theme_h6|lang_theme_h5|lang_theme_h1|lang_theme_address|lang_theme_paragraph|00FF00|FFFF00|lang_theme_pre|samp|lang_theme_dd|lang_theme_samp|lt|lang_theme_block|lang_theme_dt|lang_theme_div|FFCC00|lang_theme_blockquote|FF00FF|lang_theme_code||theme_custom_blockformats|selectall|pasteword|preview|print|FF99CC|pastetext|FFFF99|CCFFCC|insertdate|inserttime|FFCC99|getMenuButtonHTML|00FFFF|Menu|FormatBlock|getButtonHTML|00CCFF|search|save|mceEndUndoLevel|993366|C0C0C0|continue|left|theme_custom_buttons1|24px|36px|fontSize|theme_custom_toolbar_location|right|justify|theme_custom_statusbar_location|theme_custom_path_location|theme_custom_toolbar_align|lang_toolbar_focus|theme_custom_buttons3|fontFamily|_add|li|accessibility_focus|12px|14px|18px|8px|10px|theme_custom_buttons2|mceNewDocument|superscript|lang_theme_custom_anchor_delta_height|lang_newdocument|entityDecode|confirm|subscript|lang_theme_custom_charmap_delta_height||lang_theme_custom_charmap_delta_width|lang_theme_custom_anchor_delta_width|isNS7|320|both||clear|mceStatusbarResize|textAlign|lang_theme_style_select|theme_custom_layout_manager|Strikethrough|getEditorTemplate|mceSetContent|_resize|mceStatusbarPathText|theme_custom_path|BODY|nodeType|_align|handleNodeChange|_class|toUpperCase|mceEditor_border|em|theme_custom_containers_default_align|mceItemHidden|strong|mceElementpath|removeInstance|mceResizeBox|hideInstance|initInstance|addShortcut|ctrl|_menuButtonEvent|over|out|theme_custom_custom_layout|CustomLayout|srcElement|mceToolbarBottom|mceStatusbarTop|lang_theme_path|_self|mcePathItem|raquo|mceItemAnchor|_add_before|_visualaid|mceToolbarTop|height_style|width_style|serializeStyle|RowLayout|parseStyle|container|theme_custom_containers_default_class|theme_custom_containers|mceToolbarExternal|applyTemplate||||external|convert_fonts_to_spans|gi|mceSelectNodeDepth|_fcPreview|lang_insert_image_delta_height|forecolorpicker|3600000|lang_insert_image_delta_width|image|about|265|355|useCSS|Date|HiliteColorMenu|scrollWidth|setTime|theme_custom_text_colors|forecolorMenu|getTime|_bcPreview|getSel|text|cleanupEventStr|toString|createRange|majorVersion|minorVersion|releaseDate|tinymce_releasedate|iframeHeight|mceImage|480|iframeWidth|lang_insert_link_delta_height|200|310|tinymce_version|lang_insert_link_delta_width|input_color|OL|UL|HR|rowseparator|Underline|mce_store_selection|scrollbars|580|720|||theme_custom_source_editor_height|resizable|source_editor|element|theme_custom_source_editor_width|lang_theme_custom_colorpicker_delta_height|toGMTString|Option|backcolorpicker|unescape||theme_custom_background_colors|vertical|getCSSClasses|550||lang_theme_custom_colorpicker_delta_width|close_previous|color_picker|'.split('|'),0,{})) |
|---|