//theme_advanced_disable :"underline,justifyleft,justifycenter,justifyright,justifyfull,formatselect,link,unlink,anchor,image,help,styleselect,strikethrough,bullist,numlist,outdent,indent,blockquote,tablecontrols,hr,visualaid,sub,sup,charmap,",
//	valid_elements : "p,strong/b,em",
// JavaScript Document

// JavaScript Document

tinyMCE.init({
	// Restrict editor by applying a named class of 'mceEditor' NOT a named id
	editor_selector : "mceEditor",
	mode : "textareas",
	theme : "advanced",
	skin : "o2k7",
    relative_urls : true,
	content_css : "/admin/pages/custom.css", //changetolive
	plugins : "contextmenu,paste",
	//theme_advanced_buttons1 : "bold,italic,pasteword,|,code",
	theme_advanced_buttons1 : "bold,italic,pasteword",
	theme_advanced_buttons2 : "",
	theme_advanced_buttons3 : "",
	theme_advanced_buttons4 :"",
	paste_create_paragraphs : false,
	paste_create_linebreaks : false,
	paste_use_dialog : true,
	paste_auto_cleanup_on_paste : true,
        paste_preprocess : function(pl, o) {
            // Content string containing the HTML from the clipboard
            alert(o.content);
        },
        paste_postprocess : function(pl, o) {
            // Content DOM node containing the DOM structure of the clipboard
            alert(o.node.innerHTML);
        },
	paste_convert_middot_lists : false,
	paste_unindented_list_class : "unindentedList",
	paste_convert_headers_to_strong : true,
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_statusbar_location : "bottom",
	theme_advanced_resizing : true,
	valid_elements : "p,strong/b,em"
}); // END tinyMCE.init
