/********************************************************************
 * 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 $
 ********************************************************************/

wwpath = "../../common/js/openwysiwyg/";
 
/*
 * Full featured setup used the openImageLibrary addon
 */
var full = new WYSIWYG.Settings();
full.ImagesDir = wwpath + "images/";
full.PopupsDir = wwpath + "popups/";
full.CSSFile = wwpath + "styles/wysiwyg.css";
full.Width = "100%"; 
full.Height = "250px";
// customize toolbar buttons
full.Toolbar[0] = new Array(
"font",
"fontsize",
"headings",
"separator",
"bold",
"italic",
"underline",
"separator",
"forecolor",
"backcolor",
"separator",
"justifyleft",
"justifycenter",
"justifyright",
"separator",
"createlink",
"inserttable",
"insertimage"
);
full.Toolbar[1] = "";
full.Toolbar[2] = "";
full.StatusBarEnabled = false;
// openImageLibrary addon implementation
full.ImagePopupFile = wwpath + "addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 245;

/*
 * 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;
