function auto_tiny_mce(div)
{


	div.css("width", "100%");
	div.css("height", "400px");
	div.tinymce({
	// Location of TinyMCE script
	script_url : '/tiny_mce/tiny_mce.js',
	content_css : "",
	// General options
	theme : "advanced",
	skin: "cirkuit",
	plugins : "pagebreak,style,contextmenu,paste,directionality,noneditable,visualchars,nonbreaking,xhtmlxtras",

	// Theme options
	theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,fontsizeselect,|,cut,copy,paste,pastetext,pasteword,|,bullist,numlist,|,outdent,indent,|,forecolor,backcolor,sub,sup,|,charmap,|,removeformat,code",
	theme_advanced_buttons2 : "",
	theme_advanced_buttons3 : "",

	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_statusbar_location : false,
	theme_advanced_resizing : false,
	theme_advanced_text_colors : "#D2232A,#40AF49,#00ADEF",
	theme_advanced_background_colors : "#D2232A,#40AF49,#00ADEF",
	
	//theme_advanced_toolbar_location : "external",



	});

}