﻿		HTMLArea.loadPlugin("FullPage");
		//HTMLArea.loadPlugin("CSS");
		var editor = null;
		
		function initEditor(editorName) {
		

         	var htmlarea_config = new HTMLArea.Config();  
           	htmlarea_config.toolbar = [ 
           		[],
				[]
			];  
		
//			htmlarea_config.pageStyle = "@import url(custom.css);";	
			htmlarea_config.pageStyle = "body" +
"{ " +
"	font-family: Arial, Verdana, Sans-Serif; " +
"	font-size: 13px;" +
"	line-height: 1.4em;" +
"	margin:0; padding:0;" +
"} " ;

			editor = new HTMLArea(editorName, htmlarea_config); 
			// register the CSS plugin
			/*editor.registerPlugin(CSS, {
				combos : [
					{ 
						label: "Styles:",
						options: { 
							"None"       : "",
							"Introduction" : "introduction",
							"page Title"  : "pagetitle",
							"Title"      : "title"
						}
					}
				]
			});			
			*/


			editor.generate(); 
			
		}
