/**
 * @author: Miroslav Kvasnica - niwi - miradrda@volny.cz, niwiweb.wz.cz
 * @date: 3.4.2009
 */
tinyMCE.init({
// General options
mode : "specific_textareas",
editor_selector : "html",
theme : "advanced",
skin : "cirkuit",
entity_encoding : "raw",
language : "cs",
relative_urls : false,
document_base_url: ROOT_URL + '/',
plugins : "safari,spellchecker,pagebreak,style,layer,table,advhr,advimage,advlink,emotions,iespell,inlinepopups,preview,media,searchreplace,print,contextmenu,paste,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
// Theme options
theme_advanced_buttons1 : "formatselect,|,fontsizeselect,bold,italic,underline,strikethrough,|,forecolor,backcolor,|,fontselect",
theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleprops,styleselect,|,link,unlink,anchor,image",
theme_advanced_buttons3 : "tablecontrols,|,hr,advhr,|,charmap,emotions,iespell,media",
theme_advanced_buttons4 : "blockquote,cite,abbr,acronym,sub,sup,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,removeformat,visualaid,cleanup,code",
theme_advanced_buttons5 : "newdocument,|,cut,copy,paste,pastetext,pasteword,|,undo,redo,|,search,replace,|,insertlayer,moveforward,movebackward,absolute,|,print,preview,|,fullscreen",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,

// Drop lists for link/image/media/template dialogs
template_external_list_url : "js/template_list.js",
external_link_list_url : "js/link_list.js",
external_image_list_url : "js/image_list.js",
media_external_list_url : "js/media_list.js",

content_css : TINY_MCE_CSS
});

tinyMCE.init({
// General options
mode : "specific_textareas",
editor_selector : "html-simple",
theme : "advanced",
skin : "cirkuit",
entity_encoding : "raw",
forced_root_block : "",
force_br_newlines : true,
force_p_newlines : false,
language : "cs",
relative_urls : false,
document_base_url: ROOT_URL + '/',
valid_elements : "@[id|class|style|title|dir<ltr?rtl|lang|xml::lang|onclick|ondblclick|"
+ "onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|"
+ "onkeydown|onkeyup],a[rel|rev|charset|hreflang|tabindex|accesskey|type|"
+ "name|href|target|title|class|onfocus|onblur],strong/b,em/i,strike,u,"
+ "img[src|alt|width|height]," // pridano
+ "br,-sub,-sup," // odmazano #p
+ "-blockquote,caption," // odmazano -div
+ "-span,-code,-pre,address,-font[face"
+ "|size|color],dd,dl,dt,cite,abbr,acronym,del[datetime|cite],ins[datetime|cite],"
+ "bdo,tt,var,big",
plugins : "safari,spellchecker,pagebreak,style,layer,table,advhr,advimage,advlink,emotions,iespell,inlinepopups,preview,media,searchreplace,print,contextmenu,paste,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
// Theme options
theme_advanced_buttons1 : "fontsizeselect,|,bold,italic,underline,|,forecolor,backcolor,|,fontselect,styleprops,|,link,unlink,image,|,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_buttons4 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,

// Drop lists for link/image/media/template dialogs
template_external_list_url : "js/template_list.js",
external_link_list_url : "js/link_list.js",
external_image_list_url : "js/image_list.js",
media_external_list_url : "js/media_list.js",

content_css : TINY_MCE_CSS
});
