﻿function doMouseOver(e) { e.style.cursor = 'pointer'; }
function doMouseOut(e) { e.style.cursor = 'default'; }

tinyMCE.init({
    mode: 'textareas',
    theme: 'advanced',
    editor_selector: 'wmrEditor_advanced',
    plugins : 'safari,spellchecker,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',
    skin_variant: 'silver',
    theme_advanced_buttons1: 'fullscreen,print,|,undo,redo,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,|,bullist,numlist,|,outdent,indent', 
    theme_advanced_buttons2: 'formatselect,fontsizeselect,|,blockquote,cite,abbr,acronym,del,ins,attribs,|,forecolor,backcolor', 
    theme_advanced_buttons3: 'tablecontrols,|,hr,removeformat,visualaid,|,sub,sup',
    theme_advanced_buttons4: 'styleprops,|,link,unlink,anchor,image,cleanup,code,|,cut,copy,paste,pastetext,pasteword,|,charmap,media,advhr', 
    theme_advanced_toolbar_location: 'top', 
    theme_advanced_toolbar_align : 'left', 
    theme_advanced_statusbar_location : 'bottom', 
    theme_advanced_resizing : true
});

tinyMCE.init({
    mode: 'textareas',
    theme: 'advanced',
    editor_selector: 'wmrEditor_format',
    plugins: 'safari,pagebreak,style,layer,table,fullscreen,inlinepopups,contextmenu',
    skin_variant: 'silver',
    theme_advanced_buttons1: 'fullscreen,|,formatselect,|,bold,italic,underline,|,justifyleft,justifycenter,justifyright,bullist,numlist,|,forecolor,backcolor,|,link,unlink,image,|,code',
    theme_advanced_buttons2: '',
    theme_advanced_buttons3: '',
    theme_advanced_buttons4: '',
    theme_advanced_toolbar_location: 'top',
    theme_advanced_toolbar_align: 'left',
    theme_advanced_statusbar_location: 'bottom',
    theme_advanced_resizing: true
});

tinyMCE.init({
    mode: 'textareas',
    theme: 'advanced',
    editor_selector: 'wmrEditor_simple',
    plugins: 'safari,pagebreak,style,layer,table,fullscreen,inlinepopups,contextmenu',
    skin_variant: 'silver',
    theme_advanced_buttons1: 'bold,italic,underline,|,justifyleft,justifycenter,justifyright,bullist,numlist',
    theme_advanced_buttons2: '',
    theme_advanced_buttons3: '',
    theme_advanced_buttons4: '',
    theme_advanced_toolbar_location: 'top',
    theme_advanced_toolbar_align: 'center',
    theme_advanced_statusbar_location: 'bottom',
    theme_advanced_resizing: true
});

tinyMCE.init({
    mode: 'textareas',
    theme: 'advanced',
    editor_selector: 'wmrEditor_response',
    plugins: 'safari,pagebreak,style,layer,table,fullscreen,inlinepopups,contextmenu',
    skin_variant: 'silver',
    theme_advanced_buttons1: 'fullscreen,|,bold,italic,underline,|,justifyleft,justifycenter,justifyright,|,bullist,numlist,|,forecolor,backcolor,|,code',
    theme_advanced_buttons2: '',
    theme_advanced_buttons3: '',
    theme_advanced_buttons4: '',
    theme_advanced_toolbar_location: 'top',
    theme_advanced_toolbar_align: 'left',
    theme_advanced_resizing: false
});

$(document).ready(function () {
    $(".responsedatepicker").datepicker({ showWeek: true, changeMonth: true, changeYear: true, showButtonPanel: true });
});
