
ed1 = new tinyMCE.init({
    // General options
    mode: "textareas",
    width: "100%",
    editor_selector: "texteditor",
    theme: "advanced",
    plugins: "autolink,lists,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,wordcount,advlist,autosave,visualblocks",
    // Theme options
    theme_advanced_buttons1: "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
    theme_advanced_buttons2: "link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor,|,fullscreen,iespell,media,advhr,charmap,emotions",
    theme_advanced_buttons3: "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,print,|,ltr,rtl",
    theme_advanced_buttons4: "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft,visualblocks",
//                theme_advanced_buttons5: "justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
    theme_advanced_buttons6: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo",
    theme_advanced_toolbar_location: "top",
    theme_advanced_toolbar_align: "left",
    theme_advanced_statusbar_location: "bottom",
    theme_advanced_resizing: true,
    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"
    }
});

//ed1 = new tinyMCE.init({
//    // General options
//    mode: "textareas",
//    width: "100%",
//    editor_selector: "transcript",
//    theme: "advanced",
//    plugins: "autolink,lists,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,wordcount,advlist,autosave,visualblocks",
//    // Theme options
//    theme_advanced_buttons1: "newdocument,undo,redo,code",
//    theme_advanced_toolbar_location: "top",
//    theme_advanced_toolbar_align: "left",
//    theme_advanced_statusbar_location: "bottom",
//    theme_advanced_resizing: true,
//    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"
//    }
//});


ed2 = new tinyMCE.init({
    // General options
    mode: "textareas",
    width: "80%",
    editor_selector: "resoulation1280",
    theme: "advanced",
    plugins: "autolink,lists,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,wordcount,advlist,autosave,visualblocks",
    // Theme options
    theme_advanced_buttons1: "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
    theme_advanced_buttons2: "link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor,|,fullscreen,iespell,media,advhr,charmap,emotions",
    theme_advanced_buttons3: "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,print,|,ltr,rtl",
    theme_advanced_buttons4: "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft,visualblocks",
//                theme_advanced_buttons5: "justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
    theme_advanced_buttons6: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo",
    theme_advanced_toolbar_location: "top",
    theme_advanced_toolbar_align: "left",
    theme_advanced_statusbar_location: "bottom",
    theme_advanced_resizing: true,
    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"
    }

});



ed3 = new tinyMCE.init({
    // General options
    mode: "textareas",
    width: "80%",
    editor_selector: "resoulation1024",
    theme: "advanced",
    plugins: "autolink,lists,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,wordcount,advlist,autosave,visualblocks",
    // Theme options
    theme_advanced_buttons1: "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,outdent,indent,blockquote,|,undo,redo",
    theme_advanced_buttons2: "styleselect,formatselect,fontselect,fontsizeselect,charmap,emotions",
    theme_advanced_buttons3: "link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor,|,fullscreen,iespell,media,advhr",
    theme_advanced_buttons6: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,visualchars,nonbreaking,template,pagebreak,restoredraft,visualblocks",
    theme_advanced_buttons4: "tablecontrols,|,hr,removeformat,visualaid",
//                theme_advanced_buttons5: "",
    theme_advanced_buttons5: "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,sub,sup,|,print,|,ltr,rtl",
    theme_advanced_toolbar_location: "top",
    theme_advanced_toolbar_align: "left",
    theme_advanced_statusbar_location: "bottom",
    theme_advanced_resizing: true,
    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"
    }
});



ed4 = new tinyMCE.init({
    // General options
    mode: "textareas",
    width: "80%",
    editor_selector: "resoulationMobile",
    theme: "advanced",
    plugins: "autolink,lists,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,wordcount,advlist,autosave,visualblocks",
    // Theme options
    theme_advanced_buttons1: "newdocument,|,bold,italic,underline,strikethrough,|,undo,redo,styleselect",
    theme_advanced_buttons7: "justifyleft,justifycenter,justifyright,justifyfull,|,outdent,indent,blockquote,,|,forecolor,backcolor",
    theme_advanced_buttons2: "formatselect,fontselect,fontsizeselect",
    theme_advanced_buttons8: "emotions,|,fullscreen,iespell,media,advhr,|,visualchars,nonbreaking,template,pagebreak,restoredraft,visualblocks,charmap",
    theme_advanced_buttons3: "link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview",
    theme_advanced_buttons6: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist",
    theme_advanced_buttons4: "tablecontrols",
    theme_advanced_buttons9: "sub,sup,|,print,|,ltr,rtl,|,hr,removeformat,visualaid",
    theme_advanced_buttons5: "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs",
    theme_advanced_toolbar_location: "top",
    theme_advanced_toolbar_align: "left",
    theme_advanced_statusbar_location: "bottom",
    theme_advanced_resizing: true,
    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"
    }
});


ed5 = new tinyMCE.init({
    // General options
    mode: "textareas",
    width: "80%",
    editor_selector: "resoulationMobile_max499",
    theme: "advanced",
    plugins: "autolink,lists,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,wordcount,advlist,autosave,visualblocks",
    // Theme options
    theme_advanced_buttons1: "newdocument,|,bold,italic,underline,strikethrough,undo,redo",
//                theme_advanced_buttons10: "",
    theme_advanced_buttons6: "justifyleft,justifycenter,justifyright,justifyfull,|,outdent,indent,blockquote",
    theme_advanced_buttons2: "formatselect,fontselect",
    theme_advanced_buttons3: "fontsizeselect,styleselect",
    theme_advanced_buttons7: "emotions,|,fullscreen,iespell,media,advhr,|,visualchars,nonbreaking",
    theme_advanced_buttons9: "link,unlink,anchor,image,cleanup,help,code",
    theme_advanced_buttons5: "cut,copy,paste,pastetext,pasteword,|,search,replace",
//                theme_advanced_buttons4: "tablecontrols",
    theme_advanced_buttons8: "sub,sup,|,print,|,ltr,rtl,|,hr",
    theme_advanced_buttons4: "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,insertdate,inserttime",
    theme_advanced_buttons10: "cite,abbr,acronym,del,ins,attribs,preview",
    theme_advanced_buttons11: "bullist,numlist,|,forecolor,backcolor",
    theme_advanced_buttons12: "template,pagebreak,restoredraft,visualblocks,charmap,removeformat,visualaid",
    theme_advanced_toolbar_location: "top",
    theme_advanced_toolbar_align: "left",
    theme_advanced_statusbar_location: "bottom",
    theme_advanced_resizing: true,
    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"
    }
});
