/********************************************************************
 * 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 = "http://sconline.vru.ac.th/scEditor/addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 245;
/*
 * Webboard IT Setup 
 */
var  it = new WYSIWYG.Settings();
it.ImagesDir = "http://sconline.vru.ac.th/scEditor/images/";
it.PopupsDir = "http://sconline.vru.ac.th/scEditor/popups/";
it.ImagePopupFile = "http://sconline.vru.ac.th/scEditor/addons/webboard_imagelibrary/insert_image.php";  
it.InsertImagePopup = "webboard/";
it.ImagePopupWidth = 600;  
it.ImagePopupHeight = 400;  
it.CSSFile = "http://sconline.vru.ac.th/scEditor/styles/wysiwyg.css'";
it.Width = "700px";
it.Height = "250px";
//------------------------------------------------------------------
/*
 * Krunoi  Setup 
 */
var  krunoi = new WYSIWYG.Settings();
krunoi.ImagesDir = "../scEditor/images/";
krunoi.PopupsDir = "../scEditor/popups/";
krunoi.ImagePopupFile = "../scEditor/addons/imagelibrary/insert_image.php";  
krunoi.InsertImagePopup = "../data/";
krunoi.ImagePopupWidth = 600;  
krunoi.ImagePopupHeight = 400;  
krunoi.CSSFile = "../scEditor/styles/wysiwyg.css'";
krunoi.Width = "600px";
krunoi.Height = "300px";
//------------------------------------------------------------------
/*
 * 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;

