/********************************************************************
 * 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
 * calling from subfolder from root
 */
var fullrootsub = new WYSIWYG.Settings();
fullrootsub.ImagesDir = "../ipeditor/images/";
fullrootsub.PopupsDir = "../ipeditor/popups/";
fullrootsub.CSSFile = "../ipeditor/styles/wysiwyg.css";
fullrootsub.Width = "85%"; 
fullrootsub.Height = "250px";
// customize toolbar buttons
fullrootsub.addToolbarElement("font", 3, 1); 
fullrootsub.addToolbarElement("fontsize", 3, 2);
fullrootsub.addToolbarElement("headings", 3, 3);
// openImageLibrary addon implementation
fullrootsub.ImagePopupFile = "../contents/addons/imagelibrary/insert_image.php";
fullrootsub.ImagePopupWidth = 600;
fullrootsub.ImagePopupHeight = 245;

/*
 * Full featured setup used the openImageLibrary addon
 * calling from ROOT
 */
var fullroot = new WYSIWYG.Settings();
fullroot.ImagesDir = "ipeditor/images/";
fullroot.PopupsDir = "ipeditor/popups/";
fullroot.CSSFile = "ipeditor/styles/wysiwyg.css";
fullroot.Width = "85%"; 
fullroot.Height = "250px";
// customize toolbar buttons
fullroot.addToolbarElement("font", 3, 1); 
fullroot.addToolbarElement("fontsize", 3, 2);
fullroot.addToolbarElement("headings", 3, 3);
// openImageLibrary addon implementation
fullroot.ImagePopupFile = "contents/addons/imagelibrary/insert_image.php";
fullroot.ImagePopupWidth = 600;
fullroot.ImagePopupHeight = 245;

 /*
 * Full featured setup used the openImageLibrary addon
 * calling from same folder
 */
var full = new WYSIWYG.Settings();
full.ImagesDir = "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
 * calling from root sub folder
 */
var smallrootsub = new WYSIWYG.Settings();
smallrootsub.ImagesDir = "../ipeditor/images/";
smallrootsub.PopupsDir = "../ipeditor/popups/";
smallrootsub.CSSFile = "../ipeditor/styles/wysiwyg.css";
smallrootsub.Width = "350px";
smallrootsub.Height = "300px";
smallrootsub.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #EFFFFE";
smallrootsub.Toolbar[0] = new Array("font", "fontsize", "bold", "italic", "underline", "strikethrough", "forecolor", "justifyleft", "justifycenter", "justifyright", "justifyfull"); // small setup for toolbar 1
smallrootsub.Toolbar[1] = ""; // disable toolbar 2
smallrootsub.Toolbar[2] = ""; // disable toolbar 3
smallrootsub.StatusBarEnabled = false;

/*
 * Small Setup Example
 * calling from root
 */
var smallroot = new WYSIWYG.Settings();
smallroot.ImagesDir = "ipeditor/images/";
smallroot.PopupsDir = "ipeditor/popups/";
smallroot.CSSFile = "ipeditor/styles/wysiwyg.css";
smallroot.Width = "350px";
smallroot.Height = "100px";
smallroot.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #AA99AA";
// smallroot.Toolbar[0] = new Array("font", "fontsize", "bold", "italic", "underline"); // small setup for toolbar 1
smallroot.Toolbar[1] = ""; // disable toolbar 2
smallroot.StatusBarEnabled = false;

/*
 * Small Setup Example
 */
var small = new WYSIWYG.Settings();
small.ImagesDir = "images/";
small.PopupsDir = "popups/";
small.CSSFile = "styles/wysiwyg.css";
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.Toolbar[2] = ""; // disable toolbar 3
small.StatusBarEnabled = false;

