<div class="cbi-section-create cbi-tblsection-create">
  <br />                                                                 
  <table class="cbi-section-table" style="width:1000px; margin-left:5px">
    <tr class="cbi-section-table-descr">                            
      <th class="cbi-section-table-cell"><%:Tag Address%></th>
      <th class="cbi-section-table-cell"><%:Tag Name%></th>
      <th class="cbi-section-table-cell"></th>
    </tr>                             
    <tr class="cbi-section-table-row">
    </td>                                                  
    <td class="cbi-section-table-cell" style="width:110px">                                               
      <input type="text"  class="cbi-input-text"   id="_new.tag_address"  name="_new.tag_address" />
    </td>
    
    <td class="cbi-section-table-cell" style="width:110px">                                     
      <input type="text" class="cbi-input-text" id="_new.tag_name" name="_new.tag_name" />
    </td>                   
    <td class="cbi-section-table-cell">                                                                        
      <input type="submit" class="cbi-button cbi-button-add" onClick="return empty();"               
      name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>.<%=section%>" value="<%:Add%>" />
    </td>    
  </tr>
</table>

          <script type="text/javascript">//<![CDATA[              
          var a = document.getElementsByName("var");
          a.value = true;
          function empty()                                                                    
          {                                                                     
            var x = document.getElementById('_new.tag_address');
            var n = document.getElementById('_new.tag_name');   
            n.disabled = false;                           
            m.disabled = false;                                               
            if (x.value != "" && n.value != "" && m.value != "" )
            {                                                    
              return true;                                   
            }                                                    
            else                                                  
            {                                                    
              alert (" Some field are empty");               
              return false;                                  
            }                                                                  
          }                                                                    
          
          cbi_validate_field('cbi.cts.<%=self.config%>.<%=self.sectiontype%>.<%=section%>', true, 'uciname');
          //]]></script>                                                                                             
          
        </div>  