/********************************************************************
 * openWYSIWYG settings file Copyright (c) 2006 openWebWare.com
 * Contact us at devs@openwebware.com
 * This copyright notice MUST stay intact for use.
 *
 * $Id: wysiwyg-settings.js,v 1.4 2007/01/22 23:05:57 xhaggi Exp $
 ********************************************************************/



/*
 * Full featured setup used the openImageLibrary addon
 */
var full = new WYSIWYG.Settings();
full.ImagesDir = "/cstl/scripts/openwysiwyg/images/";
//full.PopupsDir = "popups/";
//full.CSSFile = "styles/wysiwyg.css";
full.Width = "85%"; 
full.Height = "250px";
// customize toolbar buttons
full.addToolbarElement("font", 3, 1); 
full.addToolbarElement("fontsize", 3, 2);
full.addToolbarElement("headings", 3, 3);
// openImageLibrary addon implementation
full.ImagePopupFile = "addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 245;



/*
 * Small Setup Example
 */
var small = new WYSIWYG.Settings();
small.ImagesDir = "/cstl/scripts/openwysiwyg/images/";
small.Width = "350px";
small.Height = "100px";
small.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #ffffff";
small.Toolbar[0] = new Array("font", "fontsize", "bold", "italic", "underline"); // small setup for toolbar 1
small.Toolbar[1] = ""; // disable toolbar 2
small.StatusBarEnabled = false;



/*
 * Customized CSTL Settings
 */
var cstl = new WYSIWYG.Settings();
cstl.ImagesDir = "/cstl/scripts/openwysiwyg/images/"; 
cstl.PopupsDir = "/cstl/scripts/openwysiwyg/popups/";  
cstl.CSSFile = "/cstl/scripts/openwysiwyg/styles/wysiwyg.css";
cstl.Width = "100px"; 
cstl.Height = "200px";
cstl.DefaultStyle = "font-family:arial; font-size:12px; background-color:#FFFFFF; margin:5px"
cstl.DisabledStyle = "font-family:arial; font-size:12px; background-color:#EEEEEE; margin:5px";
cstl.ReplaceLineBreaks = true;
cstl.PreviewWidth = 500;
cstl.PreviewHeight = 400;
cstl.RemoveFormatConfMessage = "Clean MS Word HTML";
cstl.NoValidBrowserMessage = "Browser not supported.";
cstl.ContextMenu = true; 
cstl.StatusBarEnabled = false;
cstl.InvertIELineBreaks = true;
cstl.InsertImageWith = 400; 
cstl.InsertImageWith = 210; 
cstl.Toolbar[0] = new Array("font", "fontsize", "forecolor", "seperator", "bold", "italic", "underline", "seperator", "justifyleft", "justifycenter", "justifyright", "seperator", "cut", "copy", "paste", "seperator", "unorderedlist", "orderedlist", "seperator", "outdent", "indent", "seperator", "undo", "redo" );
cstl.Toolbar[1] = ""; // disable toolbar 2

