/********************************************************************
 * 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 = "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);
// openImageLibrary addon implementation
full.ImagePopupFile = "/openwysiwyg/addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 420;

/*
 * Full featured setup used the openImageLibrary addon
 */

var full_incut = new WYSIWYG.Settings();
full_incut.Width = "85%";
full_incut.Height = "250px";
full_incut.Toolbar[1]= new Array ("cut", "copy", "paste", "seperator", "undo", "redo", "seperator", "insertimage", "createlink", "seperator", "viewSource", "seperator", "help");
full_incut.ImagePopupFile = "/openwysiwyg/addons/imagelibrary/insert_image.php";
full_incut.ImagePopupWidth = 600;
full_incut.ImagePopupHeight = 420;

/*
 * Small Setup Example
 */
var small = new WYSIWYG.Settings();
small.Width = "350px";
small.Height = "100px";
small.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #FFFFFF";
small.Toolbar[0] = new Array ("bold", "italic", "underline", "strikethrough", "seperator", "createlink", "seperator", "viewSource", "help"); // small setup for toolbar 1
small.Toolbar[1] = ""; // disable toolbar 2
small.StatusBarEnabled = false;

//zz// Формируем специфические стили, которые должны создаваться и отображаться в визуальном редакторе.
var zz_css = '<style type="text/css" media="screen">';
zz_css += 'a { color: #a00000;}';
zz_css += 'img { border-color: #d8d8d8;}';
zz_css += '</style>';