function tinyMCE_settings(){
	tinyMCE.init({
		// General options
		language : "hu",
		mode : "exact",
		elements : "content",
		theme : "advanced",
		//turned off: autosave
		plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,wordcount,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",
		skin : "o2k7",
		skin_variant : "silver",
		
		// Theme options
		// turned_off: save,help,restoredraft,template,cite,abbr,acronym,del,ins,emotions,iespell,
		theme_advanced_buttons1 : "newdocument,print,|,bold,italic,underline,strikethrough,|,forecolor,backcolor,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
		theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,charmap,media,advhr,|,|,insertdate,inserttime,|,cleanup,code,preview,fullscreen",
		theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,ltr,rtl,|,insertlayer,moveforward,movebackward,absolute,|,styleprops,|,attribs,|,visualchars,nonbreaking,pagebreak",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true,
		theme_advanced_resize_horizontal : false, //mod
		theme_advanced_path : false, //mod					
		add_unload_trigger : false,					
		add_form_submit_trigger : false,										
		apply_source_formatting : true,
		force_br_newlines : true,
		force_p_newlines : false,	
		relative_urls : true,					
		paste_use_dialog : false,
		file_browser_callback : "ajaxfilemanager",					
		
		extended_valid_elements : "iframe[src|width|frameborder|scrolling|marginheight|marginheight|height|name|align|style],hr[class|width|size|noshade]",
		

		
		/*
		theme_advanced_buttons1_add_before : 
		theme_advanced_buttons1_add : "fontselect,fontsizeselect",
		theme_advanced_buttons2_add : "separator,forecolor,backcolor,liststyle",
		theme_advanced_buttons2_add_before: "cut,copy,separator,",
		theme_advanced_buttons3_add_before : "",
		theme_advanced_buttons3_add : "media",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		*/
							
		// Example content CSS (should be your site CSS)
		 content_css : "css/libs.css,css/style.css,css/editor.css",
		// Drop lists for link/image/media/template dialogs					
		//template_external_list_url : "lists/template_list.js",
		external_link_list_url : "index.php?page=content.js" //IE7
		//external_image_list_url : "lists/image_list.js",
		//media_external_list_url : "lists/media_list.js",		
		
		// Style formats
		// style_formats : [
			// {title : 'Bold text', inline : 'b'},
			// {title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
			// {title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
			// {title : 'Example 1', inline : 'span', classes : 'example1'},
			// {title : 'Example 2', inline : 'span', classes : 'example2'},
			// {title : 'Table styles'},
			// {title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
		// ],

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