function profileRTE (elm){
    tinyMCE.init({
        mode: "exact",
        elements: elm,
        plugins: "inlinepopups,safari,table,paste,advlink",
        theme: "advanced",
        theme_advanced_buttons1: "pasteword,bold,italic,underline,link,unlink,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,removeformat,",
		theme_advanced_buttons2: "",
        theme_advanced_buttons3: "",
        dialog_type: "modal",
        inline_styles: false,
        font_size_style_values: "8px,10px,12px,14px,18px,24px,36px",
        valid_elements: "span[mcs_style|style|align],p[align],br,a[href|target|title|name],strong/b,li,ul,ol,em/i,u,hr,sup,sub," +
        "table[align<center?left?right|bgcolor|border|cellpadding|cellspacing|dir<ltr?rtl|height|lang|rules|summary|title|width]," +
        "tbody[align<center?char?justify?left?right|char|class|charoff|dir<ltr?rt|lang|title|valign<baseline?bottom?middle?top]," +
        "td[abbr|align<center?char?justify?left?right|axis|bgcolor|char|charoff" +
        "|colspan|dir<ltr?rtl|headers|height|lang|nowrap<nowrap|rowspan|scope<col?colgroup?row?rowgroup" +
        "|title|valign<baseline?bottom?middle?top|width]," +
        "tfoot[align<center?char?justify?left?right|char|charoff|dir<ltr?rtl" +
        "|lang|title|valign<baseline?bottom?middle?top]," +
        "th[abbr|align<center?char?justify?left?right|axis|bgcolor|char|charoff" +
        "|colspan|dir<ltr?rtl|headers|height|lang|nowrap<nowrap|rowspan" +
        "|scope<col?colgroup?row?rowgroup|title|valign<baseline?bottom?middle?top|width]," +
        "thead[align<center?char?justify?left?right|char|charoff|dir<ltr?rtl|lang|title" +
        "|valign<baseline?bottom?middle?top]," +
        "tr[abbr|align<center?char?justify?left?right|bgcolor|char|charoff|class" +
        "|rowspan|dir<ltr?rtl|lang|title|valign<baseline?bottom?middle?top]",
        invalid_elements: "font,script,div,big,small,h1,h2,h3,h4,h5,h6,object,embed,img",
        relative_urls: false,
        convert_urls: false
    });
}
