<div class="content_div_small">
  <div class="table_tab_div">
    <div class="table_tab_left"></div>
    <div class="table_tab">Teletext Descriptor</div>
    <div class="table_tab_right"></div>
  </div>
  <table>
    <tr>
      <th>Language Code</th>
      <td class="header">
        <input type="text" id="languageCode" maxlength="3" />
      </td>
      <td rowspan="4" class="header">
        <input type="button" id="addBtn" value="Add" class="input_normal" onclick="addTableRow();" />
      </td>
    </tr>
    <tr>
      <th>Teletext Type</th>
      <td>
        <select id="ttType">
          <option value="1" selected="selected">Initial Teletext Page</option>
          <option value="2">Teletext Title Page</option>
          <option value="3">Additional Info Page</option>
          <option value="4">Service Schedule Page</option>
          <option value="5">Teletext Subtitle For Hearing Impaired</option>
        </select>
      </td>
    </tr>
    <tr>
      <th>Teletext Magazine No.</th>
      <td>
        <input type="text" id="ttMagazineNum" value="0" />
      </td>
    </tr>
    <tr>
      <th>Teletext Page No.</th>
      <td>
        <input type="text" id="ttPageNum" value="0" />
      </td>
    </tr>
  </table>
  <br />
  <table id="dataTable">
    <tr>
      <th>Language Code</th>
      <th>Teletext Type</th>
      <th>Magazine Number</th>
      <th>Page Number</th>
      <th>Operation</th>
    </tr>
  </table>
  <table style="display: none;">
    <tr id="dataRow0" class="CaseRow">
      <td><span id="languageCode0"></span></td>
      <td><span id="ttType0"></span></td>
      <td><span id="ttMagazineNum0"></span></td>
      <td><span id="ttPageNum0"></span></td>
      <td><img src="../../style/images/shanchu1.png" id="delete0" class="img img_hand" onclick="deleteCurrentRow($(this));" title="Delete" /></td>
    </tr>
  </table>
  <div class="bottom_button_div">
    <input type="button" id="descApplyBtn" value="OK" class="input_normal" onclick="descPageApply();" />
    <input type="button" id="descCancelBtn" value="Cancel" class="input_normal" onclick="cancelEdit();" />
  </div>
</div>
<style type="text/css">
#addBtn
{
	float: none;
	margin: 0;	
}
</style>
<script>
var maxRowNum = 50;
var objIdArray = ["languageCode", "ttType", "ttMagazineNum", "ttPageNum"];
var COL_NUM = 4;
</script>
