/********************************************************************
 * 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 = "/chrome/openwysiwyg/";
//full.PopupsDir = "popups/";
full.CSSFile = "/css/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;

/*
font, fontsize, bold, italic, underline, forecolor, backcolor, justifyleft, justifycenter, justifyright, 
unorderedlist, orderedlist, outdent, indent, subscript, superscript, cut, copy, paste, removeformat, 
undo, redo, inserttable, insertimage, createlink, seperator, undo, redo, seperator, preview, print, viewSource, help
*/

var fmsArticle = new WYSIWYG.Settings();
fmsArticle.Width = "660px";
fmsArticle.Height = "300px";
fmsArticle.ImagesDir = "/chrome/openwysiwyg/";
fmsArticle.PopupsDir = "/chrome/openwysiwyg/popups/";
fmsArticle.CSSFile = "/css/wysiwyg.css";
fmsArticle.RemoveFormatConfMessage = "Clean Out HTML?";
fmsArticle.removeToolbarElement("forecolor");
fmsArticle.removeToolbarElement("backcolor");
fmsArticle.removeToolbarElement("justifyleft");
fmsArticle.removeToolbarElement("justifycenter");
fmsArticle.removeToolbarElement("justifyright");
fmsArticle.Toolbar[0] = "";
fmsArticle.Toolbar[1] = "";
fmsArticle.Toolbar[2] = new Array("font", "fontsize", "seperator", "justifyleft", "justifycenter", "justifyright", "seperator", "bold", "italic", "underline", "seperator", "unorderedlist", "orderedlist", "seperator", "cut", "copy", "paste", "seperator", "removeformat", "seperator", "inserttable", "createlink", "seperator", "preview", "viewSource");
fmsArticle.StatusBarEnabled = false;
//fmsArticle.ReplaceLineBreaks = true;
//fmsArticle.InvertIELineBreaks = true;

var fmsForumPost = new WYSIWYG.Settings();
fmsForumPost.Width = "440px";
fmsForumPost.Height = "100px";
fmsForumPost.ImagesDir = "/chrome/openwysiwyg/";
fmsForumPost.PopupsDir = "/chrome/openwysiwyg/popups/";
fmsForumPost.CSSFile = "/css/wysiwyg.css";
fmsForumPost.RemoveFormatConfMessage = "Clean Out HTML?";
fmsForumPost.removeToolbarElement("forecolor");
fmsForumPost.removeToolbarElement("backcolor");
fmsForumPost.removeToolbarElement("justifyleft");
fmsForumPost.removeToolbarElement("justifycenter");
fmsForumPost.removeToolbarElement("justifyright");
fmsForumPost.Toolbar[0] = "";
fmsForumPost.Toolbar[1] = "";
fmsForumPost.Toolbar[2] = new Array("font", "fontsize", "seperator", "undo", "redo", "seperator", "bold", "seperator", "removeformat", "seperator", "createlink");
fmsForumPost.StatusBarEnabled = false;
fmsForumPost.ReplaceLineBreaks = true;
//fmsForumPost.InvertIELineBreaks = true;