function fn_init_wysiwyg()
{
	var support_langs = ['ar', 'be', 'bn', 'bs', 'ch', 'cy', 'de', 'el', 'es', 'fa', 'fr', 'gu', 'hi', 'hu', 'id', 'is', 'ja', 'lt', 'mk', 'mn', 'nb', 'nn', 'pl', 'ro', 'sc', 'si', 'sl', 'sr', 'ta', 'th', 'tt', 'uk', 'zh', 'az', 'bg', 'br', 'ca', 'cs', 'da', 'dv', 'en', 'et', 'fi', 'gl', 'he', 'hr', 'ia', 'ii', 'it', 'ko', 'lv', 'ml', 'ms', 'nl', 'no', 'pt', 'ru', 'se', 'sk', 'sq', 'sv', 'te', 'tr', 'tw', 'vi'];
	tinyMCE.init({
		mode : 'none',
		plugins : 'safari,pagebreak,style,table,advhr,advimage,advlink,preview,media,paste,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,inlinepopups',
		theme_advanced_buttons1 : 'newdocument,|,cut,copy,paste,|,undo,redo,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull',
		theme_advanced_buttons2: 'bullist,numlist,|,outdent,indent,blockquote,|,forecolor,backcolor,styleprops',
		theme_advanced_buttons3 : 'formatselect,fontselect,fontsizeselect,|,link,unlink,anchor,cleanup,|,sub,sup,charmap',
		theme_advanced_buttons4 : 'tablecontrols,|,removeformat,visualaid,|,advhr,visualchars,nonbreaking,|,preview,fullscreen',
		theme_advanced_toolbar_location : 'top',
		theme_advanced_toolbar_align : 'left',
		theme_advanced_statusbar_location : 'bottom',
		theme_advanced_resizing : true,
		theme_advanced_resize_horizontal : false,
		valid_elements: '@[id|class|style|title|dir<ltr?rtl|lang|xml::lang|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],a[rel|rev|charset|hreflang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur],strong/b,em/i,strike,u,#p,-ol[type|compact],-ul[type|compact],-li,br,img[longdesc|usemap|src|border|alt=|title|hspace|vspace|width|height|align],-sub,-sup,-blockquote[cite],-table[border|cellspacing|cellpadding|width|frame|rules|height|align|summary|bgcolor|background|bordercolor],-tr[rowspan|width|height|align|valign|bgcolor|background|bordercolor],tbody,thead,tfoot,#td[colspan|rowspan|width|height|align|valign|bgcolor|background|bordercolor|scope],#th[colspan|rowspan|width|height|align|valign|scope],caption,-div,-span,-code,-pre,address,-h1,-h2,-h3,-h4,-h5,-h6,hr[size|noshade],-font[face|size|color],dd,dl,dt,cite,abbr,acronym,del[datetime|cite],ins[datetime|cite],object[classid|width|height|codebase|*],param[name|value],embed[type|width|height|src|*],map[name],area[shape|coords|href|alt|target],bdo,button,col[align|char|charoff|span|valign|width],colgroup[align|char|charoff|span|valign|width],dfn,fieldset,form[action|accept|accept-charset|enctype|method],input[accept|alt|checked|disabled|maxlength|name|readonly|size|src|type|value|tabindex|accesskey],kbd,label[for],legend,noscript,optgroup[label|disabled],option[disabled|label|selected|value],q[cite],samp,select[disabled|multiple|name|size],small,textarea[cols|rows|disabled|name|readonly],tt,var,big',
		language: (jQuery.inArray(tiny_lang, support_langs) == -1 ? 'en' : tiny_lang),
		theme : 'advanced',
		skin: 'cart',
		inlinepopups_skin: 'cart',
		strict_loading_mode: true,
		convert_urls: false,
		remove_script_host: false,
		index_script: index_script
	});
}
