/********************************************************************
 * 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 mysettings = new WYSIWYG.Settings();

// define the location of the openImageLibrary addon
mysettings.ImagePopupFile = "http://www.areafrentana.com/editor/addons/imagelibrary/insert_image.php";
// define the width of the insert image popup
mysettings.ImagePopupWidth = 600;
// define the height of the insert image popup
mysettings.ImagePopupHeight = 245;

var full = new WYSIWYG.Settings();
full.ImagesDir = "http://www.areafrentana.com/immagini/articoli/";
full.PopupsDir = "http://www.areafrentana.com/editor/popups/";
full.CSSFile = "http://www.areafrentana.com/editor/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 = "http://www.areafrentana.com/editor/addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 245;

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

var image = new WYSIWYG.Settings();
image.PopupsDir = "http://www.areafrentana.com/editor/popups/";
image.Width = "200px";
image.Height = "200px";
image.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #ffffff";
image.Toolbar[0] = new Array("insertimage"); // small setup for toolbar 1
image.Toolbar[1] = "";
image.ImagePopupFile = "http://www.areafrentana.com/editor/addons/imagelibrary/insert_image.php";
image.ImagePopupWidth = 600;
image.ImagePopupHeight = 245; 
