/********************************************************************
 * 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 = "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.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;


/*
 * Admin editor
 */
var adminWysiwyg = new WYSIWYG.Settings();
adminWysiwyg.ImagesDir = "/openwysiwyg/images/"; //   	The path where your images are located (default: 'images/')
adminWysiwyg.PopupsDir = "/openwysiwyg/popups/"; //  	The path where your popup htmls are located (default: 'popups/')
adminWysiwyg.CSSFile = "/openwysiwyg/styles/wysiwyg.css"; //  	The path + file where your stylesheet file is located (default: 'styles/wysiwyg.css')
// define the location of the openImageLibrary addon
adminWysiwyg.ImagePopupFile = "/openwysiwyg/addons/imagelibrary/insert_image.php"; // define the width of the insert image popup
adminWysiwyg.ImagePopupWidth = 600;
// define the height of the insert image popup
adminWysiwyg.ImagePopupHeight = 245;
adminWysiwyg.Width = "100%";

/*
 * Blog editor
 */
var blogWysiwyg = new WYSIWYG.Settings();
blogWysiwyg.ImagesDir = "/openwysiwyg/images/"; //   	The path where your images are located (default: 'images/')
blogWysiwyg.PopupsDir = "/openwysiwyg/popups/"; //  	The path where your popup htmls are located (default: 'popups/')
blogWysiwyg.CSSFile = "/openwysiwyg/styles/wysiwyg.css"; //  	The path + file where your stylesheet file is located (default: 'styles/wysiwyg.css')
blogWysiwyg.clearToolbar();
blogWysiwyg.addToolbarElement('seperator',1,1);
blogWysiwyg.addToolbarElement('font',1,2);
blogWysiwyg.addToolbarElement('fontsize',1,3);
blogWysiwyg.addToolbarElement('seperator',1,4);
blogWysiwyg.addToolbarElement('bold',1,5);
blogWysiwyg.addToolbarElement('italic',1,6);
blogWysiwyg.addToolbarElement('underline',1,7);
blogWysiwyg.addToolbarElement('seperator',1,8);
blogWysiwyg.addToolbarElement('forecolor',1,9);
blogWysiwyg.addToolbarElement('seperator',1,10);
blogWysiwyg.addToolbarElement('justifyleft',1,11);
blogWysiwyg.addToolbarElement('justifycenter',1,12);
blogWysiwyg.addToolbarElement('justifyright',1,13);
blogWysiwyg.Width = '99%';
blogWysiwyg.Height = '400px';
