window.onload = function(){
function ReplaceAllTextareas(root){
	// replace all of the textareas
	var allTextAreas = document.getElementsByTagName("textarea");
	for (var i=0; i < allTextAreas.length; i++) {
		var oFCKeditor = new FCKeditor( allTextAreas[i].name ) ;
		oFCKeditor.BasePath = "/javascript/fckeditor/" ;
		oFCKeditor.Height = 400;
		oFCKeditor.Config['ToolbarStartExpanded'] = false;
		oFCKeditor.ToolbarSet = 'Basic' ;
		oFCKeditor.ReplaceTextarea() ;
	}
}
ReplaceAllTextareas();
}
