/********************************************************************
 * 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.2 2006/12/23 18:18:27 xhaggi Exp $
 ********************************************************************/

/*
 * Full featured setup used the openImageLibrary addon
 */
var full = new WYSIWYG.Settings();
full.ImagesDir = "wysiwyg/images/";
full.PopupsDir = "wysiwyg/popups/";
full.CSSFile = "wysiwyg/styles/wysiwyg.css";
full.Width = "100%"; 
full.Height = "450";
// customize toolbar buttons
full.addToolbarElement("font", 3, 1); 
full.addToolbarElement("fontsize", 3, 2);
// openImageLibrary addon implementation
full.ImagePopupFile = "wysiwyg/addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 245;
//attempt at file upload
full.FilePopupFile = "wysiwyg/addons/docs/insert_file.php";
full.FilePopupWidth = 600;
full.FilePopupHeight = 245;
full.addToolbarElement("insertfile", 3, 3); 

/*
 * Small Setup Example
 */
var small = new WYSIWYG.Settings();
small.Width = "350px";
small.Height = "100px";
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;
