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		
		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,
		convert_urls : false,
		file_browser_callback : "ajaxfilemanager",							
		extended_valid_elements : "iframe[src|width|frameborder|scrolling|marginheight|marginheight|height|name|align|style],hr[class|width|size|noshade]",
		content_css : "css/libs.css,css/style.css,css/editor.css",
		external_link_list_url : "index.php?page=content.js" //IE7
	});	
}


function tinyMCE_settings_small(){
	tinyMCE.init({
		// General options
		language : "hu",
		mode : "exact",
		elements : "content",
		theme : "advanced",
		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
		theme_advanced_buttons1 : "undo,redo,|,link,unlink,image,media,styleprops,attribs,code",
		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,
		theme_advanced_resize_horizontal : false, //mod
		theme_advanced_path : false, //mod					
		
		entities : "160,nbsp,38,amp,34,quot,162,cent,8364,euro,163,pound,165,yen,169,copy,174,reg,8482,trade,8240,permil,60,lt,62,gt,8804,le,8805,ge,176,deg,8722,minus",
		entity_encoding : "named",
		
		add_unload_trigger : false,					
		add_form_submit_trigger : false,										
		apply_source_formatting : true,
		force_br_newlines : true,
		force_p_newlines : false,	
		
		convert_urls : false,
		relative_urls : false,					
		
		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]",
		forced_root_block : '',
		content_css : "css/libs.css,css/style.css,css/editor.css",
		external_link_list_url : "index.php?page=content.js" //IE7
		
		
		
	});	
}
