function init_tinymce()
{
	tinyMCE_GZ.init({
		plugins : 'safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,spellchecker,tinybrowser',
		themes : 'advanced',
		languages : 'en',
		disk_cache : true,
		debug : false
	});

	$('textarea.tinymce').tinymce({
		// Location of TinyMCE script
		script_url : '/js/tinymce/tiny_mce.js',

		// General options
		theme : "advanced",
		plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,inlinepopups,preview,media,contextmenu,paste,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,spellchecker",
		skin : "o2k7",
		// Theme options
		theme_advanced_buttons1 : "formatselect,|,justifyleft,justifycenter,justifyright,justifyfull,|,bold,italic,underline,|,bullist,numlist,|,image,media,|,charmap,|,spellchecker,|,preview,fullscreen",
		theme_advanced_buttons2 : "undo,redo,|,cut,copy,paste,pastetext,pasteword",
		theme_advanced_buttons3 : "",
		//theme_advanced_buttons3 : "tablecontrols,|,insertlayer,moveforward,movebackward,absolute,|,hr,removeformat,visualaid,advhr,nonbreaking",
//		theme_advanced_buttons1 : "formatselect,|,justifyleft,justifycenter,justifyright,justifyfull,|,bold,italic,underline,strikethrough,sub,sup,|,forecolor,backcolor,|,spellchecker,visualchars,cleanup,preview,code,fullscreen",
//		theme_advanced_buttons2 : "undo,redo,|,cut,copy,paste,pastetext,pasteword,|,bullist,numlist,|,image,media,charmap,emotions,|,blockquote,cite,abbr,acronym,del,ins",
//		theme_advanced_buttons3 : "tablecontrols,|,insertlayer,moveforward,movebackward,absolute,|,hr,removeformat,visualaid,advhr,nonbreaking",
		//theme_advanced_buttons4 : "",
		invalid_elements: "a,script",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true,
		file_browser_callback : "tinyBrowser",
		document_base_url : "/",
		relative_urls : false,

		// Example content CSS (should be your site CSS)
		content_css : "/css/tinymce.css",

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

		// Replace values for the template plugin
		template_replace_values : {
			username : "Some User",
			staffid : "991234"
		}
	});
}
