var tinyPlugins = {
	'basic':	['inlinepopups', 'emotions', 'contextmenu', 'xhtmlxtras', 'template', 'safari', 'searchreplace', 'style']
};
tinyPlugins.advanced	= jQuery.merge(['fullscreen'], tinyPlugins.basic).join(',');
tinyPlugins.full		= jQuery.merge([], tinyPlugins.basic).join(',');
tinyPlugins.basic		= tinyPlugins.basic.join(',');

var tinySettings = {
	'main': {
		script_url: '/js/lib/tiny_mce/tiny_mce.js',
		// General options
		theme : "advanced",
		plugins : "safari,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",

		// Theme options
		theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,|,hr,removeformat,visualaid",
		theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",
		theme_advanced_buttons3 : "tablecontrols,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
		theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true,
		theme_advanced_resizing_use_cookie : false,
		theme_advanced_resize_horizontal : false,

		// Example content CSS (should be your site CSS)
		content_css : "/css/content.css",
		relative_urls : false,
		remove_script_host : false,
		document_base_url: 'http://www.ilikealot.com/'
	},
	clear: {
		theme_advanced_buttons1: '',
		theme_advanced_buttons2: '',
		theme_advanced_buttons3: '',
		theme_advanced_buttons4: ''
	}
};

tinySettings.basic = jQuery.extend({}, tinySettings.main, tinySettings.clear, { 
	theme_advanced_buttons1: 'bold,italic,link,unlink,|,bullist,numlist,|,undo,redo,pastetext,|,image,emotions,|,cleanup,removeformat,|,help',
	plugins: tinyPlugins.basic
});
tinySettings.small = jQuery.extend({}, tinySettings.basic, { 
	theme_advanced_buttons1: 'bold,italic,link,unlink,|,bullist,numlist,formatselect',
	theme_advanced_buttons2: 'undo,redo,pastetext,|,image,emotions,|,cleanup,removeformat,|,help'
});

tinySettings.advanced = jQuery.extend({}, tinySettings.basic, tinySettings.clear, { 
});

tinySettings.full = jQuery.extend({}, tinySettings.main, { 
	theme_advanced_buttons4: ''
});
