var tinymce_advanced = {
	content_css : "/rugbyheads/scripts/RHeditor_content.css",
	mode : "exact",
	elements: "body",
	theme : "advanced",
	editor_selector : "mceAdvanced",
	skin : "o2k7",
	skin_variant : "black",
	width : "850",
	plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",

		// Theme options
		theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,outdent,indent,blockquote,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",
		//theme_advanced_button1 :  "bold,italic,underline,strikethrough,sub,sup,|,justifyleft,justifycenter,justifyright,justifyfull,|,outdent,indent,blockquote,styleselect,formatselect,fontselect,fontsizeselect,|,forecolor,backcolor",
		
		theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,link,unlink,anchor,|,removeformat,visualaid,cleanup,code,|,undo,redo,preview",
		theme_advanced_buttons3 : "tablecontrols,|,hr,charmap,emotions,iespell,image,media,insertdate,inserttime",
		//theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true
		

		// Example word content CSS (should be your site CSS) this one removes paragraph margins
		//content_css : "css/word.css",

};

var tinymce_minimal = {
	content_css : "/rugbyheads/scripts/RHeditor_content.css",
	mode : "exact",
	elements: "extract,BT_comment",
	theme : "advanced",
	width : "850",
	editor_selector : "mceMinimal",
	skin : "o2k7",	
	skin_variant : "black",

		// Theme options
		theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,undo,redo,preview",
		theme_advanced_buttons2 : "",
		theme_advanced_buttons3 : "",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true
		

		// Example word content CSS (should be your site CSS) this one removes paragraph margins
		//content_css : "css/word.css",

};

tinyMCE.init(tinymce_minimal);
tinyMCE.init(tinymce_advanced);
