<?xml version="1.0" encoding="UTF-8"?>
  <!--
       Description   Edit XSL Transformation for Form Project XFBuilderTestProject
       Copyright     Copyright (c) SAP AG 2009
       Author        XML Forms Document Builder 1.0
       Version       3.3 2009-10-14
  -->
  <!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:include href="wcm://etc/xmlforms/htmledit/htmledit.xsl"/>
    <!--
         CUSTOM PARAMETERS SECTION
    -->
    <xsl:param name="ext_params_user"/>
    <xsl:param name="ext_params_image"/>
    <xsl:param name="ext_params_thumbnail"/>
    <xsl:param name="ext_params_date"/>
    <!--
         PIPELINE PARAMETERS SECTION
    -->
    <xsl:param name="urpopupjsurl"/>
    <xsl:param name="dataurl"/>
    <xsl:param name="sap_user"/>
    <xsl:param name="resfileext"/>
    <xsl:param name="packetNo">0</xsl:param>
    <xsl:param name="packetSize">5</xsl:param>
    <xsl:param name="system_config_activateInOutDent">init-value-has-to-be-overwritten</xsl:param>
    <xsl:param name="time"/>
    <xsl:param name="detailsurl"/>
    <xsl:param name="htmleditor"/>
    <xsl:param name="resfile">XFBuilderTestProject.xml</xsl:param>
    <xsl:param name="scheme"/>
    <xsl:param name="system_config_activateClipboard">init-value-has-to-be-overwritten</xsl:param>
    <xsl:param name="uselighteditor">false</xsl:param>
    <xsl:param name="accessibilitymode">false</xsl:param>
    <xsl:param name="docorientation"/>
    <xsl:param name="locDate"/>
    <xsl:param name="querystring"/>
    <xsl:param name="serverprefix"/>
    <xsl:param name="templates"/>
    <xsl:param name="fulldate"/>
    <xsl:param name="callbackurl"/>
    <xsl:param name="xmlformsbrowsers"/>
    <xsl:param name="serviceservlet"/>
    <xsl:param name="dataext"/>
    <xsl:param name="locTime"/>
    <xsl:param name="imagepath"/>
    <xsl:param name="sap_user_id"/>
    <xsl:param name="feedbackurl"/>
    <xsl:param name="system_config_activateTextSettings">init-value-has-to-be-overwritten</xsl:param>
    <xsl:param name="cssurl"/>
    <xsl:param name="resfilepostfix"/>
    <xsl:param name="css"/>
    <xsl:param name="previewservlet"/>
    <xsl:param name="datapath"/>
    <xsl:param name="system_config_activateHighSecure">init-value-has-to-be-overwritten</xsl:param>
    <xsl:param name="system_config_activateColorSettings">init-value-has-to-be-overwritten</xsl:param>
    <xsl:param name="contentaccess"/>
    <xsl:param name="servletpath"/>
    <xsl:param name="system_config_activateList">init-value-has-to-be-overwritten</xsl:param>
    <xsl:param name="date"/>
    <xsl:param name="authorpreviewresource"/>
    <xsl:param name="globalresfile">Global-ResourceFile.xml</xsl:param>
    <xsl:param name="querystringpart"/>
    <xsl:param name="browser"/>
    <xsl:param name="listservlet"/>
    <xsl:param name="javascriptpath"/>
    <xsl:param name="mimepath"/>
    <xsl:param name="clientcountry"/>
    <xsl:param name="navigationaccess"/>
    <xsl:param name="system_config_activateLinks">init-value-has-to-be-overwritten</xsl:param>
    <xsl:param name="serverport"/>
    <xsl:param name="simpledateformat">dd.MM.yyyy</xsl:param>
    <xsl:param name="servername"/>
    <xsl:param name="guid"/>
    <xsl:param name="sendtourl"/>
    <xsl:param name="projectroot"/>
    <xsl:param name="browserversion"/>
    <xsl:param name="allowhtml">false</xsl:param>
    <xsl:param name="system_config_activateTableFeatures">init-value-has-to-be-overwritten</xsl:param>
    <xsl:param name="xmlformsroot"/>
    <xsl:param name="urmapijsurl"/>
    <xsl:param name="sap_language"/>
    <xsl:param name="editservlet"/>
    <xsl:param name="editmode">edit</xsl:param>
    <xsl:param name="system_config_activateImage">init-value-has-to-be-overwritten</xsl:param>
    <xsl:variable select="'abcdefghijklmnopqrstuvwxyz'" name="lcletters"/>
    <xsl:variable select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" name="ucletters"/>
    <!--
         RESOURCE FILE DOCUMENT
    -->
    <xsl:variable select="document(concat('wcm:/',substring-after($xmlformsroot, $contentaccess), '/XFBuilderConfig/', $globalresfile))/ROOT/RESOURCES" name="globalresources"/>
    <xsl:variable select="document(concat('wcm:/',substring-after($xmlformsroot, $contentaccess), '/XFBuilderTestProject/', $resfile))/ROOT/RESOURCES" name="resources"/>
    <!--
         FORM PARAMETERS TEMPLATE
    -->
    <xsl:template match="xf:formsparameters">
      <xsl:apply-templates select="xf:param"/>
    </xsl:template>
    <!--
         FORM PARAMETER TEMPLATE
    -->
    <xsl:template match="xf:param">
      <xsl:if test="@type='hidden'">
        <input type="hidden">
          <xsl:attribute name="name">
            <xsl:value-of select="@name"/>
          </xsl:attribute>
          <xsl:attribute name="value">
            <xsl:value-of select="."/>
          </xsl:attribute>
        </input>
      </xsl:if>
    </xsl:template>
    <xsl:template match="xf:allowedvalues">
      <xsl:param select="combo" name="mode"/>
      <xsl:param name="inputname"/>
      <xsl:param name="value"/>
      <xsl:param select="__" name="default_value"/>
      <xsl:param select="__" name="default_display"/>
      <xsl:for-each select="xf:valuedef">
        <xsl:choose>
          <xsl:when test="($mode='combo_plus_default') and ($editmode='create')">
            <option>
              <xsl:attribute name="value">
                <xsl:value-of select="./xf:value"/>
              </xsl:attribute>
              <xsl:value-of select="./xf:name"/>
            </option>
          </xsl:when>
          <xsl:when test="($mode='combo') or ($mode='combo_plus_default')">
            <option>
              <xsl:attribute name="value">
                <xsl:value-of select="./xf:value"/>
              </xsl:attribute>
              <xsl:if test="$value=./xf:value">
                <xsl:attribute name="selected">true</xsl:attribute>
              </xsl:if>
              <xsl:value-of select="./xf:name"/>
            </option>
          </xsl:when>
          <xsl:when test="$mode='radio'">
            <p>
              <input type="radio">
                <xsl:attribute name="value">
                  <xsl:value-of select="./xf:value"/>
                </xsl:attribute>
                <xsl:attribute name="name">
                  <xsl:value-of select="$inputname"/>
                </xsl:attribute>
                <xsl:if test="$value=./xf:value">
                  <xsl:attribute name="checked"/>
                </xsl:if>
                <xsl:value-of select="./xf:name"/>
              </input>
            </p>
          </xsl:when>
        </xsl:choose>
      </xsl:for-each>
      <xsl:if test="($mode='combo_plus_default') and ($editmode='create')">
        <option>
          <xsl:attribute name="value">
            <xsl:value-of select="$default_value"/>
          </xsl:attribute>
          <xsl:attribute name="selected">true</xsl:attribute>
          <xsl:value-of select="$default_display"/>
        </option>
      </xsl:if>
    </xsl:template>
    <xsl:template name="outputvalue">
      <xsl:param name="value"/>
      <xsl:choose>
        <xsl:when test="$allowhtml!='false'">
          <xsl:value-of select="$value" disable-output-escaping="yes"/>
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="$value"/>
        </xsl:otherwise>
      </xsl:choose>
    </xsl:template>
    <xsl:template name="error_block_template">
      <xsl:param name="errText"/>
      <xsl:param name="variable"/>
      <xsl:param name="tabindex"/>
      <xsl:if test="./xf:ValidationError/@tagname=$variable and (normalize-space($errText)!='' or normalize-space(./xf:ValidationError[@tagname=$variable]/xf:message)!='')">
        <table cellpadding="1" cellspacing="0">
          <tr>
            <td valign="top" width="12">
              <span class="urMsgBarImgError">
                <img height="12" border="0" width="12">
                  <xsl:if test="$accessibilitymode='true'">
                    <xsl:attribute name="tabindex">
                      <xsl:value-of select="$tabindex"/>
                    </xsl:attribute>
                  </xsl:if>
                  <xsl:attribute name="src">
                    <xsl:value-of select="$contentaccess">/etc/xmlforms/XFBuilderConfig/transpix.gif</xsl:value-of>
                  </xsl:attribute>
                  <xsl:attribute name="alt">
                    <xsl:value-of select="$globalresources/TEXT[@AKEY='XF_ALT_ERROR']"/>
                  </xsl:attribute>
                  <xsl:attribute name="title">
                    <xsl:value-of select="$globalresources/TEXT[@AKEY='XF_ALT_ERROR']"/>
                  </xsl:attribute>
                </img>
              </span>
            </td>
            <td valign="top">
              <font class="urTxtLbl">
                <span>
                  <xsl:if test="$accessibilitymode='true'">
                    <xsl:attribute name="tabindex">
                      <xsl:value-of select="$tabindex"/>
                    </xsl:attribute>
                  </xsl:if>
                  <xsl:value-of select="$errText"/>
                  <xsl:choose>
                    <xsl:when test="normalize-space(./xf:ValidationError[@tagname=$variable]/xf:message)!=''">
                      <xsl:if test="normalize-space($errText)!=''">
                        <xsl:value-of select="' '"/>
                      </xsl:if>
                      <xsl:value-of select="./xf:ValidationError[@tagname=$variable]/xf:message"/>
                    </xsl:when>
                  </xsl:choose>
                </span>
              </font>
            </td>
          </tr>
        </table>
      </xsl:if>
    </xsl:template>
    <xsl:template name="printPropValues">
      <xsl:param name="propId"/>
      <xsl:param name="display"/>
      <xsl:param select="'false'" name="disableOutputEscaping"/>
      <xsl:param select="','" name="separator"/>
      <xsl:param name="mailto"/>
      <xsl:param name="tabIndex"/>
      <xsl:param name="forceTabindexAdding"/>
      <xsl:param select="'false'" name="useDisplayName"/>
      <xsl:for-each select="xf:resourceproperties/xf:property[@id=$propId]/xf:values/xf:valuedef">
        <xsl:choose>
          <xsl:when test="($mailto!='') and (xf:displayValue[@param=$mailto]) and (xf:displayValue[@param=$mailto]!='')">
            <xsl:choose>
              <xsl:when test="($display!='') and (xf:displayValue[@param=$display]) and (xf:displayValue[@param=$display]!='')">
                <xsl:if test="($separator!='') and (position()&gt;1)">
                  <xsl:value-of select="$separator"/>
                </xsl:if>
                <a>
                  <xsl:attribute name="href">mailto:<xsl:value-of select="xf:displayValue[@param=$mailto]"/>
                  </xsl:attribute>
                  <xsl:attribute name="tabindex">
                    <xsl:value-of select="$tabIndex"/>
                  </xsl:attribute>
                  <xsl:choose>
                    <xsl:when test="($disableOutputEscaping='yes') and ($allowhtml!='false')">
                      <xsl:value-of select="xf:displayValue[@param=$display]" disable-output-escaping="yes"/>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:value-of select="xf:displayValue[@param=$display]"/>
                    </xsl:otherwise>
                  </xsl:choose>
                </a>
              </xsl:when>
              <xsl:when test="($useDisplayName='true') and (xf:displayValue[@default='true']) and (xf:displayValue[@default='true']!='')">
                <xsl:if test="($separator!='') and (position()&gt;1)">
                  <xsl:value-of select="$separator"/>
                </xsl:if>
                <a>
                  <xsl:attribute name="href">mailto:<xsl:value-of select="xf:displayValue[@param=$mailto]"/>
                  </xsl:attribute>
                  <xsl:attribute name="tabindex">
                    <xsl:value-of select="$tabIndex"/>
                  </xsl:attribute>
                  <xsl:choose>
                    <xsl:when test="($disableOutputEscaping='yes') and ($allowhtml!='false')">
                      <xsl:value-of select="xf:displayValue[@default='true']" disable-output-escaping="yes"/>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:value-of select="xf:displayValue[@default='true']"/>
                    </xsl:otherwise>
                  </xsl:choose>
                </a>
              </xsl:when>
              <xsl:otherwise>
                <xsl:if test="(xf:value) and (xf:value!='')">
                  <xsl:if test="($separator!='') and (position()&gt;1)">
                    <xsl:value-of select="$separator"/>
                  </xsl:if>
                  <a>
                    <xsl:attribute name="href">mailto:<xsl:value-of select="xf:displayValue[@param=$mailto]"/>
                    </xsl:attribute>
                    <xsl:attribute name="tabindex">
                      <xsl:value-of select="$tabIndex"/>
                    </xsl:attribute>
                    <xsl:choose>
                      <xsl:when test="($disableOutputEscaping='yes') and ($allowhtml!='false')">
                        <xsl:value-of select="xf:value" disable-output-escaping="yes"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="xf:value"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </a>
                </xsl:if>
              </xsl:otherwise>
            </xsl:choose>
          </xsl:when>
          <xsl:otherwise>
            <xsl:choose>
              <xsl:when test="($display!='') and (xf:displayValue[@param=$display]) and (xf:displayValue[@param=$display]!='')">
                <xsl:if test="($separator!='') and (position()&gt;1)">
                  <xsl:value-of select="$separator"/>
                </xsl:if>
                <xsl:choose>
                  <xsl:when test="$forceTabindexAdding!=''">
                    <span tabindex="0">
                      <xsl:choose>
                      <xsl:when test="($disableOutputEscaping='yes') and ($allowhtml!='false')">
                          <xsl:value-of select="xf:displayValue[@param=$display]" disable-output-escaping="yes"/>
                        </xsl:when>
                      <xsl:otherwise>
                          <xsl:value-of select="xf:displayValue[@param=$display]"/>
                        </xsl:otherwise>
                    </xsl:choose>
                    </span>
                  </xsl:when>
                  <xsl:otherwise>
                    <xsl:choose>
                      <xsl:when test="($disableOutputEscaping='yes') and ($allowhtml!='false')">
                          <xsl:value-of select="xf:displayValue[@param=$display]" disable-output-escaping="yes"/>
                        </xsl:when>
                      <xsl:otherwise>
                          <xsl:value-of select="xf:displayValue[@param=$display]"/>
                        </xsl:otherwise>
                    </xsl:choose>
                  </xsl:otherwise>
                </xsl:choose>
              </xsl:when>
              <xsl:when test="($useDisplayName='true') and (xf:displayValue[@default='true']) and (xf:displayValue[@default='true']!='')">
                <xsl:if test="($separator!='') and (position()&gt;1)">
                  <xsl:value-of select="$separator"/>
                </xsl:if>
                <xsl:choose>
                  <xsl:when test="$forceTabindexAdding!=''">
                    <span tabindex="0">
                      <xsl:choose>
                      <xsl:when test="($disableOutputEscaping='yes') and ($allowhtml!='false')">
                          <xsl:value-of select="xf:displayValue[@default='true']" disable-output-escaping="yes"/>
                        </xsl:when>
                      <xsl:otherwise>
                          <xsl:value-of select="xf:displayValue[@default='true']"/>
                        </xsl:otherwise>
                    </xsl:choose>
                    </span>
                  </xsl:when>
                  <xsl:otherwise>
                    <xsl:choose>
                      <xsl:when test="($disableOutputEscaping='yes') and ($allowhtml!='false')">
                          <xsl:value-of select="xf:displayValue[@default='true']" disable-output-escaping="yes"/>
                        </xsl:when>
                      <xsl:otherwise>
                          <xsl:value-of select="xf:displayValue[@default='true']"/>
                        </xsl:otherwise>
                    </xsl:choose>
                  </xsl:otherwise>
                </xsl:choose>
              </xsl:when>
              <xsl:otherwise>
                <xsl:if test="(xf:value) and (xf:value!='')">
                  <xsl:if test="($separator!='') and (position()&gt;1)">
                    <xsl:value-of select="$separator"/>
                  </xsl:if>
                  <xsl:choose>
                    <xsl:when test="$forceTabindexAdding!=''">
                      <span tabindex="0">
                        <xsl:choose>
                        <xsl:when test="($disableOutputEscaping='yes') and ($allowhtml!='false')">
                            <xsl:value-of select="xf:value" disable-output-escaping="yes"/>
                          </xsl:when>
                        <xsl:otherwise>
                            <xsl:value-of select="xf:value"/>
                          </xsl:otherwise>
                      </xsl:choose>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:choose>
                        <xsl:when test="($disableOutputEscaping='yes') and ($allowhtml!='false')">
                            <xsl:value-of select="xf:value" disable-output-escaping="yes"/>
                          </xsl:when>
                        <xsl:otherwise>
                            <xsl:value-of select="xf:value"/>
                          </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </xsl:if>
              </xsl:otherwise>
            </xsl:choose>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:for-each>
    </xsl:template>
    <!--
         MAIN ITEM TEMPLATE
    -->
    <xsl:template name="item">
      <table width="100%" class="urGrpBdyBoxBgColor" cellpadding="1" cellspacing="1">
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;0%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;0%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="51%" rowspan="1" align="left" colspan="9">
            <p align="left">
              <span class="urTxtH2">
                <span>
                  <xsl:attribute name="tabindex">
                    <xsl:if test="$accessibilitymode='true'">11133</xsl:if>
                  </xsl:attribute>
                  <nobr>
                    <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243817']"/>
                  </nobr>
                </span>
              </span>
            </p>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="(./xf:ValidationError/@tagname='f_string') or (./xf:ValidationError/@tagname='wcmprop.default:displayname')">
                      <span class="urTxtNeg">
                        <label ffoorr="field_1074590243772" onclick="xf_focusLabel(this);" id="label_field_1074590243772">
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243807']"/>
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'"> *</xsl:when>
                            <xsl:otherwise> *</xsl:otherwise>
                          </xsl:choose>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label ffoorr="field_1074590243772" onclick="xf_focusLabel(this);" id="label_field_1074590243772">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243807']"/>
                        <span class="urTxtNeg">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'"> *</xsl:when>
                            <xsl:otherwise> *</xsl:otherwise>
                          </xsl:choose>
                        </span>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="34%" rowspan="1" align="left" colspan="6">
            <nobr>
              <!--
                   field f_string property default:displayname
              -->
              <xsl:choose>
                <xsl:when test="f_string='' and ($editmode='create')">
                  <xsl:choose>
                    <xsl:when test="(./xf:ValidationError/@tagname='f_string') or (./xf:ValidationError/@tagname='wcmprop.default:displayname')">
                      <input size="30" type="text" value="" class="urEdfiTxtEnbl" id="field_1074590243772">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, 'true', '<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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, 'true', '<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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">7</xsl:when>
                            <xsl:otherwise>11135</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                        <xsl:attribute name="name">f_string/wcmprop.default:displayname</xsl:attribute>
                      </input>
                    </xsl:when>
                    <xsl:otherwise>
                      <input size="30" type="text" value="" class="urEdfTxtEnbl" id="field_1074590243772">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, 'true', '<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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, 'true', '<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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">11135</xsl:attribute>
                        <xsl:attribute name="name">f_string/wcmprop.default:displayname</xsl:attribute>
                      </input>
                    </xsl:otherwise>
                  </xsl:choose>
                  <!--
                       error block for f_string
                  -->
                  <xsl:call-template name="error_block_template">
                    <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243772']" name="errText"/>
                    <xsl:with-param select="'f_string'" name="variable"/>
                    <xsl:with-param select="'6'" name="tabindex"/>
                  </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:choose>
                    <xsl:when test="(./xf:ValidationError/@tagname='f_string') or (./xf:ValidationError/@tagname='wcmprop.default:displayname')">
                      <input size="30" type="text" class="urEdfiTxtEnbl" id="field_1074590243772">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, 'true', '<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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, 'true', '<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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">7</xsl:when>
                            <xsl:otherwise>11135</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                        <xsl:attribute name="name">f_string/wcmprop.default:displayname</xsl:attribute>
                        <xsl:attribute name="value">
                          <xsl:value-of select="f_string"/>
                        </xsl:attribute>
                      </input>
                    </xsl:when>
                    <xsl:otherwise>
                      <input size="30" type="text" class="urEdfTxtEnbl" id="field_1074590243772">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, 'true', '<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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, 'true', '<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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">11135</xsl:attribute>
                        <xsl:attribute name="name">f_string/wcmprop.default:displayname</xsl:attribute>
                        <xsl:attribute name="value">
                          <xsl:value-of select="f_string"/>
                        </xsl:attribute>
                      </input>
                    </xsl:otherwise>
                  </xsl:choose>
                  <!--
                       error block for f_string
                  -->
                  <xsl:call-template name="error_block_template">
                    <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243772']" name="errText"/>
                    <xsl:with-param select="'f_string'" name="variable"/>
                    <xsl:with-param select="'6'" name="tabindex"/>
                  </xsl:call-template>
                </xsl:otherwise>
              </xsl:choose>
            </nobr>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_time'">
                      <span class="urTxtNeg">
                        <label ffoorr="field_1074590243755" onclick="xf_focusLabel(this);" id="label_field_1074590243755">
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243808']"/>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label ffoorr="field_1074590243755" onclick="xf_focusLabel(this);" id="label_field_1074590243755">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243808']"/>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="34%" rowspan="1" align="left" colspan="6">
            <nobr>
              <!--
                   field f_time
              -->
              <xsl:choose>
                <xsl:when test="f_time='' and ($editmode='create')">
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_time'">
                      <input name="f_time" size="30" type="text" value="" class="urEdfiTxtEnbl" id="field_1074590243755">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">11</xsl:when>
                            <xsl:otherwise>11137</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                      </input>
                    </xsl:when>
                    <xsl:otherwise>
                      <input name="f_time" size="30" type="text" value="" class="urEdfTxtEnbl" id="field_1074590243755">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">11137</xsl:attribute>
                      </input>
                    </xsl:otherwise>
                  </xsl:choose>
                  <!--
                       error block for f_time
                  -->
                  <xsl:call-template name="error_block_template">
                    <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243755']" name="errText"/>
                    <xsl:with-param select="'f_time'" name="variable"/>
                    <xsl:with-param select="'10'" name="tabindex"/>
                  </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_time'">
                      <input name="f_time" size="30" type="text" class="urEdfiTxtEnbl" id="field_1074590243755">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">11</xsl:when>
                            <xsl:otherwise>11137</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                        <xsl:attribute name="value">
                          <xsl:value-of select="f_time"/>
                        </xsl:attribute>
                      </input>
                    </xsl:when>
                    <xsl:otherwise>
                      <input name="f_time" size="30" type="text" class="urEdfTxtEnbl" id="field_1074590243755">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">11137</xsl:attribute>
                        <xsl:attribute name="value">
                          <xsl:value-of select="f_time"/>
                        </xsl:attribute>
                      </input>
                    </xsl:otherwise>
                  </xsl:choose>
                  <!--
                       error block for f_time
                  -->
                  <xsl:call-template name="error_block_template">
                    <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243755']" name="errText"/>
                    <xsl:with-param select="'f_time'" name="variable"/>
                    <xsl:with-param select="'10'" name="tabindex"/>
                  </xsl:call-template>
                </xsl:otherwise>
              </xsl:choose>
            </nobr>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <xsl:choose>
                  <xsl:when test="./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO' or (./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO_date___') or (./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO_time___')">
                    <span class="urTxtNeg">
                      <label ffoorr="field_1074590243773_date___" onclick="xf_focusLabel(this);" id="label_field_1074590243773_date___">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243912']"/>
                      </label>
                    </span>
                  </xsl:when>
                  <xsl:otherwise>
                    <label ffoorr="field_1074590243773_date___" onclick="xf_focusLabel(this);" id="label_field_1074590243773_date___">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243912']"/>
                    </label>
                  </xsl:otherwise>
                </xsl:choose>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="30%" rowspan="1" align="left" colspan="5">
            <table cellpadding="0" cellspacing="0">
              <tr>
                <td>
                  <table cellpadding="0" cellspacing="0">
                    <tr>
                      <td>
                        <!--
                             property tbp:VALIDTO_date___
                        -->
                        <xsl:choose>
                          <xsl:when test="(not(./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_date___']) or not(./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_date___']/xf:values/xf:valuedef/xf:value) or ./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_date___']/xf:values/xf:valuedef/xf:value='') and ($editmode='create')">
                            <xsl:choose>
                              <xsl:when test="./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO' or (./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO_date___')">
                                <input name="wcmprop.tbp:VALIDTO_date___" maxlength="10" size="12" type="text" value="" class="urEdfiTxtEnbl" id="field_1074590243773_date___">
                                  <xsl:attribute name="title">
                                    <xsl:value-of select="./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_date___']/xf:values/xf:valuedef/xf:value"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_T_1074590243773_date___']"/>
                                  </xsl:attribute>
                                  <xsl:choose>
                                    <xsl:when test="$accessibilitymode='true'">
                                      <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                                  </xsl:choose>
                                  <xsl:attribute name="tabindex">
                                    <xsl:choose>
                                      <xsl:when test="$accessibilitymode='true'">15</xsl:when>
                                      <xsl:otherwise>11139</xsl:otherwise>
                                    </xsl:choose>
                                  </xsl:attribute>
                                </input>
                              </xsl:when>
                              <xsl:otherwise>
                                <input name="wcmprop.tbp:VALIDTO_date___" maxlength="10" size="12" type="text" value="" class="urEdfTxtEnbl" id="field_1074590243773_date___">
                                  <xsl:attribute name="title">
                                    <xsl:value-of select="./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_date___']/xf:values/xf:valuedef/xf:value"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_T_1074590243773_date___']"/>
                                  </xsl:attribute>
                                  <xsl:choose>
                                    <xsl:when test="$accessibilitymode='true'">
                                      <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                                  </xsl:choose>
                                  <xsl:attribute name="tabindex">11139</xsl:attribute>
                                </input>
                              </xsl:otherwise>
                            </xsl:choose>
                          </xsl:when>
                          <xsl:otherwise>
                            <xsl:choose>
                              <xsl:when test="./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO' or (./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO_date___')">
                                <input name="wcmprop.tbp:VALIDTO_date___" maxlength="10" size="12" type="text" class="urEdfiTxtEnbl" id="field_1074590243773_date___">
                                  <xsl:attribute name="title">
                                    <xsl:value-of select="./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_date___']/xf:values/xf:valuedef/xf:value"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_T_1074590243773_date___']"/>
                                  </xsl:attribute>
                                  <xsl:choose>
                                    <xsl:when test="$accessibilitymode='true'">
                                      <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                                  </xsl:choose>
                                  <xsl:attribute name="tabindex">
                                    <xsl:choose>
                                      <xsl:when test="$accessibilitymode='true'">15</xsl:when>
                                      <xsl:otherwise>11139</xsl:otherwise>
                                    </xsl:choose>
                                  </xsl:attribute>
                                  <xsl:attribute name="value">
                                    <xsl:call-template name="printPropValues">
                                      <xsl:with-param select="'tbp:VALIDTO_date___'" name="propId"/>
                                      <xsl:with-param select="'no'" name="disableOutputEscaping"/>
                                      <xsl:with-param select="'false'" name="useDisplayName"/>
                                    </xsl:call-template>
                                  </xsl:attribute>
                                </input>
                              </xsl:when>
                              <xsl:otherwise>
                                <input name="wcmprop.tbp:VALIDTO_date___" maxlength="10" size="12" type="text" class="urEdfTxtEnbl" id="field_1074590243773_date___">
                                  <xsl:attribute name="title">
                                    <xsl:value-of select="./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_date___']/xf:values/xf:valuedef/xf:value"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_T_1074590243773_date___']"/>
                                  </xsl:attribute>
                                  <xsl:choose>
                                    <xsl:when test="$accessibilitymode='true'">
                                      <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                                  </xsl:choose>
                                  <xsl:attribute name="tabindex">11139</xsl:attribute>
                                  <xsl:attribute name="value">
                                    <xsl:call-template name="printPropValues">
                                      <xsl:with-param select="'tbp:VALIDTO_date___'" name="propId"/>
                                      <xsl:with-param select="'no'" name="disableOutputEscaping"/>
                                      <xsl:with-param select="'false'" name="useDisplayName"/>
                                    </xsl:call-template>
                                  </xsl:attribute>
                                </input>
                              </xsl:otherwise>
                            </xsl:choose>
                          </xsl:otherwise>
                        </xsl:choose>
                      </td>
                      <td>
                        <xsl:choose>
                          <xsl:when test="./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO' or (./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO_date___')">
                            <nobr>
                              <a class="urEdfHlpDate">
                                <xsl:attribute name="title">
                                  <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243773_date___']"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243773_date___']"/>
                                </xsl:attribute>
                                <xsl:attribute name="tabindex">
                                  <xsl:choose>
                                    <xsl:when test="$accessibilitymode='true'">17</xsl:when>
                                    <xsl:otherwise>11140</xsl:otherwise>
                                  </xsl:choose>
                                </xsl:attribute>
                                <xsl:attribute name="href">JavaScript:openChildBrowserControl(document.rootform__.field_1074590243773_date___,'?StartPage=StartDate<xsl:if test="$ext_params_date and $ext_params_date!=''">&amp;<xsl:value-of select="$ext_params_date"/>
                                  </xsl:if>','StringFromParent',450,230)</xsl:attribute>
                                <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243773_date___']"/>
                              </a>
                            </nobr>
                          </xsl:when>
                          <xsl:otherwise>
                            <nobr>
                              <a class="urEdfHlpDate">
                                <xsl:attribute name="title">
                                  <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243773_date___']"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243773_date___']"/>
                                </xsl:attribute>
                                <xsl:attribute name="tabindex">11141</xsl:attribute>
                                <xsl:attribute name="href">JavaScript:openChildBrowserControl(document.rootform__.field_1074590243773_date___,'?StartPage=StartDate<xsl:if test="$ext_params_date and $ext_params_date!=''">&amp;<xsl:value-of select="$ext_params_date"/>
                                  </xsl:if>','StringFromParent',450,230)</xsl:attribute>
                                <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243773_date___']"/>
                              </a>
                            </nobr>
                          </xsl:otherwise>
                        </xsl:choose>
                      </td>
                    </tr>
                  </table>
                </td>
                <td>&nbsp;</td>
                <td>
                  <!--
                       property tbp:VALIDTO_time___
                  -->
                  <xsl:choose>
                    <xsl:when test="(not(./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_time___']) or not(./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_time___']/xf:values/xf:valuedef/xf:value) or ./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_time___']/xf:values/xf:valuedef/xf:value='') and ($editmode='create')">
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO' or (./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO_time___')">
                          <input name="wcmprop.tbp:VALIDTO_time___" maxlength="8" size="8" type="text" value="" class="urEdfiTxtEnbl" id="field_1074590243773_time___">
                            <xsl:attribute name="title">
                              <xsl:value-of select="./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_time___']/xf:values/xf:valuedef/xf:value"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_T_1074590243773_time___']"/>
                            </xsl:attribute>
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">21</xsl:when>
                                <xsl:otherwise>11142</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="wcmprop.tbp:VALIDTO_time___" maxlength="8" size="8" type="text" value="" class="urEdfTxtEnbl" id="field_1074590243773_time___">
                            <xsl:attribute name="title">
                              <xsl:value-of select="./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_time___']/xf:values/xf:valuedef/xf:value"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_T_1074590243773_time___']"/>
                            </xsl:attribute>
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11142</xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO' or (./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO_time___')">
                          <input name="wcmprop.tbp:VALIDTO_time___" maxlength="8" size="8" type="text" class="urEdfiTxtEnbl" id="field_1074590243773_time___">
                            <xsl:attribute name="title">
                              <xsl:value-of select="./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_time___']/xf:values/xf:valuedef/xf:value"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_T_1074590243773_time___']"/>
                            </xsl:attribute>
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">21</xsl:when>
                                <xsl:otherwise>11142</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:call-template name="printPropValues">
                                <xsl:with-param select="'tbp:VALIDTO_time___'" name="propId"/>
                                <xsl:with-param select="'no'" name="disableOutputEscaping"/>
                                <xsl:with-param select="'false'" name="useDisplayName"/>
                              </xsl:call-template>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="wcmprop.tbp:VALIDTO_time___" maxlength="8" size="8" type="text" class="urEdfTxtEnbl" id="field_1074590243773_time___">
                            <xsl:attribute name="title">
                              <xsl:value-of select="./xf:resourceproperties/xf:property[@id='tbp:VALIDTO_time___']/xf:values/xf:valuedef/xf:value"/> - <xsl:value-of select="$resources/TEXT[@AKEY='tol_T_1074590243773_time___']"/>
                            </xsl:attribute>
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11142</xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:call-template name="printPropValues">
                                <xsl:with-param select="'tbp:VALIDTO_time___'" name="propId"/>
                                <xsl:with-param select="'no'" name="disableOutputEscaping"/>
                                <xsl:with-param select="'false'" name="useDisplayName"/>
                              </xsl:call-template>
                            </xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </td>
              </tr>
            </table>
            <!--
                 error block for tbp:VALIDTO
            -->
            <xsl:if test="./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO' or (./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO_date___') or (./xf:ValidationError/@tagname='wcmprop.tbp:VALIDTO_time___') and (normalize-space($resources/TEXT[@AKEY='msg_H_1074590243773'])!='' or normalize-space(./xf:ValidationError[@tagname='wcmprop.tbp:VALIDTO_date___']/xf:message)!='' or normalize-space(./xf:ValidationError[@tagname='wcmprop.tbp:VALIDTO_time___']/xf:message)!='' or normalize-space(./xf:ValidationError[@tagname='wcmprop.tbp:VALIDTO']/xf:message)!='')">
              <table cellpadding="1" cellspacing="0">
                <tr>
                  <td valign="top" width="6">
                    <img>
                      <xsl:attribute name="src"><xsl:value-of select="$imagepath"/>/status_error.gif</xsl:attribute>
                    </img>
                  </td>
                  <td valign="top">
                    <font class="urTxtLbl">
                      <a>
                        <xsl:attribute name="tabindex">
                          <xsl:if test="$accessibilitymode='true'">14</xsl:if>
                        </xsl:attribute>
                        <xsl:value-of select="$resources/TEXT[@AKEY='null']"/>
                        <xsl:choose>
                          <xsl:when test="normalize-space(./xf:ValidationError[@tagname='wcmprop.tbp:VALIDTO_date___']/xf:message)!=''">
                            <xsl:if test="normalize-space($resources/TEXT[@AKEY='msg_H_1074590243773'])!=''">
                              <xsl:value-of select="' '"/>
                            </xsl:if>
                            <xsl:value-of select="./xf:ValidationError[@tagname='wcmprop.tbp:VALIDTO_date___']/xf:message"/>
                          </xsl:when>
                          <xsl:when test="normalize-space(./xf:ValidationError[@tagname='wcmprop.tbp:VALIDTO_time___']/xf:message)!=''">
                            <xsl:if test="normalize-space($resources/TEXT[@AKEY='msg_H_1074590243773'])!=''">
                              <xsl:value-of select="' '"/>
                            </xsl:if>
                            <xsl:value-of select="./xf:ValidationError[@tagname='wcmprop.tbp:VALIDTO_time___']/xf:message"/>
                          </xsl:when>
                          <xsl:when test="normalize-space(./xf:ValidationError[@tagname='wcmprop.tbp:VALIDTO']/xf:message)!=''">
                            <xsl:if test="normalize-space($resources/TEXT[@AKEY='msg_H_1074590243773'])!=''">
                              <xsl:value-of select="' '"/>
                            </xsl:if>
                            <xsl:value-of select="./xf:ValidationError[@tagname='wcmprop.tbp:VALIDTO']/xf:message"/>
                          </xsl:when>
                        </xsl:choose>
                      </a>
                    </font>
                  </td>
                </tr>
              </table>
            </xsl:if>
            <input name="wcmprop.tbp:VALIDTO" type="hidden" value="" id="field_1074590243773"/>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <xsl:choose>
                  <xsl:when test="./xf:ValidationError/@tagname='f_date'">
                    <span class="urTxtNeg">
                      <label ffoorr="field_1074590243758" onclick="xf_focusLabel(this);" id="label_field_1074590243758">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243915']"/>
                      </label>
                    </span>
                  </xsl:when>
                  <xsl:otherwise>
                    <label ffoorr="field_1074590243758" onclick="xf_focusLabel(this);" id="label_field_1074590243758">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243915']"/>
                    </label>
                  </xsl:otherwise>
                </xsl:choose>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="37%" rowspan="1" align="left" colspan="7">
            <table cellpadding="0" cellspacing="0">
              <tr>
                <td>
                  <!--
                       field f_date
                  -->
                  <xsl:choose>
                    <xsl:when test="f_date='' and ($editmode='create')">
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_date'">
                          <input name="f_date" size="30" type="text" value="" class="urEdfiTxtEnbl" id="field_1074590243758">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">25</xsl:when>
                                <xsl:otherwise>11144</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="f_date" size="30" type="text" value="" class="urEdfTxtEnbl" id="field_1074590243758">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11144</xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_date'">
                          <input name="f_date" size="30" type="text" class="urEdfiTxtEnbl" id="field_1074590243758">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">25</xsl:when>
                                <xsl:otherwise>11144</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:value-of select="f_date"/>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="f_date" size="30" type="text" class="urEdfTxtEnbl" id="field_1074590243758">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11144</xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:value-of select="f_date"/>
                            </xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </td>
                <td>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_date'">
                      <button type="button" class="urEdfHlpF4" id="1074590243758">
                        <xsl:attribute name="onclick">javascript:openChildBrowserControl(document.rootform__.field_1074590243758,'?StartPage=StartDate<xsl:if test="$ext_params_date and $ext_params_date!=''">&amp;<xsl:value-of select="$ext_params_date"/>
                          </xsl:if>','StringFromParent',450,230)</xsl:attribute>
                        <xsl:attribute name="title">
                          <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243758']"/>
                        </xsl:attribute>
                      </button>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_date'">
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">26</xsl:when>
                              <xsl:otherwise>11144</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">11145</xsl:when>
                              <xsl:otherwise>11144</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <button type="button" class="urEdfHlpF4" id="1074590243758">
                        <xsl:attribute name="onclick">javascript:openChildBrowserControl(document.rootform__.field_1074590243758,'?StartPage=StartDate<xsl:if test="$ext_params_date and $ext_params_date!=''">&amp;<xsl:value-of select="$ext_params_date"/>
                          </xsl:if>','StringFromParent',450,230)</xsl:attribute>
                        <xsl:attribute name="title">
                          <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243758']"/>
                        </xsl:attribute>
                      </button>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_date'">
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">26</xsl:when>
                              <xsl:otherwise>11144</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">11145</xsl:when>
                              <xsl:otherwise>11144</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </td>
              </tr>
            </table>
          </td>
          <td height="3%" valign="top" width="45%"/>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_image'">
                      <span class="urTxtNeg">
                        <label ffoorr="field_1074590243774" onclick="xf_focusLabel(this);" id="label_field_1074590243774">
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243809']"/>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label ffoorr="field_1074590243774" onclick="xf_focusLabel(this);" id="label_field_1074590243774">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243809']"/>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="37%" rowspan="1" align="left" colspan="7">
            <table cellpadding="0" cellspacing="0">
              <tr>
                <td>
                  <!--
                       field f_image
                  -->
                  <xsl:choose>
                    <xsl:when test="f_image='' and ($editmode='create')">
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_image'">
                          <input name="f_image" size="30" type="text" value="" class="urEdfiTxtEnbl" id="field_1074590243774">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">29</xsl:when>
                                <xsl:otherwise>11146</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="f_image" size="30" type="text" value="" class="urEdfTxtEnbl" id="field_1074590243774">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11146</xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_image'">
                          <input name="f_image" size="30" type="text" class="urEdfiTxtEnbl" id="field_1074590243774">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">29</xsl:when>
                                <xsl:otherwise>11146</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:value-of select="f_image"/>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="f_image" size="30" type="text" class="urEdfTxtEnbl" id="field_1074590243774">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11146</xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:value-of select="f_image"/>
                            </xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </td>
                <td>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_image'">
                      <button type="button" class="urEdfHlpF4" id="1074590243774">
                        <xsl:attribute name="onclick">javascript:openChildBrowserControl(document.rootform__.field_1074590243774,'?UseAdapterUICommand=true&amp;Uri=<xsl:choose>
                            <xsl:when test="$projectroot!=''">
                              <xsl:value-of select="$projectroot"/>
                            </xsl:when>
                            <xsl:otherwise>/documents</xsl:otherwise>
                          </xsl:choose>&amp;StartUri=<xsl:choose>
                            <xsl:when test="$projectroot!=''">
                              <xsl:value-of select="$projectroot"/>
                            </xsl:when>
                            <xsl:otherwise>/documents</xsl:otherwise>
                          </xsl:choose>&amp;StartPage=StartNavigation&amp;AdapterUICommand=select_single_image_with_upload<xsl:if test="$ext_params_thumbnail and $ext_params_thumbnail!=''">&amp;<xsl:value-of select="$ext_params_thumbnail"/>
                          </xsl:if>','StringFromParent',500,460)</xsl:attribute>
                        <xsl:attribute name="title">
                          <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243774']"/>
                        </xsl:attribute>
                      </button>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_image'">
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">30</xsl:when>
                              <xsl:otherwise>11146</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">11147</xsl:when>
                              <xsl:otherwise>11146</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <button type="button" class="urEdfHlpF4" id="1074590243774">
                        <xsl:attribute name="onclick">javascript:openChildBrowserControl(document.rootform__.field_1074590243774,'?UseAdapterUICommand=true&amp;Uri=<xsl:choose>
                            <xsl:when test="$projectroot!=''">
                              <xsl:value-of select="$projectroot"/>
                            </xsl:when>
                            <xsl:otherwise>/documents</xsl:otherwise>
                          </xsl:choose>&amp;StartUri=<xsl:choose>
                            <xsl:when test="$projectroot!=''">
                              <xsl:value-of select="$projectroot"/>
                            </xsl:when>
                            <xsl:otherwise>/documents</xsl:otherwise>
                          </xsl:choose>&amp;StartPage=StartNavigation&amp;AdapterUICommand=select_single_image_with_upload<xsl:if test="$ext_params_thumbnail and $ext_params_thumbnail!=''">&amp;<xsl:value-of select="$ext_params_thumbnail"/>
                          </xsl:if>','StringFromParent',500,460)</xsl:attribute>
                        <xsl:attribute name="title">
                          <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243774']"/>
                        </xsl:attribute>
                      </button>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_image'">
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">30</xsl:when>
                              <xsl:otherwise>11146</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">11147</xsl:when>
                              <xsl:otherwise>11146</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </td>
              </tr>
            </table>
            <!--
                 error block for f_image
            -->
            <xsl:call-template name="error_block_template">
              <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243774']" name="errText"/>
              <xsl:with-param select="'f_image'" name="variable"/>
              <xsl:with-param select="'28'" name="tabindex"/>
            </xsl:call-template>
          </td>
          <td height="3%" valign="top" width="45%"/>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_HTML'">
                      <span class="urTxtNeg">
                        <label ffoorr="field_1074590243775" onclick="xf_focusLabel(this);" id="label_field_1074590243775">
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243810']"/>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label ffoorr="field_1074590243775" onclick="xf_focusLabel(this);" id="label_field_1074590243775">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243810']"/>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="13%" valign="top" width="34%" rowspan="2" align="left" colspan="6">
            <!--
                 text area for element f_HTML
            -->
            <xsl:if test="f_HTML='' and ($editmode='create')">
              <textarea name="f_HTML" wrap="true" class="urTedWhl" rows="5" cols="42" id="field_1074590243775">
                <xsl:choose>
                  <xsl:when test="$accessibilitymode='true'">
                    <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                </xsl:choose>
                <xsl:choose>
                  <xsl:when test="./xf:ValidationError/@tagname='f_HTML'">
                    <xsl:attribute name="tabindex">
                      <xsl:choose>
                        <xsl:when test="$accessibilitymode='true'">34</xsl:when>
                        <xsl:otherwise>11148</xsl:otherwise>
                      </xsl:choose>
                    </xsl:attribute>
                  </xsl:when>
                  <xsl:otherwise>
                    <xsl:attribute name="tabindex">
                      <xsl:choose>
                        <xsl:when test="$accessibilitymode='true'">11149</xsl:when>
                        <xsl:otherwise>11148</xsl:otherwise>
                      </xsl:choose>
                    </xsl:attribute>
                  </xsl:otherwise>
                </xsl:choose>
                <xsl:value-of select="''"/>
              </textarea>
            </xsl:if>
            <xsl:if test="f_HTML!='' or ($editmode!='create')">
              <textarea name="f_HTML" wrap="true" class="urTedWhl" rows="5" cols="42" id="field_1074590243775">
                <xsl:choose>
                  <xsl:when test="$accessibilitymode='true'">
                    <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                </xsl:choose>
                <xsl:choose>
                  <xsl:when test="./xf:ValidationError/@tagname='f_HTML'">
                    <xsl:attribute name="tabindex">
                      <xsl:choose>
                        <xsl:when test="$accessibilitymode='true'">34</xsl:when>
                        <xsl:otherwise>11148</xsl:otherwise>
                      </xsl:choose>
                    </xsl:attribute>
                  </xsl:when>
                  <xsl:otherwise>
                    <xsl:attribute name="tabindex">
                      <xsl:choose>
                        <xsl:when test="$accessibilitymode='true'">11149</xsl:when>
                        <xsl:otherwise>11148</xsl:otherwise>
                      </xsl:choose>
                    </xsl:attribute>
                  </xsl:otherwise>
                </xsl:choose>
                <xsl:value-of select="f_HTML"/>
              </textarea>
            </xsl:if>
            <!--
                 error block for f_HTML
            -->
            <xsl:call-template name="error_block_template">
              <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243775']" name="errText"/>
              <xsl:with-param select="'f_HTML'" name="variable"/>
              <xsl:with-param select="'32'" name="tabindex"/>
            </xsl:call-template>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;10%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;10%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;10%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;10%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;10%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;10%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_user'">
                      <span class="urTxtNeg">
                        <label ffoorr="field_1074590243776_userdn___" onclick="xf_focusLabel(this);" id="label_field_1074590243776_userdn___">
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243811']"/>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label ffoorr="field_1074590243776_userdn___" onclick="xf_focusLabel(this);" id="label_field_1074590243776_userdn___">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243811']"/>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="37%" rowspan="1" align="left" colspan="7">
            <table cellpadding="0" cellspacing="0">
              <tr>
                <td>
                  <input name="f_user" type="hidden" id="field_1074590243776">
                    <xsl:choose>
                      <xsl:when test="$accessibilitymode='true'">
                        <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                    </xsl:choose>
                    <xsl:attribute name="tabindex"/>
                    <xsl:attribute name="value">
                      <xsl:choose>
                        <xsl:when test="f_user='' and ($editmode='create')">
                          <xsl:value-of select="''"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:value-of select="f_user"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:attribute>
                  </input>
                  <!--
                       field f_user_userdn___
                  -->
                  <xsl:choose>
                    <xsl:when test="f_user_userdn___='' and ($editmode='create')">
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_user_userdn___'">
                          <input name="f_user_userdn___" size="30" type="text" value="" class="urEdfiTxtEnbl" id="field_1074590243776_userdn___">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">37</xsl:when>
                                <xsl:otherwise>11150</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="f_user_userdn___" size="30" type="text" value="" class="urEdfTxtEnbl" id="field_1074590243776_userdn___">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11150</xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_user_userdn___'">
                          <input name="f_user_userdn___" size="30" type="text" class="urEdfiTxtEnbl" id="field_1074590243776_userdn___">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">37</xsl:when>
                                <xsl:otherwise>11150</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:value-of select="f_user_userdn___"/>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="f_user_userdn___" size="30" type="text" class="urEdfTxtEnbl" id="field_1074590243776_userdn___">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11150</xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:value-of select="f_user_userdn___"/>
                            </xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </td>
                <td>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_user'">
                      <button type="button" class="urEdfHlpF4" id="1074590243776">
                        <xsl:attribute name="onclick">javascript:openChildBrowserArrayControl(new Array(document.rootform__.field_1074590243776,document.rootform__.field_1074590243776_userdn___),'?SelectGroups=false&amp;AddButtonLabel=OK&amp;StartPage=StartUserDisplayname&amp;SelectRoles=false&amp;SingleSelection=true<xsl:if test="$ext_params_user and $ext_params_user!=''">&amp;<xsl:value-of select="$ext_params_user"/>
                          </xsl:if>','SearchText',1,550,350)</xsl:attribute>
                        <xsl:attribute name="title">
                          <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243776']"/>
                        </xsl:attribute>
                      </button>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_user'">
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">38</xsl:when>
                              <xsl:otherwise>11150</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">11151</xsl:when>
                              <xsl:otherwise>11150</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <button type="button" class="urEdfHlpF4" id="1074590243776">
                        <xsl:attribute name="onclick">javascript:openChildBrowserArrayControl(new Array(document.rootform__.field_1074590243776,document.rootform__.field_1074590243776_userdn___),'?SelectGroups=false&amp;AddButtonLabel=OK&amp;StartPage=StartUserDisplayname&amp;SelectRoles=false&amp;SingleSelection=true<xsl:if test="$ext_params_user and $ext_params_user!=''">&amp;<xsl:value-of select="$ext_params_user"/>
                          </xsl:if>','SearchText',1,550,350)</xsl:attribute>
                        <xsl:attribute name="title">
                          <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243776']"/>
                        </xsl:attribute>
                      </button>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_user'">
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">38</xsl:when>
                              <xsl:otherwise>11150</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">11151</xsl:when>
                              <xsl:otherwise>11150</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </td>
              </tr>
            </table>
            <!--
                 error block for f_user
            -->
            <xsl:call-template name="error_block_template">
              <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243776']" name="errText"/>
              <xsl:with-param select="'f_user'" name="variable"/>
              <xsl:with-param select="'36'" name="tabindex"/>
            </xsl:call-template>
          </td>
          <td height="3%" valign="top" width="45%"/>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_integer'">
                      <span class="urTxtNeg">
                        <label ffoorr="field_1074590243777" onclick="xf_focusLabel(this);" id="label_field_1074590243777">
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243812']"/>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label ffoorr="field_1074590243777" onclick="xf_focusLabel(this);" id="label_field_1074590243777">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243812']"/>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="4">
            <nobr>
              <select name="f_integer" class="urDdlWhl" id="field_1074590243777">
                <xsl:choose>
                  <xsl:when test="$accessibilitymode='true'">
                    <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                </xsl:choose>
                <xsl:attribute name="tabindex">11151</xsl:attribute>
                <xsl:choose>
                  <xsl:when test="f_integer='1'">
                    <option selected="1" value="1">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243777_1']"/>
                    </option>
                  </xsl:when>
                  <xsl:otherwise>
                    <option value="1">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243777_1']"/>
                    </option>
                  </xsl:otherwise>
                </xsl:choose>
                <xsl:choose>
                  <xsl:when test="f_integer='2'">
                    <option selected="2" value="2">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243777_2']"/>
                    </option>
                  </xsl:when>
                  <xsl:otherwise>
                    <option value="2">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243777_2']"/>
                    </option>
                  </xsl:otherwise>
                </xsl:choose>
                <xsl:choose>
                  <xsl:when test="f_integer='3'">
                    <option selected="3" value="3">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243777_3']"/>
                    </option>
                  </xsl:when>
                  <xsl:otherwise>
                    <option value="3">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243777_3']"/>
                    </option>
                  </xsl:otherwise>
                </xsl:choose>
                <xsl:choose>
                  <xsl:when test="f_integer='4'">
                    <option selected="4" value="4">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243777_4']"/>
                    </option>
                  </xsl:when>
                  <xsl:otherwise>
                    <option value="4">
                      <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243777_4']"/>
                    </option>
                  </xsl:otherwise>
                </xsl:choose>
              </select>
            </nobr>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_rid'">
                      <span class="urTxtNeg">
                        <label ffoorr="field_1074590243782" onclick="xf_focusLabel(this);" id="label_field_1074590243782">
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243813']"/>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label ffoorr="field_1074590243782" onclick="xf_focusLabel(this);" id="label_field_1074590243782">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243813']"/>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="37%" rowspan="1" align="left" colspan="7">
            <table cellpadding="0" cellspacing="0">
              <tr>
                <td>
                  <!--
                       field f_rid
                  -->
                  <xsl:choose>
                    <xsl:when test="f_rid='' and ($editmode='create')">
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_rid'">
                          <input name="f_rid" size="30" type="text" value="" class="urEdfiTxtEnbl" id="field_1074590243782">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">43</xsl:when>
                                <xsl:otherwise>11153</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="f_rid" size="30" type="text" value="" class="urEdfTxtEnbl" id="field_1074590243782">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11153</xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_rid'">
                          <input name="f_rid" size="30" type="text" class="urEdfiTxtEnbl" id="field_1074590243782">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">
                              <xsl:choose>
                                <xsl:when test="$accessibilitymode='true'">43</xsl:when>
                                <xsl:otherwise>11153</xsl:otherwise>
                              </xsl:choose>
                            </xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:value-of select="f_rid"/>
                            </xsl:attribute>
                          </input>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="f_rid" size="30" type="text" class="urEdfTxtEnbl" id="field_1074590243782">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">
                                <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                            </xsl:choose>
                            <xsl:attribute name="tabindex">11153</xsl:attribute>
                            <xsl:attribute name="value">
                              <xsl:value-of select="f_rid"/>
                            </xsl:attribute>
                          </input>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </td>
                <td>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_rid'">
                      <button type="button" class="urEdfHlpF4" id="1074590243782">
                        <xsl:attribute name="onclick">javascript:openChildBrowserControl(document.rootform__.field_1074590243782,'?UseAdapterUICommand=true&amp;Uri=/documents&amp;StartUri=/documents&amp;StartPage=StartNavigation&amp;AdapterUICommand=select_single_item_with_upload<xsl:if test="$ext_params_image and $ext_params_image!=''">&amp;<xsl:value-of select="$ext_params_image"/>
                          </xsl:if>','StringFromParent',550,430)</xsl:attribute>
                        <xsl:attribute name="title">
                          <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243782']"/>
                        </xsl:attribute>
                      </button>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_rid'">
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">44</xsl:when>
                              <xsl:otherwise>11153</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">11154</xsl:when>
                              <xsl:otherwise>11153</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <button type="button" class="urEdfHlpF4" id="1074590243782">
                        <xsl:attribute name="onclick">javascript:openChildBrowserControl(document.rootform__.field_1074590243782,'?UseAdapterUICommand=true&amp;Uri=/documents&amp;StartUri=/documents&amp;StartPage=StartNavigation&amp;AdapterUICommand=select_single_item_with_upload<xsl:if test="$ext_params_image and $ext_params_image!=''">&amp;<xsl:value-of select="$ext_params_image"/>
                          </xsl:if>','StringFromParent',550,430)</xsl:attribute>
                        <xsl:attribute name="title">
                          <xsl:value-of select="$resources/TEXT[@AKEY='tol_LD_1074590243782']"/>
                        </xsl:attribute>
                      </button>
                      <xsl:choose>
                        <xsl:when test="./xf:ValidationError/@tagname='f_rid'">
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">44</xsl:when>
                              <xsl:otherwise>11153</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:attribute name="tabindex">
                            <xsl:choose>
                              <xsl:when test="$accessibilitymode='true'">11154</xsl:when>
                              <xsl:otherwise>11153</xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:otherwise>
                  </xsl:choose>
                </td>
              </tr>
            </table>
            <!--
                 error block for f_rid
            -->
            <xsl:call-template name="error_block_template">
              <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243782']" name="errText"/>
              <xsl:with-param select="'f_rid'" name="variable"/>
              <xsl:with-param select="'42'" name="tabindex"/>
            </xsl:call-template>
          </td>
          <td height="3%" valign="top" width="45%"/>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_url'">
                      <span class="urTxtNeg">
                        <label ffoorr="field_1074590243783" onclick="xf_focusLabel(this);" id="label_field_1074590243783">
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243814']"/>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label ffoorr="field_1074590243783" onclick="xf_focusLabel(this);" id="label_field_1074590243783">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243814']"/>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="34%" rowspan="1" align="left" colspan="6">
            <nobr>
              <!--
                   field f_url
              -->
              <xsl:choose>
                <xsl:when test="f_url='' and ($editmode='create')">
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_url'">
                      <input name="f_url" size="30" type="text" value="" class="urEdfiTxtEnbl" id="field_1074590243783">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">47</xsl:when>
                            <xsl:otherwise>11155</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                      </input>
                    </xsl:when>
                    <xsl:otherwise>
                      <input name="f_url" size="30" type="text" value="" class="urEdfTxtEnbl" id="field_1074590243783">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">11155</xsl:attribute>
                      </input>
                    </xsl:otherwise>
                  </xsl:choose>
                  <!--
                       error block for f_url
                  -->
                  <xsl:call-template name="error_block_template">
                    <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243783']" name="errText"/>
                    <xsl:with-param select="'f_url'" name="variable"/>
                    <xsl:with-param select="'46'" name="tabindex"/>
                  </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_url'">
                      <input name="f_url" size="30" type="text" class="urEdfiTxtEnbl" id="field_1074590243783">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">47</xsl:when>
                            <xsl:otherwise>11155</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                        <xsl:attribute name="value">
                          <xsl:value-of select="f_url"/>
                        </xsl:attribute>
                      </input>
                    </xsl:when>
                    <xsl:otherwise>
                      <input name="f_url" size="30" type="text" class="urEdfTxtEnbl" id="field_1074590243783">
                        <xsl:choose>
                          <xsl:when test="$accessibilitymode='true'">
                            <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                        </xsl:choose>
                        <xsl:attribute name="tabindex">11155</xsl:attribute>
                        <xsl:attribute name="value">
                          <xsl:value-of select="f_url"/>
                        </xsl:attribute>
                      </input>
                    </xsl:otherwise>
                  </xsl:choose>
                  <!--
                       error block for f_url
                  -->
                  <xsl:call-template name="error_block_template">
                    <xsl:with-param select="$resources/TEXT[@AKEY='msg_H_1074590243783']" name="errText"/>
                    <xsl:with-param select="'f_url'" name="variable"/>
                    <xsl:with-param select="'46'" name="tabindex"/>
                  </xsl:call-template>
                </xsl:otherwise>
              </xsl:choose>
            </nobr>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_boolean'">
                      <span class="urTxtNeg">
                        <label ffoorr="field_1074590243784" onclick="xf_focusLabel(this);" id="label_field_1074590243784">
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243815']"/>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label ffoorr="field_1074590243784" onclick="xf_focusLabel(this);" id="label_field_1074590243784">
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243815']"/>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="4">
            <input name="shadow_f_boolean" type="hidden" value="false"/>
            <nobr>
              <span class="urImgCgbCbx">
                <input name="f_boolean" type="checkbox" id="field_1074590243784">
                  <xsl:attribute name="tabindex">11156</xsl:attribute>
                  <xsl:choose>
                    <xsl:when test="$accessibilitymode='true'">
                      <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                  </xsl:choose>
                  <xsl:choose>
                    <xsl:when test="f_boolean='true'">
                      <xsl:attribute name="value">true</xsl:attribute>
                      <xsl:attribute name="checked"/>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:attribute name="value">true</xsl:attribute>
                    </xsl:otherwise>
                  </xsl:choose>
                </input>
                <xsl:value-of select="$resources/TEXT[@AKEY='null']"/>
              </span>
            </nobr>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="15%" rowspan="1" align="left" colspan="2">
            <p align="left">
              <span class="urLblStd urTxtStd">
                <nobr>
                  <xsl:choose>
                    <xsl:when test="./xf:ValidationError/@tagname='f_HTMLbody'">
                      <span class="urTxtNeg">
                        <label onclick="xf_focusLabel(this);">
                          <xsl:attribute name="ffoorr">
                            <xsl:choose>
                              <xsl:when test="$htmleditor='true'">
                                <xsl:value-of select="'f_HTMLbodyhtmlbeditor'"/>
                              </xsl:when>
                              <xsl:otherwise>
                                <xsl:value-of select="'field_1074590243785'"/>
                              </xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                          <xsl:attribute name="id">label_<xsl:choose>
                              <xsl:when test="$htmleditor='true'">
                                <xsl:value-of select="'f_HTMLbodyhtmlbeditor'"/>
                              </xsl:when>
                              <xsl:otherwise>
                                <xsl:value-of select="'field_1074590243785'"/>
                              </xsl:otherwise>
                            </xsl:choose>
                          </xsl:attribute>
                          <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243816']"/>
                        </label>
                      </span>
                    </xsl:when>
                    <xsl:otherwise>
                      <label onclick="xf_focusLabel(this);">
                        <xsl:attribute name="ffoorr">
                          <xsl:choose>
                            <xsl:when test="$htmleditor='true'">
                              <xsl:value-of select="'f_HTMLbodyhtmlbeditor'"/>
                            </xsl:when>
                            <xsl:otherwise>
                              <xsl:value-of select="'field_1074590243785'"/>
                            </xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                        <xsl:attribute name="id">label_<xsl:choose>
                            <xsl:when test="$htmleditor='true'">
                              <xsl:value-of select="'f_HTMLbodyhtmlbeditor'"/>
                            </xsl:when>
                            <xsl:otherwise>
                              <xsl:value-of select="'field_1074590243785'"/>
                            </xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                        <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243816']"/>
                      </label>
                    </xsl:otherwise>
                  </xsl:choose>
                </nobr>
              </span>
            </p>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="35%" valign="top" width="82%" rowspan="2" align="left" colspan="8">
            <!--
                 text area for element f_HTMLbody
            -->
            <xsl:choose>
              <xsl:when test="$htmleditor = 'true'">
                <xsl:call-template name="addHtmlEditor">
                  <xsl:with-param select="'f_HTMLbody'" name="fieldId"/>
                  <xsl:with-param select="'f_HTMLbody'" name="fieldName"/>
                  <xsl:with-param select="'5'" name="editorVersion"/>
                  <xsl:with-param select="'true'" name="linked"/>
                  <xsl:with-param select="f_HTMLbody" name="value"/>
                  <xsl:with-param select="'full'" name="toolbar"/>
                  <xsl:with-param select="'200'" name="height"/>
                  <xsl:with-param select="'urTbarWhl'" name="toolbarStyle"/>
                  <xsl:with-param select="'urTedWhl'" name="divStyle"/>
                  <xsl:with-param name="divTitle"/>
                  <xsl:with-param select="'11158'" name="tabIndex"/>
                  <xsl:with-param select="$uselighteditor" name="use_light_editor"/>
                </xsl:call-template>
              </xsl:when>
              <xsl:otherwise>
                <xsl:if test="f_HTMLbody='' and ($editmode='create')">
                  <textarea name="f_HTMLbody" wrap="true" class="urTedWhl" rows="5" cols="35" id="field_1074590243785">
                    <xsl:choose>
                      <xsl:when test="$accessibilitymode='true'">
                        <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                    </xsl:choose>
                    <xsl:choose>
                      <xsl:when test="./xf:ValidationError/@tagname='f_HTMLbody'">
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">54</xsl:when>
                            <xsl:otherwise>11158</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">11159</xsl:when>
                            <xsl:otherwise>11158</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                      </xsl:otherwise>
                    </xsl:choose>
                    <xsl:value-of select="''"/>
                  </textarea>
                </xsl:if>
                <xsl:if test="f_HTMLbody!='' or ($editmode!='create')">
                  <textarea name="f_HTMLbody" wrap="true" class="urTedWhl" rows="5" cols="35" id="field_1074590243785">
                    <xsl:choose>
                      <xsl:when test="$accessibilitymode='true'">
                        <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                    </xsl:choose>
                    <xsl:choose>
                      <xsl:when test="./xf:ValidationError/@tagname='f_HTMLbody'">
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">54</xsl:when>
                            <xsl:otherwise>11158</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:attribute name="tabindex">
                          <xsl:choose>
                            <xsl:when test="$accessibilitymode='true'">11159</xsl:when>
                            <xsl:otherwise>11158</xsl:otherwise>
                          </xsl:choose>
                        </xsl:attribute>
                      </xsl:otherwise>
                    </xsl:choose>
                    <xsl:value-of select="f_HTMLbody"/>
                  </textarea>
                </xsl:if>
              </xsl:otherwise>
            </xsl:choose>
          </td>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;32%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;32%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;32%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;32%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;6%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;1%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
        <tr>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="6%" rowspan="1" align="left" colspan="1">
            <nobr>
              <a class="urBtnStd">
                <xsl:attribute name="tabindex">11163</xsl:attribute>
                <xsl:if test="'true'">
                  <xsl:attribute name="href">javascript:HrefSubmit('save','<xsl:value-of select="normalize-space(xf:resourceridesc)"/>');</xsl:attribute>
                  <xsl:attribute name="onkeypress">javascript:if(event.keyCode==32)this.click();</xsl:attribute>
                </xsl:if>
                <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243818']"/>
              </a>
            </nobr>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;9%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;</xsl:text>
          <td height="3%" valign="top" width="6%" rowspan="1" align="left" colspan="1">
            <nobr>
              <a class="urBtnStd">
                <xsl:attribute name="tabindex">11164</xsl:attribute>
                <xsl:if test="'true'">
                  <xsl:attribute name="href">javascript:self.document.rootform__.reset();</xsl:attribute>
                  <xsl:attribute name="onkeypress">javascript:if(event.keyCode==32)this.click();</xsl:attribute>
                </xsl:if>
                <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243819']"/>
              </a>
            </nobr>
          </td>
          <td height="3%" valign="top" width="1%"/>
          <td height="3%" valign="top" width="6%" rowspan="1" align="left" colspan="1">
            <nobr>
              <a class="urBtnStd">
                <xsl:attribute name="tabindex">11165</xsl:attribute>
                <xsl:if test="'true'">
                  <xsl:attribute name="href">javascript:HrefSubmit('cancel','<xsl:value-of select="normalize-space(xf:resourceridesc)"/>');</xsl:attribute>
                  <xsl:attribute name="onkeypress">javascript:if(event.keyCode==32)this.click();</xsl:attribute>
                </xsl:if>
                <xsl:value-of select="$resources/TEXT[@AKEY='lbl_1074590243820']"/>
              </a>
            </nobr>
          </td>
          <xsl:text disable-output-escaping="yes">&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;1%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;15%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;4%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;3%&quot;/&gt;&lt;td height=&quot;3%&quot; valign=&quot;top&quot; width=&quot;45%&quot;/&gt;</xsl:text>
        </tr>
      </table>
      <input name="mandatoryFields" type="hidden" value="wcmprop.default:displayname;f_string"/>
    </xsl:template>
    <!--
         ROOT TEMPLATE
    -->
    <xsl:template match="DataModel">
      <!--
           HTML HEADER
      -->
      <html>
        <!--
             JAVA SCRIPT SECTION
        -->
        <script language="JavaScript">
          <xsl:comment>
          function _htmlb_external_submit_(){window.location.reload();} 
 function open_url(url){var tmpurl="";if (url.charAt(0) == '/') {tmpurl=encodeXmlFormsUri(url);} else {tmpurl=encodeURI(url);}var xinfo="";xinfo=window.open(tmpurl)} 
 function open_url_with_params(url,params){var xinfo="";xinfo=window.open(url,'_blank',params)} 
 function getProtAndHost(){
   return window.location.protocol+'//'+window.location.host
}

 function HrefSubmit(event, resource){ 
try{
 xf_beforeSavingSeperatedEditors();
} catch(e) {
  alert('error while trying to save editors, id98435f'); 
}
 document.rootform__.submit_event.value=event;document.rootform__.submit_resource.value=resource;document.rootform__.submit();} var x=location.hostname.indexOf('.')+1;if (x>0) document.domain=location.hostname.substring(x);var popup_emptydoc = '/htmlb/jslib/emptyhover.html';
 function encodeXmlFormsUri(uri) {if (uri == null) return null;var parts = uri.split('/');var i;uri = '';for (i=0;i&lt;parts.length;i++) {if (i&gt;0) {uri += '/';}uri += encodeURIComponent(parts[i]);}return uri;}<xsl:if test="$authorpreviewresource!=''">open_url('<xsl:value-of select="$previewservlet"/>?XMLFormID='+encodeXmlFormsUri('XFBuilderTestProject')+'&amp;show/test='+encodeXmlFormsUri('<xsl:value-of select="$authorpreviewresource"/>')+'&amp;authorpreview=true');</xsl:if>function setHtmlEditorToDefault(htmlId, defaultId) {var x = document.getElementById(htmlId);var def = document.getElementById(defaultId);if(x!=null &amp;&amp; def!=null) {x.innerHTML = def.value;}}
 function openChildBrowserControl(inputField,querystring,valueParameter,width,height){browserField=inputField;var tmpVP=(valueParameter != null)?('&amp;'+valueParameter+'='+browserField.value):'';childWindow=open('<xsl:value-of select="$xmlformsbrowsers"/>'+querystring+tmpVP,'WinBrowserControl','resizable=yes,width='+width+',height='+height);childWindow.focus();if (childWindow.opener==null) childWindow.opener=self;}
 function openChildBrowserArrayControl(inputFieldArray,querystring,valueParameter,valueIndex,width,height){browserFieldArray=inputFieldArray;var tmpVP=(valueParameter != null)?('&amp;'+valueParameter+'='+encodeURIComponent(browserFieldArray[valueIndex].value)):'';childWindow=open('<xsl:value-of select="$xmlformsbrowsers"/>'+querystring+tmpVP,'WinBrowserControl','resizable=yes,width='+width+',height='+height);childWindow.focus();if (childWindow.opener==null) childWindow.opener=self;}
 function writeToParent(textForField){if (multiValuedFields[browserField.id]!=null&amp;&amp;multiValuedFields[browserField.id]==1) {if (browserField.value!=null&amp;&amp;browserField.value!='') {browserField.value+=',';}browserField.value+=textForField;}else {browserField.value=textForField;}}
 function writeArrayToParent(textsForFields){for (var i=0;i&lt;textsForFields.length&amp;&amp;i&lt;browserFieldArray.length;i++){if (multiValuedFields[browserFieldArray[i].id]!=null&amp;&amp;multiValuedFields[browserFieldArray[i].id]==1) {if (browserFieldArray[i].value!=null&amp;&amp;browserFieldArray[i].value!='') {browserFieldArray[i].value+=',';}browserFieldArray[i].value+=textsForFields[i];}else {browserFieldArray[i].value=textsForFields[i];}}}
          //</xsl:comment>
        </script>
        <!--
             CSS REFERENCE
        -->
        <link rel="stylesheet" type="text/css">
          <xsl:attribute name="href">
            <xsl:value-of select="$cssurl"/>/<xsl:value-of select="$css"/>
          </xsl:attribute>
        </link>
        <head>
          <title>
            <xsl:choose>
              <xsl:when test="$resources/TEXT[@AKEY='tit_global_1074590243806_dn']!=''">
                <xsl:value-of select="$resources/TEXT[@AKEY='tit_global_1074590243806_dn']"/>
              </xsl:when>
              <xsl:when test="$resources/TEXT[@AKEY='lbl_global_1074590243806_dn']!=''">
                <xsl:value-of select="$resources/TEXT[@AKEY='lbl_global_1074590243806_dn']"/>
              </xsl:when>
              <xsl:when test="$resources/TEXT[@AKEY='tit_global_displayName']!=''">
                <xsl:value-of select="$resources/TEXT[@AKEY='tit_global_displayName']"/>
              </xsl:when>
              <xsl:when test="$resources/TEXT[@AKEY='lbl_global_displayName']!=''">
                <xsl:value-of select="$resources/TEXT[@AKEY='lbl_global_displayName']"/>
              </xsl:when>
              <xsl:otherwise>XFBuilderTestProject</xsl:otherwise>
            </xsl:choose>
          </title>
        </head>
        <style type="text/css">body {}</style>
        <body class="prtlBody urFontBaseFam urScrl urGrpBdyBoxBgColor" onload="javascript:initHTMLEditors()">
          <xsl:if test="$docorientation!=''">
            <xsl:attribute name="dir">
              <xsl:value-of select="$docorientation"/>
            </xsl:attribute>
          </xsl:if>
          <form onreset="javascript:resetHTMLEditors()" name="rootform__">
            <xsl:if test="./xf:XMLForm/xf:action">
              <xsl:attribute name="action">
                <xsl:value-of select="./xf:XMLForm/xf:action"/>
              </xsl:attribute>
            </xsl:if>
            <xsl:choose>
              <xsl:when test="./xf:XMLForm/xf:method">
                <xsl:attribute name="method">
                  <xsl:value-of select="./xf:XMLForm/xf:method"/>
                </xsl:attribute>
              </xsl:when>
              <xsl:otherwise>
                <xsl:attribute name="method">POST</xsl:attribute>
              </xsl:otherwise>
            </xsl:choose>
            <!--
                 HIDDEN FORM FIELDS GENERATION
            -->
            <xsl:apply-templates select="xf:formsparameters"/>
            <input name="submit_event" type="hidden" value=""/>
            <input name="submit_resource" type="hidden" value=""/>
            <!--
                 MAIN ITEM TEMPLATE CALL
            -->
            <xsl:call-template name="item"/>
            <xsl:for-each select="/DataModel/xf:formsparameters/xf:param[@name='XMLFormDataResName']">
              <!--
                   resource name
              -->
              <xsl:if test="@type='visible'">
                <input name="XMLFormDataResName" type="hidden" id="field_null">
                  <xsl:choose>
                    <xsl:when test="$accessibilitymode='true'">
                      <xsl:attribute name="onmouseover">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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="onfocus">javascript:xf_updateInputTitleWithLabel( this.id, 'label_'+this.id, '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:when>
                  </xsl:choose>
                  <xsl:attribute name="tabindex">11131</xsl:attribute>
                  <xsl:attribute name="value">
                    <xsl:if test=".=''">
                      <xsl:value-of select="$guid"/>
                    </xsl:if>
                    <xsl:if test=".!=''">
                      <xsl:value-of select="."/>
                    </xsl:if>
                  </xsl:attribute>
                </input>
              </xsl:if>
              <xsl:if test="@type='hidden'">
                <xsl:value-of select="."/>
              </xsl:if>
            </xsl:for-each>
          </form>
        </body>
        <script language="JavaScript">
          <xsl:attribute name="src"/>
          <xsl:attribute name="src">
            <xsl:value-of select="$xmlformsroot"/>/javascript/debug-functions.js</xsl:attribute>
        </script>
        <script language="JavaScript">
          <xsl:attribute name="src"/>
          <xsl:attribute name="src">
            <xsl:value-of select="$xmlformsroot"/>/javascript/xmlforms-utils.js</xsl:attribute>
        </script>
        <input name="htmlbJavaScriptPath" type="hidden">
          <xsl:attribute name="value">
            <xsl:value-of select="$javascriptpath"/>
          </xsl:attribute>
        </input>
        <script language="JavaScript">
          <xsl:comment>
          function resetHTMLEditors() {javascript: /* new editor do not need call to setHtmlEditorToDefault function, m_fieldID:f_HTMLbody*/;}
 function initHTMLEditors() {/*htmledit ver. 5 do not require such method*/}
          //</xsl:comment>
        </script>
        <xsl:call-template name="addUrSystemVariable"/>
        <script language="JavaScript">
          <xsl:attribute name="src">
            <xsl:value-of select="$urpopupjsurl"/>
          </xsl:attribute>
        </script>
        <script language="JavaScript">
          <xsl:attribute name="src">
            <xsl:value-of select="$urmapijsurl"/>
          </xsl:attribute>
        </script>
        <script language="JavaScript">
          <xsl:comment>
          var multiValuedFields=new Array();
          //</xsl:comment>
        </script>
      </html>
    </xsl:template>
  </xsl:stylesheet>