window.onload = function(){
var oFCKeditor = new FCKeditor("story");
oFCKeditor.BasePath	="/fckeditor/";
oFCKeditor.Height	= 350 ;
oFCKeditor.Width	= 600 ;
oFCKeditor.Config["ToolbarStartExpanded"] = false ;
oFCKeditor.ReplaceTextarea() ;

var oFCKeditor = new FCKeditor("l1");
oFCKeditor.BasePath	="/fckeditor/";
oFCKeditor.Height	= 350 ;
oFCKeditor.Width	= 600 ;
oFCKeditor.Config["ToolbarStartExpanded"] = false ;
oFCKeditor.ToolbarSet="Nones";
oFCKeditor.ReplaceTextarea() ;

var oFCKeditor = new FCKeditor("comment");
oFCKeditor.BasePath	="/fckeditor/";
oFCKeditor.Height	= 160 ;
oFCKeditor.Width	= 600 ;
oFCKeditor.Config["ToolbarStartExpanded"] = false ;
oFCKeditor.ToolbarSet="Comments";
oFCKeditor.ReplaceTextarea() ;

var oFCKeditor = new FCKeditor("message");
oFCKeditor.BasePath	="../fckeditor/";
oFCKeditor.Height	= 160 ;
oFCKeditor.Width	= 600 ;
oFCKeditor.Config["ToolbarStartExpanded"] = false ;
oFCKeditor.ReplaceTextarea() ;

var oFCKeditor = new FCKeditor("text");
oFCKeditor.BasePath	="../fckeditor/";
oFCKeditor.Height	= 350 ;
oFCKeditor.Width	= 600 ;
oFCKeditor.Config["ToolbarStartExpanded"] = false ;
oFCKeditor.ReplaceTextarea() ;

var oFCKeditor = new FCKeditor("story1");
oFCKeditor.BasePath	="../fckeditor/";
oFCKeditor.Height	= 350 ;
oFCKeditor.Width	= 600 ;
oFCKeditor.Config["ToolbarStartExpanded"] = false ;
oFCKeditor.ReplaceTextarea() ;

var oFCKeditor = new FCKeditor("description1");
oFCKeditor.BasePath	="../fckeditor/";
oFCKeditor.Height	= 350 ;
oFCKeditor.Width	= 600 ;
oFCKeditor.Config["ToolbarStartExpanded"] = false ;
oFCKeditor.ReplaceTextarea() ;

var oFCKeditor = new FCKeditor("comment1");
oFCKeditor.BasePath	="../fckeditor/";
oFCKeditor.Height	= 160 ;
oFCKeditor.Width	= 600 ;
oFCKeditor.Config["ToolbarStartExpanded"] = false ;
oFCKeditor.ReplaceTextarea() ;

var oFCKeditor = new FCKeditor("message1");
oFCKeditor.BasePath	="../fckeditor/";
oFCKeditor.Height	= 160 ;
oFCKeditor.Width	= 600 ;
oFCKeditor.Config["ToolbarStartExpanded"] = false ;
oFCKeditor.ReplaceTextarea() ;

}




function _getElementById(id){
  var item = null;

  if (document.getElementById){
    item = document.getElementById(id);
  } else if (document.all){
    item = document.all[id];
  } else if (document.layers){
    item = document.layers[id];
  }

  return item;
}

function DoDiv(id) {
  var item = _getElementById(id);

  if (!item){
  } else if (item.style){
    if (item.style.display == 'none'){
        item.style.display = '';
    } else {
        item.style.display = 'none';
      }
  } else {
      item.visibility = 'show';
  }
}

function ShowOrHide(d1, d2) {
  if (d1 != ''){
      DoDiv(d1);
  }}

