 tinyMCE.init({
    mode : "specific_textareas",
    elements : 'nourlconvert',
    editor_selector : "mceEditor",
    theme : "advanced",
    plugins : "paste,inlinepopups,preview",
    convert_urls : false,
    theme_advanced_toolbar_location : "bottom",
    theme_advanced_buttons1 : "preview,bold,italic,link,unlink,code,formatselect,pastetext,selectall,styleselect",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",    
    theme_advanced_blockformats : "h5,blockquote", 
    plugin_preview_pageurl: "/js/tiny_mce/plugins/preview/example.html", 
    plugin_preview_width : "500",                          
    plugin_preview_height : "500",
    forced_root_block : 'p',
    content_css : "/css/ptc_access.css",
    cleanup : true,
	paste_create_paragraphs : true,
	paste_create_linebreaks : true,
	paste_use_dialog : false,
	paste_auto_cleanup_on_paste : true,
	paste_convert_middot_lists : false,
	paste_unindented_list_class : "unindentedList",
	paste_convert_headers_to_strong : true
  });

tinyMCE.init({ // same as editor 3 below (can we merge?) used on poets original name
    mode : "specific_textareas",
    elements : 'nourlconvert',
    editor_selector : "mceEditor1", 
    theme : "advanced",
    plugins : "paste",
    convert_urls : false,
    theme_advanced_toolbar_location : "bottom",
    theme_advanced_resizing_min_height : 20,
    theme_advanced_buttons1 : "",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",    
    force_br_newlines : true,
    force_p_newlines : false,
    forced_root_block : '',
    invalid_elements : "div, h1, h2, h3, h4, h5, h6, p, li, ul, ol, span, br, a, font, img, b, i, u",
    cleanup : true,
	paste_create_paragraphs : false,
	paste_create_linebreaks : true,
	paste_use_dialog : false,
	paste_auto_cleanup_on_paste : true,
	paste_convert_middot_lists : false,
	paste_unindented_list_class : "unindentedList",
	paste_convert_headers_to_strong : true
  });
  
  
  tinyMCE.init({ // used on Poem comments
    mode : "specific_textareas",
    elements : 'nourlconvert',
    editor_selector : "mceEditor2",
    theme : "advanced",
    plugins : "paste",
    convert_urls : false,
    theme_advanced_toolbar_location : "bottom",
    theme_advanced_buttons1 : "",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",  
    forced_root_block : 'p',
    cleanup : true,
	paste_create_paragraphs : true,
	paste_create_linebreaks : true,
	paste_use_dialog : false,
	paste_auto_cleanup_on_paste : true,
	paste_convert_middot_lists : false,
	paste_unindented_list_class : "unindentedList",
	paste_convert_headers_to_strong : true
  });

  tinyMCE.init({ // no forced parapraphs and no links buttons - used on poem original title
    mode : "specific_textareas",
    elements : 'nourlconvert',
    editor_selector : "mceEditor3", 
    theme : "advanced",
    plugins : "paste",
    convert_urls : false,
    theme_advanced_toolbar_location : "bottom",
    theme_advanced_resizing_min_height : 20,
    theme_advanced_buttons1 : "",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",    
    force_br_newlines : true,
    force_p_newlines : false,
    forced_root_block : '',
    invalid_elements : "div,h1,h2,h3,h4,h5,h6,p,li,ul,ol,span,br,a,font,img,b,i,u",
    cleanup : true,
	cleanup_on_startup : true,
	paste_create_paragraphs : false,
	paste_create_linebreaks : true,
	paste_use_dialog : false,
	paste_auto_cleanup_on_paste : true,
	paste_convert_middot_lists : false,
	paste_unindented_list_class : "unindentedList",
	paste_convert_headers_to_strong : true
  });
  
tinyMCE.init({ // no forced parapraphs - used on Events other booking details
    mode : "specific_textareas",
    elements : 'nourlconvert',
    editor_selector : "mceEditor4", 
    theme : "advanced",
    plugins : "paste,inlinepopups",
    convert_urls : false,
    theme_advanced_toolbar_location : "bottom",
    theme_advanced_resizing_min_height : 20,
    theme_advanced_buttons1 : "link,unlink,code",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",    
    force_br_newlines : true,
    force_p_newlines : false,
    forced_root_block : '',
    invalid_elements : "div",
    cleanup : true,
	paste_create_paragraphs : false,
	paste_create_linebreaks : true,
	paste_use_dialog : false,
	paste_auto_cleanup_on_paste : true,
	paste_convert_middot_lists : false,
	paste_unindented_list_class : "unindentedList",
	paste_convert_headers_to_strong : true
  });

  
 
