function Config(par, AWidth, AHeight)
{
	var config = new Object();    // create new config object

	config.width = AWidth+"%";
	config.height = AHeight+"px";
	//config.bodyStyle = 'background-color: white; font-family: "Times New Roman"; font-size: x-small;';
	//config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: x-small;';
	config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: 11px;';
	config.debug = 0;

	// NOTE:  You can remove any of these blocks and use the default config!

	config.toolbar = [
		['fontname'],
		//['fontsize'],
		//['fontstyle'],
		//['linebreak'],
		['bold','italic','underline','forecolor','Createlink', 'strikethrough'],
		//['bold','italic','underline','separator'],
	    //['strikethrough','subscript','superscript','separator'],
		//['justifyleft','justifycenter','justifyright','separator'],
		//['OrderedList','UnOrderedList','Outdent','Indent','separator'],
		//['forecolor','backcolor','separator'],
		//['HorizontalRule','Createlink','InsertImage','htmlmode','separator'],
		//['HorizontalRule','Createlink','htmlmode','separator'],
		//['about','help','popupeditor'],
		['separator', 'htmlmode','separator'],
		['popupeditor','separator'],
	];

	config.fontnames = {
		//"Arial":           "arial, helvetica, sans-serif",
		//"Courier New":     "courier new, courier, mono",
		//"Georgia":         "Georgia, Times New Roman, Times, Serif",
		//"Tahoma":          "Tahoma, Arial, Helvetica, sans-serif",
		//"Times New Roman": "times new roman, times, serif",
		"Verdana":         "Verdana, Arial, Helvetica, sans-serif",
		//"impact":          "impact",
		"Symbol":          "Symbol"//,
		//"WingDings":       "WingDings"
	};
	config.fontsizes = {
		"1 (8 pt)":  "1",
		"2 (10 pt)": "2",
		"3 (12 pt)": "3",
		"4 (14 pt)": "4",
		"5 (18 pt)": "5",
		"6 (24 pt)": "6",
		"7 (36 pt)": "7"
	  };

	//config.stylesheet = "http://localhost/imgenexv2.0/style.css";

	config.fontstyles = [   // make sure classNames are defined in the page the content is being display as well in or they won't work!
	  { name: "headline",     className: "headline",  classStyle: "font-family: arial black, arial; font-size: 28px; letter-spacing: -2px;" },
	  { name: "arial red",    className: "headline2", classStyle: "font-family: arial black, arial; font-size: 12px; letter-spacing: -2px; color:red" },
	  { name: "verdana blue", className: "headline4", classStyle: "font-family: verdana; font-size: 18px; letter-spacing: -2px; color:blue" }

	// leave classStyle blank if it's defined in config.stylesheet (above), like this:
	//  { name: "verdana blue", className: "headline4", classStyle: "" }
	];
	//editor_generate('txtDescription', config);
	editor_generate(par, config);
}
//----------------------------------------------------------------------------------------------
function ConfigS(par, AWidth, AHeight)
{
	var config = new Object();    // create new config object

	config.width = AWidth+"%";
	config.height = AHeight+"px";
	//config.bodyStyle = 'background-color: white; font-family: "Times New Roman"; font-size: x-small;';
	//config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: x-small;';
	config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: 11px;';
	config.debug = 0;

	// NOTE:  You can remove any of these blocks and use the default config!

	config.toolbar = [
		['fontname'],
		//['fontsize'],
		//['fontstyle'],
		//['linebreak'],
		['bold','italic','underline','htmlmode','popupeditor'],
		//['bold','italic','underline','separator'],
	    //['strikethrough','subscript','superscript','separator'],
		//['justifyleft','justifycenter','justifyright','separator'],
		//['OrderedList','UnOrderedList','Outdent','Indent','separator'],
		//['forecolor','backcolor','separator'],
		//['HorizontalRule','Createlink','InsertImage','htmlmode','separator'],
		//['HorizontalRule','Createlink','htmlmode','separator'],
		//['about','help','popupeditor'],
		//['separator', 'htmlmode','separator'],
		//['popupeditor','separator'],
	];

	config.fontnames = {
		//"Arial":           "arial, helvetica, sans-serif",
		//"Courier New":     "courier new, courier, mono",
		//"Georgia":         "Georgia, Times New Roman, Times, Serif",
		//"Tahoma":          "Tahoma, Arial, Helvetica, sans-serif",
		//"Times New Roman": "times new roman, times, serif",
		"Verdana":         "Verdana, Arial, Helvetica, sans-serif",
		//"impact":          "impact",
		"Symbol":          "Symbol"//,
		//"WingDings":       "WingDings"
	};
	config.fontsizes = {
		"1 (8 pt)":  "1",
		"2 (10 pt)": "2",
		"3 (12 pt)": "3",
		"4 (14 pt)": "4",
		"5 (18 pt)": "5",
		"6 (24 pt)": "6",
		"7 (36 pt)": "7"
	  };

	//config.stylesheet = "http://localhost/imgenexv2.0/style.css";

	config.fontstyles = [   // make sure classNames are defined in the page the content is being display as well in or they won't work!
	  { name: "headline",     className: "headline",  classStyle: "font-family: arial black, arial; font-size: 28px; letter-spacing: -2px;" },
	  { name: "arial red",    className: "headline2", classStyle: "font-family: arial black, arial; font-size: 12px; letter-spacing: -2px; color:red" },
	  { name: "verdana blue", className: "headline4", classStyle: "font-family: verdana; font-size: 18px; letter-spacing: -2px; color:blue" }

	// leave classStyle blank if it's defined in config.stylesheet (above), like this:
	//  { name: "verdana blue", className: "headline4", classStyle: "" }
	];
	//editor_generate('txtDescription', config);
	editor_generate(par, config);
}