﻿<?xml version="1.0" encoding="UTF-8"?><!-- Version 2.0 -->
<!DOCTYPE xsl:stylesheet [
  <!ENTITY nbsp "&#160;">
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xf="http://www.sapportals.com/wcm/app/xmlforms">
  
  <xsl:template name="addHtmlEditor4">
    <xsl:param name="fieldId"/>
    <xsl:param name="linked"/>
    <xsl:param name="value"/>
    <xsl:param name="defaultValue"/>
    <xsl:param name="divTitle"/>
    <xsl:param name="tabIndex"/>
    <xsl:param name="toolbar"/>
    <xsl:param name="height"/>
    <xsl:param name="toolbarStyle">urTbarWhl</xsl:param>
    <xsl:param name="divStyle">urScrl urFontStd urTxtStd</xsl:param>
    <xsl:param name="use_light_editor">false</xsl:param>
    
    <xsl:if test="$linked='true'">
      
      <input type="hidden">
        <xsl:attribute name="value">
          <xsl:choose>
            <xsl:when test="$value='' and $editmode='create' and $defaultValue!=''">
              <xsl:value-of select="$defaultValue"/>
            </xsl:when>
            <xsl:when test="$value!=''">
              <xsl:value-of select="$value"/>
            </xsl:when>
          </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="name"><xsl:value-of select="$fieldId" /></xsl:attribute>
      </input>
      <input type="hidden">
        <xsl:attribute name="value">
          <xsl:choose>
            <xsl:when test="$value='' and $editmode='create' and $defaultValue!=''">
              <xsl:value-of select="$defaultValue"/>
            </xsl:when>
            <xsl:when test="$value!=''">
              <xsl:value-of select="$value"/>
            </xsl:when>
          </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="name"><xsl:value-of select="concat($fieldId, 'default')" /></xsl:attribute>
      </input>      
    </xsl:if>
    
    <input type="hidden" value="">
      <xsl:attribute name="name"><xsl:value-of select="concat($fieldId, '_ADD')" /></xsl:attribute>
    </input>    
    <input type="hidden" value="">
      <xsl:attribute name="name"><xsl:value-of select="concat($fieldId, '_OLD')" /></xsl:attribute>
    </input>
    <input type="hidden" value="">
      <xsl:attribute name="name"><xsl:value-of select="concat($fieldId, '_SCREEN')" /></xsl:attribute>
    </input>
    <input type="hidden" value="0,0">
      <xsl:attribute name="name"><xsl:value-of select="concat($fieldId, '_OFFSET')" /></xsl:attribute>
    </input>
    <input type="hidden" value="null">
      <xsl:attribute name="name"><xsl:value-of select="concat($fieldId, '_UNDO')" /></xsl:attribute>
    </input>
    <input type="hidden" value="null">
      <xsl:attribute name="name"><xsl:value-of select="concat($fieldId, '_REDO')" /></xsl:attribute>
    </input>
    <input type="hidden" value="false">
      <xsl:attribute name="name"><xsl:value-of select="concat($fieldId, '_EXPAND')" /></xsl:attribute>
    </input>
    
	<span>
		<xsl:attribute name="id"><xsl:value-of select="$fieldId"/>htmlbeditor-outer</xsl:attribute>
		<xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
		<xsl:attribute name="onfocus">javascript:xf_updateInputTitleWithLabel( '<xsl:value-of select="$fieldId"/>htmlbeditor', 'label_<xsl:value-of select="$fieldId"/>htmlbeditor',
		'false','<xsl:choose>
                              <xsl:when test="string-length(document(concat('wcm://etc/xmlforms/XFBuilderConfig/', $globalresfile))/ROOT/RESOURCES/TEXT[@AKEY='XF_REQUIRED_FIELD']) &gt; 0">
                                <xsl:value-of select="document(concat('wcm://etc/xmlforms/XFBuilderConfig/', $globalresfile))/ROOT/RESOURCES/TEXT[@AKEY='XF_REQUIRED_FIELD']"/>
                              </xsl:when>
                              <xsl:otherwise>*</xsl:otherwise>
            </xsl:choose>', '<xsl:value-of select="$fieldId"/>htmlbeditor-outer');
		</xsl:attribute>
		<xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( '<xsl:value-of select="$fieldId"/>htmlbeditor', 'label_<xsl:value-of select="$fieldId"/>htmlbeditor',
		'false','<xsl:choose>
                              <xsl:when test="string-length(document(concat('wcm://etc/xmlforms/XFBuilderConfig/', $globalresfile))/ROOT/RESOURCES/TEXT[@AKEY='XF_REQUIRED_FIELD']) &gt; 0">
                                <xsl:value-of select="document(concat('wcm://etc/xmlforms/XFBuilderConfig/', $globalresfile))/ROOT/RESOURCES/TEXT[@AKEY='XF_REQUIRED_FIELD']"/>
                              </xsl:when>
                              <xsl:otherwise>*</xsl:otherwise>
            </xsl:choose>', '<xsl:value-of select="$fieldId"/>htmlbeditor-outer');
		</xsl:attribute>
	
    <table height="100%" unselectable="on" width="100%" cellspacing="0" cellpadding="0">
      <xsl:attribute name="border">
        <xsl:choose>
          <xsl:when test="$toolbarStyle != ''">0</xsl:when>
          <xsl:otherwise>1</xsl:otherwise>
        </xsl:choose>
      </xsl:attribute>
      <xsl:if test="$toolbar!='none'">
        <tr height="20">
          <td valign="top">
            <table height="100%" border="0" width="100%" cellspacing="0" cellpadding="0">
              <xsl:attribute name="class"><xsl:value-of select="$toolbarStyle"/></xsl:attribute>
              <tr>
                <td>
                  <table>
                    <tr>
                      <xsl:if test="($activateClipboard='true' and $system_config_activateClipboard='true') or $use_light_editor='false'">
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_CUT']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_1</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cCUT)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_CUT']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_cut.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_COPY']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_2</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cCOPY)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_COPY']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_copy.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_PASTE']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_3</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cPASTE)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_PASTE']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_paste.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                        <td>&nbsp;</td>
                      </xsl:if>
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_BOLD']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_4</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cBOLD)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_BOLD']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_bold.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_ITALIC']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_5</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cITALIC)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_ITALIC']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_italics.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_UNDERLINE']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_6</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cUNDERLINE)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_UNDERLINE']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_underline.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                        <td>&nbsp;</td>
                      <xsl:if test="($activateTextSettings='true' and $system_config_activateTextSettings='true' and $system_config_activateHighSecure='false') or $use_light_editor='false'">
                        <td>
                          <table>
                            <tr>
                              <td>
                                <a ct="PopupTrigger" class="urPopUpTrgWhl urPopUpTrgInd" id="htmlb_hed_textstyle">
                                  <xsl:attribute name="onKeyDown">htmlb_hed_popup_openPopuMenu('<xsl:value-of select="$fieldId"/>',this, event, 'text_style')</xsl:attribute>
                                  <xsl:attribute name="onClick">htmlb_hed_doInsertTextStylePopup('<xsl:value-of select="$fieldId"/>',this)</xsl:attribute>
                                  <xsl:attribute name="oncontextmenu">htmlb_hed_doInsertTextStylePopup('<xsl:value-of select="$fieldId"/>',this)</xsl:attribute>
                                  <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                                  <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_TEXT_STYLE']"/><xsl:value-of select="$hePopupSelectiongUsage1"/></xsl:attribute>
                                  <img height="12" border="0" width="12" src="ico12_tbltxtcss.gif">
                                    <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_TEXT_STYLE']"/><xsl:value-of select="$hePopupSelectiongUsage1"/></xsl:attribute>
                                    <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_tbltxtcss.gif</xsl:attribute>
                                  </img>
                                </a>
                              </td>
                            </tr>
                          </table>
                        </td>
                        <td>
                          <table>
                            <tr>
                              <td>
                                <a ct="PopupTrigger" class="urPopUpTrgWhl urPopUpTrgInd" id="htmlb_hed_textsize">
                                  <xsl:attribute name="onKeyDown">htmlb_hed_popup_openPopuMenu('<xsl:value-of select="$fieldId"/>',this, event,'text_size')</xsl:attribute>
                                  <xsl:attribute name="onClick">htmlb_hed_doInsertTextSizePopup('<xsl:value-of select="$fieldId"/>',this)</xsl:attribute>
                                  <xsl:attribute name="oncontextmenu">htmlb_hed_doInsertTextSizePopup('<xsl:value-of select="$fieldId"/>',this)</xsl:attribute>
                                  <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                                  <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_TEXT_SIZE']"/><xsl:value-of select="$hePopupSelectiongUsage1"/></xsl:attribute>
                                  <img height="12" border="0" width="12" src="ico12_tbltxtsz.gif">
                                    <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_TEXT_SIZE']"/><xsl:value-of select="$hePopupSelectiongUsage1"/></xsl:attribute>
                                    <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_tbltxtsz.gif</xsl:attribute>
                                  </img>
                                </a>
                              </td>
                            </tr>
                          </table>
                        </td>
                      </xsl:if>
                      <xsl:if test="($activateColorSettings='true' and $system_config_activateColorSettings='true' and $system_config_activateHighSecure='false') or $use_light_editor='false'">
                        <td>
                          <table>
                            <tr>
                              <td>
                                <a ct="PopupTrigger" class="urPopUpTrgWhl urPopUpTrgInd" id="htmlb_hed_textforegroundcolor">
                                  <xsl:attribute name="onKeyDown">htmlb_hed_popup_openPopuMenu('<xsl:value-of select="$fieldId"/>',this, event, 'text_color')</xsl:attribute>
                                  <xsl:attribute name="onClick">htmlb_hed_doInsertTextForegroundColorPopup('<xsl:value-of select="$fieldId"/>',this)</xsl:attribute>
                                  <xsl:attribute name="oncontextmenu">htmlb_hed_doInsertTextForegroundColorPopup('<xsl:value-of select="$fieldId"/>',this)</xsl:attribute>
                                  <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                                  <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_TEXT_FOREGROUND']"/><xsl:value-of select="$hePopupSelectiongUsage2"/></xsl:attribute>
                                  <img height="12" border="0" width="12" src="ico12_tbltxtfg.gif">
                                    <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_TEXT_FOREGROUND']"/><xsl:value-of select="$hePopupSelectiongUsage2"/></xsl:attribute>
                                    <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_tbltxtfg.gif</xsl:attribute>
                                  </img>
                                </a>
                              </td>
                            </tr>
                          </table>
                        </td>
                        <td>
                          <table>
                            <tr>
                              <td>
                                <a ct="PopupTrigger" class="urPopUpTrgWhl urPopUpTrgInd" id="htmlb_hed_textbackgroundcolor">
                                  <xsl:attribute name="onKeyDown">htmlb_hed_popup_openPopuMenu('<xsl:value-of select="$fieldId"/>',this, event, 'text_backgroundcolor')</xsl:attribute>
                                  <xsl:attribute name="onClick">htmlb_hed_doInsertTextBackgroundColorPopup('<xsl:value-of select="$fieldId"/>',this,false)</xsl:attribute>
                                  <xsl:attribute name="oncontextmenu">htmlb_hed_doInsertTextBackgroundColorPopup('<xsl:value-of select="$fieldId"/>',this,false)</xsl:attribute>
                                  <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                                  <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_TEXT_BACKGROUND']"/><xsl:value-of select="$hePopupSelectiongUsage2"/></xsl:attribute>
                                  <img height="12" border="0" width="12" src="ico12_tbltxtbg.gif">
                                    <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_TEXT_BACKGROUND']"/><xsl:value-of select="$hePopupSelectiongUsage2"/></xsl:attribute>
                                    <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_tbltxtbg.gif</xsl:attribute>
                                  </img>
                                </a>
                              </td>
                            </tr>
                          </table>
                        </td>
                        <td>&nbsp;</td>
                      </xsl:if>
                      <xsl:if test="($activateList='true' and $system_config_activateList='true' and $system_config_activateHighSecure='false') or $use_light_editor='false'">
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_PARBUL']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_7</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cPARABUL)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_PARBUL']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_bul_list.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_PARANUM']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_8</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cPARANUM)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_PARANUM']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_num_list.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                      </xsl:if>
                      <xsl:if test="($activateInOutDent='true' and $system_config_activateInOutDent='true' and $system_config_activateHighSecure='false') or $use_light_editor='false'">
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_INDENT']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_9</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cINDENT)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_INDENT']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_indent.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                        <td>
                          <a>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_OUTDENT']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_10</xsl:attribute>
                            <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cOUTDENT)</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_OUTDENT']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_outdent.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                        <xsl:if test="$toolbar='full'">
                          <td>
                            <a>
                              <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_LEFT']"/></xsl:attribute>
                              <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_11</xsl:attribute>
                              <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cLEFT)</xsl:attribute>
                              <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                              <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                              <img border="0">
                                <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_LEFT']"/></xsl:attribute>
                                <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_align_left.gif</xsl:attribute>
                              </img>
                            </a>
                          </td>
                          <td>
                            <a>
                              <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_CENTER']"/></xsl:attribute>
                              <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_12</xsl:attribute>
                              <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cCENTER)</xsl:attribute>
                              <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                              <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                              <img border="0">
                                <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_CENTER']"/></xsl:attribute>
                                <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_center.gif</xsl:attribute>
                              </img>
                            </a>
                          </td>
                          <td>
                            <a>
                              <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_RIGHT']"/></xsl:attribute>
                              <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_13</xsl:attribute>
                              <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cRIGHT)</xsl:attribute>
                              <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                              <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                              <img border="0">
                                <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_RIGHT']"/></xsl:attribute>
                                <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_align_right.gif</xsl:attribute>
                              </img>
                            </a>
                          </td>
                        </xsl:if>
                      </xsl:if>
                      <xsl:if test="($activateLinks='true' and $system_config_activateLinks='true' and $system_config_activateHighSecure='false') or $use_light_editor='false'">
                      <td>&nbsp;</td>
                        <td>
                          <a>
                            <xsl:attribute name="href">javascript:doInsertWebLinkAction('<xsl:value-of select="$fieldId"/>','')</xsl:attribute>
                            <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_LINK']"/></xsl:attribute>
                            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_14</xsl:attribute>
                            <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                            <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                            <img border="0">
                              <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_LINK']"/></xsl:attribute>
                              <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_link.gif</xsl:attribute>
                            </img>
                          </a>
                        </td>
                      </xsl:if>
                      <xsl:if test="$toolbar='full' and $system_config_activateHighSecure='false'">                   
                        <td>
                          <table>
                            <tr>
                              <td>
                                <a ct="PopupTrigger" class="urPopUpTrgWhl urPopUpTrgInd" id="htmlb_hed_special_chars">
                                  <xsl:attribute name="onKeyDown">htmlb_hed_popup_openPopuMenu('<xsl:value-of select="$fieldId"/>',this, event, 'insert_special_char')</xsl:attribute>
                                  <xsl:attribute name="onClick">htmlb_hed_doInsertSpecialCharPopup('<xsl:value-of select="$fieldId"/>',this,false)</xsl:attribute>
                                  <xsl:attribute name="oncontextmenu">htmlb_hed_doInsertSpecialCharPopup('<xsl:value-of select="$fieldId"/>',this,false)</xsl:attribute>
                                  <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                                  <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_SPECIAL_CHAR']"/><xsl:value-of select="$hePopupSelectiongUsage2"/></xsl:attribute>
                                  <img height="12" border="0" width="12" src="ico12_insertspecchar.gif">
                                    <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_POPUP_SPECIAL_CHAR']"/><xsl:value-of select="$hePopupSelectiongUsage2"/></xsl:attribute>
                                    <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_insertspecchar.gif</xsl:attribute>
                                  </img>
                                </a>
                              </td>
                            </tr>
                          </table>
                        </td>
                        <xsl:if test="($activateTableFeatures='true' and $system_config_activateTableFeatures='true' and $system_config_activateHighSecure='false') or $use_light_editor='false'">
                          <td>
                            <a>
                              <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_INSERTRULE']"/></xsl:attribute>
                              <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_15</xsl:attribute>
                              <xsl:attribute name="href">javascript:doSimpleAction('<xsl:value-of select="$fieldId"/>',cINSERTRULE)</xsl:attribute>
                              <xsl:attribute name="onKeyDown">editortoolbarswitch(this,'<xsl:value-of select="$fieldId"/>_actionlink_1','<xsl:value-of select="$fieldId"/>-skipend')</xsl:attribute>
                              <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                              <img border="0">
                                <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_INSERTRULE']"/></xsl:attribute>
                                <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_insertrule.gif</xsl:attribute>
                              </img>
                            </a>
                          </td>
                          <td>
                            <a>
                              <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_INSERTTABLE']"/></xsl:attribute>
                              <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_16</xsl:attribute>
                              <xsl:attribute name="href">javascript:doInsertTableAction('<xsl:value-of select="$fieldId"/>')</xsl:attribute>
                              <xsl:attribute name="onKeyDown">htmlb_hed_popup_openPopuMenu('<xsl:value-of select="$fieldId"/>',this, event, 'insert_table')</xsl:attribute>
                              <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                              <img border="0">
                                <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_INSERTTABLE']"/></xsl:attribute>
                                <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_inserttable.gif</xsl:attribute>
                              </img>
                            </a>
                          </td>
                          <td>
                            <a>
                              <xsl:attribute name="href">javascript:doModifyTableAction('<xsl:value-of select="$fieldId"/>', '<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTIONHINT_MODIFYTABLE']"/>');</xsl:attribute>
                              <xsl:attribute name="title"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_MODIFYTABLE']"/></xsl:attribute>
                              <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>_actionlink_17</xsl:attribute>
                              <xsl:attribute name="onKeyDown">htmlb_hed_popup_openPopuMenu('<xsl:value-of select="$fieldId"/>',this, event, 'modify_table')</xsl:attribute>
                              <xsl:attribute name="tabindex"><xsl:value-of select="$tabIndex"/></xsl:attribute>
                              <img border="0">
                                <xsl:attribute name="alt"><xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ACTION_MODIFYTABLE']"/></xsl:attribute>
                                <xsl:attribute name="src"><xsl:value-of select="$mimepath"/>ico12_modifytable.gif</xsl:attribute>
                              </img>
                            </a>
                          </td>
                        </xsl:if>
                      </xsl:if>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </xsl:if>
      <tr>
        <xsl:attribute name="class"><xsl:value-of select="$toolbarStyle"/></xsl:attribute>
        <td>
          <div delmestyle="position:relative;overflow:auto;height:60;width:100%;background-color:#FFFFFF;border:none" contenteditable="true" onclick="return htmlb_hed_hidePopupMenu(this);" bgcolor="#FFFFFF"> <!-- attributes below with are with higher priority --> <!-- TODO dell delmestyle attribute -->
            <xsl:attribute name="id"><xsl:value-of select="$fieldId"/>htmlbeditor</xsl:attribute>
            <xsl:attribute name="style">position:relative;<!-- 
				-->overflow:auto;<!-- 
				-->height:<xsl:value-of select="number($height) - 32"/>;<!-- 
				-->width:100%;<!--
				background-color:#FFFFFF;
				-->border:none</xsl:attribute>
            <xsl:attribute name="onbeforedeactivate">save('<xsl:value-of select="$fieldId"/>')</xsl:attribute>
            <xsl:attribute name="tabindex"><xsl:value-of select="1 + number($tabIndex)"/></xsl:attribute>
            <xsl:attribute name="onbeforeactivate">htmlb_hed_startupHandler('<xsl:value-of select="$fieldId"/>',<xsl:value-of select="$usePortalStyle"/>,<xsl:value-of select="$activateDragAndDrop"/>)</xsl:attribute>
            <xsl:attribute name="oncontextmenu">return htmlb_hed_launchContextMenu('<xsl:value-of select="$fieldId"/>', this)</xsl:attribute>
            <xsl:attribute name="class"><xsl:value-of select="$divStyle"/></xsl:attribute>

            <xsl:if test="$divTitle and $divTitle!=''">
              <!--xsl:attribute name="title">
                <xsl:value-of select="$divTitle"/>
              </xsl:attribute-->
              <xsl:attribute name="description">
                <xsl:value-of select="$divTitle"/>
              </xsl:attribute>
            </xsl:if>
            <xsl:choose>
              <xsl:when test="$value='' and $editmode='create' and $defaultValue!=''">
                <xsl:value-of select="$defaultValue" disable-output-escaping="yes"/>
              </xsl:when>
              <xsl:when test="$value!=''">
                <xsl:value-of select="$value" disable-output-escaping="yes"/>
              </xsl:when>
            </xsl:choose>
		<xsl:attribute name="onfocus">javascript:xf_updateInputTitleWithLabel( '<xsl:value-of select="$fieldId"/>htmlbeditor', 'label_<xsl:value-of select="$fieldId"/>htmlbeditor',
		'false','<xsl:choose>
                              <xsl:when test="string-length(document(concat('wcm://etc/xmlforms/XFBuilderConfig/', $globalresfile))/ROOT/RESOURCES/TEXT[@AKEY='XF_REQUIRED_FIELD']) &gt; 0">
                                <xsl:value-of select="document(concat('wcm://etc/xmlforms/XFBuilderConfig/', $globalresfile))/ROOT/RESOURCES/TEXT[@AKEY='XF_REQUIRED_FIELD']"/>
                              </xsl:when>
                              <xsl:otherwise>*</xsl:otherwise>
            </xsl:choose>' );
		</xsl:attribute>
		<xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( '<xsl:value-of select="$fieldId"/>htmlbeditor', 'label_<xsl:value-of select="$fieldId"/>htmlbeditor',
		'false','<xsl:choose>
                              <xsl:when test="string-length(document(concat('wcm://etc/xmlforms/XFBuilderConfig/', $globalresfile))/ROOT/RESOURCES/TEXT[@AKEY='XF_REQUIRED_FIELD']) &gt; 0">
                                <xsl:value-of select="document(concat('wcm://etc/xmlforms/XFBuilderConfig/', $globalresfile))/ROOT/RESOURCES/TEXT[@AKEY='XF_REQUIRED_FIELD']"/>
                              </xsl:when>
                              <xsl:otherwise>*</xsl:otherwise>
            </xsl:choose>' );
		</xsl:attribute>

          </div>
        </td>
      </tr>
    </table>
	</span>
  </xsl:template>

  <xsl:template name="addResourceStrings4">
    <xsl:param name="use_light_editor">false</xsl:param>
    <script language="JavaScript">htmlb_hed_addTexts('de',{TXT_HTMLB_HED_BORDER:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_BORDER']"/>",TXT_HTMLB_HED_AL_RIGHT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_AL_RIGHT']"/>",TXT_HTMLB_HED_CELLPAD:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_CELLPAD']"/>",TXT_HTMLB_HED_AL_CENTER:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_AL_CENTER']"/>",TXT_HTMLB_HED_TABLEHEADER:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_TABLEHEADER']"/>",TXT_HTMLB_HED_USEPORTALSTY:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_USEPORTALSTY']"/>",TXT_HTMLB_HED_TITLE_MOD_TB:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_TITLE_MOD_TB']"/>",TXT_HTMLB_HED_INS_SC:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_INS_SC']"/>",TXT_HTMLB_HED_CANCEL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_CANCEL']"/>",TXT_HTMLB_HED_ROWS:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ROWS']"/>",TXT_HTMLB_HED_TITLE_INS_TB:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_TITLE_INS_TB']"/>",TXT_HTMLB_HED_COLS:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_COLS']"/>",TXT_HTMLB_HED_AL_LEFT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_AL_LEFT']"/>",TXT_HTMLB_HED_AL_DEFAULT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_AL_DEFAULT']"/>",TXT_HTMLB_HED_WIDTH:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_WIDTH']"/>",TXT_HTMLB_HED_APPLY:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_APPLY']"/>",TXT_HTMLB_HED_OK:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_OK']"/>",TXT_HTMLB_HED_ALIGN:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_ALIGN']"/>",TXT_HTMLB_HED_AL_PROC:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_AL_PROC']"/>",TXT_HTMLB_HED_AL_PIX:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_AL_PIX']"/>",TXT_HTMLB_HED_CELLSPACE:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_CELLSPACE']"/>",TXT_HTMLB_HED_WEB_TEXT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_WEB_TEXT']"/>",TXT_HTMLB_HED_TITLE_MOD_WE:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_TITLE_MOD_WE']"/>",TXT_HTMLB_HED_SELECT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_SELECT']"/>",TXT_HTMLB_HED_TITLE_INS_WE:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_TITLE_INS_WE']"/>",TXT_HTMLB_HED_COPY:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_COPY']"/>",TXT_HTMLB_HED_SEL_IMG_LINK:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_SEL_IMG_LINK']"/>",TXT_HTMLB_HED_CUT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_CUT']"/>",TXT_HTMLB_HED_AL_BOTTOM:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_AL_BOTTOM']"/>",TXT_HTMLB_HED_SELALL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_SELALL']"/>",TXT_HTMLB_HED_BGCOLOR:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_BGCOLOR']"/>",TXT_HTMLB_HED_PADDING:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_PADDING']"/>",TXT_HTMLB_HED_MOD_CELL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_MOD_CELL']"/>",TXT_HTMLB_HED_WEB_OPEN:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_WEB_OPEN']"/>",TXT_HTMLB_HED_WEB_URL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_WEB_URL']"/>",TXT_HTMLB_HED_AL_BASE:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_AL_BASE']"/>",TXT_HTMLB_HED_AL_TOP:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_AL_TOP']"/>",TXT_HTMLB_HED_MOD_IMG:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_MOD_IMG']"/>",TXT_HTMLB_HED_VALIGN:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_VALIGN']"/>",TXT_HTMLB_HED_HALIGN:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_HALIGN']"/>",TXT_HTMLB_HED_HEIGHT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_HEIGHT']"/>",TXT_HTMLB_HED_PASTE:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_PASTE']"/>",TXT_HTMLB_HED_SEL_CELL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_SEL_CELL']"/>",TXT_HTMLB_HED_BLANK:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_BLANK']"/>",TXT_HTMLB_HED_PARENT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_PARENT']"/>",TXT_HTMLB_HED_SEARCH:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_SEARCH']"/>",TXT_HTMLB_HED_SEL_IMG:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_SEL_IMG']"/>",TXT_HTMLB_HED_SELF:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_SELF']"/>",TXT_HTMLB_HED_TOP:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_TOP']"/>",TXT_HTMLB_DELETETABLECOL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_DELETETABLECOL']"/>",TXT_HTMLB_INSERTTABLECOL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_INSERTTABLECOL']"/>",TXT_HTMLB_DELETETABLEROW:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_DELETETABLEROW']"/>",TXT_HTMLB_INSERTTABLEROW:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_INSERTTABLEROW']"/>",TXT_HTMLB_IMG_TEXT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_IMG_TEXT']"/>",TXT_HTMLB_EMPHASIZED:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_EMPHASIZED']"/>",TXT_HTMLB_LARGE:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_LARGE']"/>",TXT_HTMLB_LEGEND:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_LEGEND']"/>",TXT_HTMLB_MEDIUM:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_MEDIUM']"/>",TXT_HTMLB_MG_CELL_DOWN:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_MG_CELL_DOWN']"/>",TXT_HTMLB_MG_CELL_LEFT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_MG_CELL_LEFT']"/>",TXT_HTMLB_MG_CELL_RIGHT:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_MG_CELL_RIGHT']"/>",TXT_HTMLB_MG_CELL_UP:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_MG_CELL_UP']"/>",TXT_HTMLB_MONOSPACED:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_MONOSPACED']"/>",TXT_HTMLB_REFERENCE:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_REFERENCE']"/>",TXT_HTMLB_REQUIRED:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_REQUIRED']"/>",TXT_HTMLB_SMALL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_SMALL']"/>",TXT_HTMLB_STANDARD:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_STANDARD']"/>",TXT_HTMLB_STYLEH1:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_STYLEH1']"/>",TXT_HTMLB_STYLEH2:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_STYLEH2']"/>",TXT_HTMLB_STYLEH3:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_STYLEH3']"/>",TXT_HTMLB_STYLEH4:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_STYLEH4']"/>",TXT_HTMLB_TARGET_WIN:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_TARGET_WIN']"/>",TXT_HTMLB_XLARGE:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_XLARGE']"/>",TXT_HTMLB_XSMALL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_XSMALL']"/>",TXT_HTMLB_XXLARGE:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_XXLARGE']"/>",TXT_HTMLB_XXSMALL:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_XXSMALL']"/>",TXT_HTMLB_UNDO:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_UNDO']"/>",TXT_HTMLB_REDO:"<xsl:value-of select="$globalresources/TEXT[@AKEY='HE_REDO']"/>",TXT_HTMLB_ALL_COLS:"All Columns",SAPUR_MENUBAR_WHOLE:"Menu bar with {0} items - to move through items press left and right arrow keys.",TXT_HTMLB_APPLYTO:"Also Apply To",TXT_HTMLB_IMAGEPROP:"Image Properties",TXT_HTMLB_LINKPROP:"Link Properies",TXT_HTMLB_MODIFYTABLEPROP:"Modify Table",TXT_HTMLB_NOSIZE:"Default",TXT_HTMLB_NOSTYLE:"None",TXT_HTMLB_TABLECELLPROP:"Table Cell Properies",TXT_HTMLB_TABLEPROP:"Table Properties",TXT_HTMLB_TXTALIGN:"Text Alignment",TXT_HTMLB_WHOLE_ROW:"Whole Row",TXT_HTMLB_WHOLE_COL:"Whole Column"});</script>
    <xsl:if test="$use_light_editor='true'">
      <script language="JavaScript">htmlb_hed_startupHandler('body',<xsl:value-of select="$activateHTMLPaste"/>,<xsl:value-of select="$activateDragAndDrop"/>);</script>
    </xsl:if>
  </xsl:template>

</xsl:stylesheet>
