
/**
 * parameter.js
 * Copyright 1999-2000, Ektron, Inc
 * Author: Bill Rogers
 * Date: 06/07/2000
 * Revision: 2.0
 
 * Wed. 07/06/00
 * Modify by: Alpesh Patel
 
//These are default values of parameters.
//License keys are specified in this file.
//Change any value of any parameter to set default values of that parameter. Values of parameters are inside double quotes("..").
//DO NOT delete any parameter. If any parameter is missing program will not work properly.

Modifications:
FUNCTIONS:
toString() 
These functions will create a new object which will pass to popup window for custom parameters.
*/

//Output Strings can be modify to a different languages
var sCanNotSave = "Can not save the content because parent window is closed. If you want to close this window click OK button or click Cancle to prevent closeing this window.";
var sMaxContentSizeMessage1 = "bytes is your document size."
var sMaxContentSizeMessage2 = "This document max size set by your admin via parameters.js is";
//////
var wddxdata = "<wddxPacket version='1.0'><header></header><data><recordset rowCount='5' fieldNames='FONT_FACE'><field name='FONT_FACE'><string>Arial</string><string>Helvetica</string><string>Tahoma</string><string>Times New Roman</string><string>Verdana</string></field></recordset></data></wddxPacket>";

var eWebEditProDefaultPath = "/ewebeditpro/";														//Specify the default path
var eWebEditProParameters = new Object();
	eWebEditProParameters.toString = toString;
	eWebEditProParameters.License ="blink-dev.ucsd.edu(exp-2001-05-21)?825754280618207995489377430-18";
	//Add you license number provided by Ektron. If you don't have license key then visit wwww.ektron.com for more information. License Keys may be separated if you have more than 3 license keys.
	eWebEditProParameters.License2 = "Specify second license key (optional)";
	eWebEditProParameters.License3 = "Specify third license key (optional)";
	eWebEditProParameters.clientInstall = eWebEditProDefaultPath + "ewebeditproclient.exe";	//You can change path but do not change client install file name.
	eWebEditProParameters.Locale = "";		//eWebEditProDefaultPath + "locale0000.xml";  Specify file name if you are using language other than English. Default value is English.
	eWebEditProParameters.Options = eWebEditProDefaultPath + "options.xml";         // Specify file name if you have different set of options to use with eWebEditPro. Default is Option.xml.
	eWebEditProParameters.BackColor = "";											//Specifies the background color of the editor window.
	eWebEditProParameters.ForeColor = "";											//Specifies the default color of the text.
	eWebEditProParameters.FontName = "";											//Specifies the default font name.
	eWebEditProParameters.FontSize = "";											//Specifies the default font size.
	eWebEditProParameters.FTPServer = "";											//Specifies the destination URL for image files that are uploaded via FTP by the user.
	eWebEditProParameters.FTPUsername = "";											//Specifies the username needed to access the FTP site. Leave this parameter blank for anonymous login.
	eWebEditProParameters.FTPPassword = "";											//Specifies the password needed to access the FTP site. Leave this parameter blank for anonymous login. The FTPPassword value must be encrypted.
	eWebEditProParameters.ImagesPath = "";											//When used with FTPServer or PostingAcceptor, specifies the path to the images directory relative to the root
	eWebEditProParameters.PostingAcceptor = "";										//Specifies the script file that accepts posted binary files, typically for image upload. The path must be relative to the hostname. For example, "eWebEditPro/PostAccept.asp".
	eWebEditProParameters.Username = "";											//Specifies the username needed to access the NT server for image upload to the ASP PostingAcceptor. Leave this parameter blank if NT Authentication is not required.
	eWebEditProParameters.Password = "";											//Specifies the password needed to access the NT server for image upload to the ASP PostingAcceptor. Leave this parameter blank if NT Authentication is not required.
	eWebEditProParameters.AllowCustomize = "True";									//Specifies whether the user can customize the toolbar or not. Values can be "True" or "False".
	eWebEditProParameters.ButtonsAbout = "False";									//Set to "False" to remove the About button from the toolbar.
	eWebEditProParameters.ButtonsAlign = "True";									//Set to "False" to remove the Align buttons from the toolbar.
	eWebEditProParameters.ButtonsBullets = "True"; 									//Set to "False" to remove the Bullets and Numbers button from the toolbar.
	eWebEditProParameters.ButtonsEdit = "True";										//Set to "False" to remove the Edit buttons from the toolbar.
	eWebEditProParameters.ButtonsFind = "True"; 									//Set to "False" to remove the Find button from the toolbar.
	eWebEditProParameters.ButtonsFontColor = "True";								//Set to "False" to remove the Font Color button from the toolbar.
	eWebEditProParameters.ButtonsFontSize = "True";									//Set to "False" to remove the Font Size button from the toolbar.
	eWebEditProParameters.ButtonsFontStyle = "True"; 								//Set to "False" to remove the Font Style buttons, bold, italic, underline, from the toolbar.
	eWebEditProParameters.ButtonsHyperlink = "True";								//Set to "False" to remove the Hyperlink and Bookmark buttons from the toolbar.
	eWebEditProParameters.ButtonsIndent = "True";									//Set to "False" to remove the Indent buttons from the toolbar.
	eWebEditProParameters.ButtonsPicture = "True"; 									//Set to "False" to remove the Picture button from the toolbar.
	eWebEditProParameters.ButtonsSpelling = "True";									//Set to "False" to remove the Spelling buttons from the toolbar.
	eWebEditProParameters.ButtonsTable = "True";									//Set to "False" to remove the Table button from the toolbar.
	eWebEditProParameters.MaxContentSize = 256000;									//Maximum number of charecters of HTML content that can be saved.
	eWebEditProParameters.autoSubmit = true;
	eWebEditProParameters.autoField = true;
	eWebEditProParameters.pasteexample = true;
													//

	
	
	

///////////////// DO NOT CHANGE THIS CODE /////////////////////
function toString()
{
	var sVal = "var objPar = new Object();\n";
		sVal = sVal + "objPar.License = \"" + this.License + "\";\n";
		sVal = sVal + "objPar.License2 = \"" + this.License2 + "\";\n";
		sVal = sVal + "objPar.License3 = \"" + this.License3 + "\";\n";
		sVal = sVal + "objPar.codebase = \"" + this.codebase + "\";\n";
		sVal = sVal + "objPar.clientInstall = \"" + this.clientInstall + "\";\n";
		sVal = sVal + "objPar.Locale = \"" + this.Locale + "\";\n";
		sVal = sVal + "objPar.Options = \"" + this.Options + "\";\n";
		sVal = sVal + "objPar.BackColor = \"" + this.BackColor + "\";\n";
		sVal = sVal + "objPar.ForeColor = \"" + this.ForeColor + "\";\n";
		sVal = sVal + "objPar.FontName = \"" + this.FontName + "\";\n";
		sVal = sVal + "objPar.FontSize = \"" + this.FontSize + "\";\n";
		sVal = sVal + "objPar.FTPServer = \"" + this.FTPServer + "\";\n";
		sVal = sVal + "objPar.FTPUsername = \"" + this.FTPUsername + "\";\n";
		sVal = sVal + "objPar.FTPPassword = \"" + this.FTPPassword + "\";\n";
		sVal = sVal + "objPar.ImagesPath = \"" + this.ImagesPath + "\";\n";
		sVal = sVal + "objPar.PostingAcceptor = \"" + this.PostingAcceptor + "\";\n";
		sVal = sVal + "objPar.Username = \"" + this.Username + "\";\n";
		sVal = sVal + "objPar.Password = \"" + this.Password + "\";\n";
		sVal = sVal + "objPar.AllowCustomize = \"" + this.AllowCustomize + "\";\n";
		sVal = sVal + "objPar.ButtonsAbout = \"" + this.ButtonsAbout + "\";\n";
		sVal = sVal + "objPar.ButtonsAlign = \"" + this.ButtonsAlign + "\";\n";
		sVal = sVal + "objPar.ButtonsBullets = \"" + this.ButtonsBullets + "\";\n";
		sVal = sVal + "objPar.ButtonsEdit = \"" + this.ButtonsEdit + "\";\n";
		sVal = sVal + "objPar.ButtonsFind = \"" + this.ButtonsFind + "\";\n";
		sVal = sVal + "objPar.ButtonsFontColor = \"" + this.ButtonsFontColor + "\";\n";
		sVal = sVal + "objPar.ButtonsFontSize = \"" + this.ButtonsFontSize + "\";\n";
		sVal = sVal + "objPar.ButtonsFontStyle = \"" + this.ButtonsFontStyle + "\";\n";
		sVal = sVal + "objPar.ButtonsHyperlink = \"" + this.ButtonsHyperlink + "\";\n";
		sVal = sVal + "objPar.ButtonsIndent = \"" + this.ButtonsIndent + "\";\n";
		sVal = sVal + "objPar.ButtonsPicture = \"" + this.ButtonsPicture + "\";\n";
		sVal = sVal + "objPar.ButtonsSpelling = \"" + this.ButtonsSpelling + "\";\n";
		sVal = sVal + "objPar.ButtonsTable = \"" + this.ButtonsTable + "\";\n";
		sVal = sVal + "objPar.MaxContentSize = \"" + this.MaxContentSize + "\";\n";	
		sVal = sVal + "objPar.autoSubmit = \"" + this.autoSubmit + "\";\n";
		sVal = sVal + "objPar.autoField = \"" + this.autoField + "\";\n";
		sVal = sVal + "objPar.pasteexample = \"" + this.autoField + "\";\n";
	return sVal;
}
//////////////////////////////////////////////////////////////////////////
