////////////////////////////////////////////////////////////////////////////
// openWYSIWYG Modification Settings
////////////////////////////////////////////////////////////////////////////

// Example 1: Default setup (only changing the path vars)
var opendefault = new WYSIWYG.Settings();
opendefault.ImagesDir = "datedit/images/";
opendefault.PopupsDir = "datedit/popups/";

// Small setup
var xs = new WYSIWYG.Settings();
xs.ImagesDir = "include/images/";
xs.Width = "375px";
xs.Height = "200px";
xs.DefaultStyle = "font-family: Verdana; font-size: 11px; background-color: #FFFFFF;";
xs.Toolbar[0] = "";
xs.Toolbar[1] = "";
xs.StatusBarEnabled = false;

// Example 2: Small setup
var small = new WYSIWYG.Settings();
small.ImagePopupFile = "../php/insert_image.php";
small.ImagePopupWidth = 600;
small.ImagePopupHeight = 245;
small.ImagesDir = "../images/";
small.PopupsDir = "../popups/";
small.Width = "680px";
small.Height = "400px";
small.DefaultStyle = "font-family: Verdana; font-size: 11px; background-color: #FFFFFF;";
small.Toolbar[0] = new Array("bold", "italic", "underline","strikethrough","seperator","subscript","superscript","seperator","justifyleft","justifycenter","justifyright","unorderedlist","orderedlist","outdent","indent","forecolor","seperator","undo","redo","seperator","insertimage","seperator","createlink","seperator","viewSource","seperator","help"); // small setup for toolbar 1
small.Toolbar[1] = "";
small.StatusBarEnabled = true;

// Example 2: Small setup
var small2 = new WYSIWYG.Settings();
small2.ImagePopupFile = "../php/insert_image.php";
small2.ImagePopupWidth = 600;
small2.ImagePopupHeight = 245;
small2.ImagesDir = "include/images/";
small2.PopupsDir = "../popups/";
small2.Width = "540px";
small2.Height = "300px";
small2.DefaultStyle = "font-family: Verdana; font-size: 11px; background-color: #FFFFFF;";
small2.Toolbar[0] = "";
small2.Toolbar[1] = "";
small2.StatusBarEnabled = true;

// Normal setup
var normal = new WYSIWYG.Settings();
normal.ImagePopupFile = "include/insert_image.php";
normal.ImagePopupWidth = 600;
normal.ImagePopupHeight = 245;
normal.ImagesDir = "include/images/";
normal.PopupsDir = "include/";
normal.Width = "430px";
normal.Height = "300px";
normal.DefaultStyle = "font-family: Verdana; font-size: 11px; background-color: #FFFFFF;";
normal.Toolbar[0] = new Array("bold", "italic", "underline","strikethrough","seperator","justifyleft","justifycenter","justifyright","unorderedlist","orderedlist","outdent","indent","forecolor","seperator","undo","redo","seperator","insertimage","createlink","viewSource"); // small setup for toolbar 1
normal.Toolbar[1] = "";
normal.StatusBarEnabled = true;


// Example 3: Dynamic Setup
var dynamic = new WYSIWYG.Settings();
dynamic.Width = "85%"; // dynamic editor width
dynamic.Height = "250px";

// change the image popup implementation
dynamic.ImagePopupFile = "datedit/addons/imagelibrary/insert_image.php";
dynamic.ImagePopupWidth = 600;
dynamic.ImagePopupHeight = 245;

// customize toolbar buttons
dynamic.Toolbar[0] = new Array("bold", "italic", "underline","strikethrough","seperator","subscript","superscript","seperator","justifyleft","justifycenter","justifyright","unorderedlist","orderedlist"); // small setup for toolbar 1
dynamic.Toolbar[1] = new Array("outdent","indent","forecolor","seperator","undo","redo","seperator","insertimage","seperator","createlink","seperator","viewSource","seperator","help"); // small setup for toolbar 1

