var tinyMCEmode = false;
tinyMCE.init({
mode : "specific_textareas",
editor_deselector : "no-mce",
editor_selector : "mce",
theme : "advanced",
visual : false,
plugins : "imagemanager,filemanager,spellchecker,table,save,advhr,advimage,advlink,emotions,insertdatetime,preview,media,searchreplace,print,contextmenu,inlinepopups,fullscreen",
theme_advanced_buttons1 : "save,fullscreen,fullpage,separator,bold,italic,underline,strikethrough,sup,sub,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,outdent,indent",
theme_advanced_buttons2 : "code,cleanup,removeformat,separator,cut,copy,paste,separator,search,replace,undo,redo,separator,link,unlink,anchor,separator,image,media,emotions,charmap,advhr,hr,separator,forecolor,backcolor",
theme_advanced_buttons3 : "table,tablecontrol,rop_props,cell_props,delete_col,delete_row,col_after,col_before,row_after,row_before,split_cells,merge_cells,separator,fontselect,fontsizeselect",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : false,
plugin_insertdate_dateFormat : "%d-%m-%Y",
plugin_insertdate_timeFormat : "%H:%M:%S",
remove_script_host : true,
relative_urls : false,
convert_urls : true,
cleanup : true,
cleanup_on_startup : true,
document_base_url : "content/admin/javascript/tiny_mce_common.ph",
file_browser_callback : "mcFileManager.filebrowserCallBack",
valid_elements : "@[id|class|style|title|dir