/* ---------------------------------------------------------------------
   L I C E N S E D   S O F T A R E   N O T I C E
   ---------------------------------------------------------------------
   This file is licensed software; it may not be copied or used for any
   purpose without license from MyST Technology Partners, Inc.
   http://myst-technology.com
  
   ---------------------------------------------------------------------
   P R O P R I E T A R Y   I N F O R M A T I O N   N O T I C E
   ---------------------------------------------------------------------
   This file contains CONFIDENTIAL INFORMATION ("Information") that
   belongs to MyST Technology Partners, Inc. (the "Owner").  This
   Information is considered a TRADE SECRET of the Owner. This file may
   not be divulged to or used by any party without prior written
   authorization of the Owner.
  
   Should the Owner elect to publish this file in such a way as to lose
   its trade secret status, this file shall remain a copyrighted work
   bearing the following copyright notice:
  
   Copyright (C) 2006-2009 MyST Technology Partners, Inc.
   All rights reserved.
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   $Id: myst-xinha.js,v 1.3, 2009-05-25 02:03:45Z, F. Andy Seidl$
*/
myst_xinha={};myst_xinha.isComment=false;myst_xinha.isPublic=false;myst_xinha.baseHref=null;xinha_editors=null;xinha_config=null;xinha_plugins=null;xinha_init=function(){var $a="ID_DescriptionEditor";var $b=["ContextMenu"];var $c=["Abbreviation","CharacterMap","ContextMenu","FindReplace","ListType"];xinha_editors=xinha_editors?xinha_editors:[$a];if(!xinha_plugins){xinha_plugins=myst_xinha.isPublic?$b:$c;};if(!Xinha.loadPlugins(xinha_plugins,xinha_init)){return;};xinha_config=xinha_config?xinha_config():new Xinha.Config();xinha_config.pageStyleSheets=[g_RTEBaseStylesheet?g_RTEBaseStylesheet:"",g_RTEStylesheet?g_RTEStylesheet:"",];xinha_config.hideSomeButtons(" textindicator splitblock lefttoright righttoleft about ");xinha_config.hideSomeButtons(" inserttable toggleborders ");if(myst_xinha.isPublic){xinha_config.hideSomeButtons(" formatblock fontname fontsize ");xinha_config.hideSomeButtons(" forecolor hilitecolor inserttable toggleborders ");xinha_config.hideSomeButtons(" justifyleft justifycenter justifyright justifyfull ");xinha_config.hideSomeButtons(" inserthorizontalrule ");xinha_config.hideSomeButtons(" print ");xinha_config.hideSomeButtons(" separator killword clearfonts removeformat toggleborders ");xinha_config.hideSomeButtons(" htmlmode ");};for(var i=xinha_config.toolbar.length;--i>=0;){var $d=xinha_config.toolbar[i];var $e=true;for(var j=0;j<$d.length;j++){var $f=$d[j];if($f!="linebreak"&&$f!="separator"){$e=false;break;}};if($e){xinha_config.toolbar.splice(i,1);}};xinha_config.autofocus=true;xinha_config.statusBar=!myst_xinha.isComment;xinha_config.bodyClass="xinhaBody";xinha_config.baseHref=myst_xinha.baseHref;xinha_config.killWordOnPaste=true;xinha_editors=Xinha.makeEditors(xinha_editors,xinha_config,xinha_plugins);Xinha.startEditors(xinha_editors);bu.theEditor=xinha_editors[$a];};


