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

// Example 1: Default setup (only changing the path vars)
var opendefault = new WYSIWYG.Settings();
opendefault.ImageDir = "http://www.ad-titude.com/scripts/editor/images/";
opendefault.PopupsDir = "http://www.ad-titude.com/scripts/editor/popups/";
opendefault.CSSFile = "http://www.ad-titude.com/scripts/editor/styles/wysiwyg.css";

var rene = new WYSIWYG.Settings();
rene.removeToolbarElement("font");
rene.removeToolbarElement("fontsize");

var comments = new WYSIWYG.Settings();
comments.removeToolbarElement("font");
comments.removeToolbarElement("fontsize");
comments.removeToolbarElement("viewSource");

// Example 2: Small setup
var small = new WYSIWYG.Settings();
small.Width = "350px";
small.Height = "50px";
small.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #AA99AA";
small.Toolbar[0] = new Array("font", "fontsize", "bold", "italic", "underline"); // small setup for toolbar 1
small.Toolbar[1] = ""; // disable toolbar 2
small.StatusBarEnabled = false;

// Example 3: Dynamic Setup
var dynamic = new WYSIWYG.Settings();
dynamic.Width = "85%"; // dynamic editor width
dynamic.Height = "250px";
// customize toolbar buttons
dynamic.addToolbarElement("font", 3, 1);
dynamic.addToolbarElement("fontsize", 3, 2);
