<table style="background-color: rgb(221, 238, 255);" border="0" cellpadding="0" cellspacing="0" width="85%">
  <tbody>
    <tr>
      <td style="font-weight: bold; font-size:110%" width="100%" >
          [l]Change Name Servers[/l]
      </td>
      <td id="tdnsList" width="20" style="padding-right: 10px">
        <!-- BEGIN DYNAMIC BLOCK: editNS -->
        <a class="liveupdate" href="javascript:showEditBoxes('nsList');">[l]Edit[/l]</a>
        <!-- END DYNAMIC BLOCK: editNS -->
      </td>
    </tr>
  </tbody>
</table>

<div id="nsListcontact" style="text-align: left; width: 85%;">
  <form id="nsListform" name="nsListform">
    <table width="100%">
      <!-- BEGIN DYNAMIC BLOCK: nameserver_default -->
      <tr class="{ROW_CLASS}">
        <td style="margin-left: 15px; width: 50%; font-weight: bold">[l]Use Default Name Servers[/l]:</td>
        <td><span id="view_nsList_default">{FIELD_VALUE}</span><span id="edit_nsList_default" style="display:none"><input type="radio" id="nsList_default_yes" name="nsList_default" value="yes" onclick="javascript:toggleFields('nsList'); $('view_nsList_default').innerHTML='[l]Yes[/l]';" {YES_CHECKED}/> [l]Yes[/l]&nbsp;&nbsp;&nbsp;<input type="radio" name="nsList_default" value="no" onclick="javascript:toggleFields('nsList'); $('view_nsList_default').innerHTML='[l]No[/l]';" {NO_CHECKED}/> [l]No[/l]</span></td>
      </tr>
      <!-- END DYNAMIC BLOCK: nameserver_default -->
      <!-- BEGIN DYNAMIC BLOCK: nameserver -->
      <tr id="trns{NS_KEY}" class="{ROW_CLASS}" style="display: {DEFAULT_DISPLAY}">
        <td style="margin-left: 15px; width: 50%; font-weight: bold">[l]Name Server[/l] {NS_KEY}:</td>
        <td><span id="view_ns{NS_KEY}">{NS_NAME}</span><span id="edit_ns{NS_KEY}" style="display:none"><input type="text" name="ns{NS_KEY}" value="{NS_NAME}" size="30"/></span></td>
      </tr>
      <!-- END DYNAMIC BLOCK: nameserver -->
    </table>
  </form>
</div>

<div id="nsListResults" style="text-align: left; width: 85%; color: red;">
</div>

<br />

<!-- BEGIN DYNAMIC BLOCK: checkNS -->
<table style="background-color: rgb(221, 238, 255);" border="0" cellpadding="0" cellspacing="0" width="85%">
  <tbody>
    <tr>
      <td style="font-weight: bold; font-size:110%" width="100%" >
          [l]Check Name Server Status[/l]
      </td>
    </tr>
  </tbody>
</table>

<div id="nsCheckcontact" style="text-align: left; width: 85%;">
  <form id="nsCheckform" name="nsListform">
    <table width="100%">
      <tr id="trnsCheck" class="primarycolor">
        <td style="margin-left: 15px; width: 25%; font-weight: bold">[l]Name Server[/l]:</td>
        <td><input type="text" name="nsCheck" />.{DOMAINNAME} &nbsp;&nbsp;</td>
        <td><span id="checkNSLink"><input type="button" class="button_medium" value='check' onclick='checkNSStatus();return false;'></span><span id="checkNSWorking" style="display:none">[l]Checking[/l]...</span></td>
      </tr>
    </table>
  </form>
</div>

<div id="nsCheckResults" style="text-align: left; width: 85%; color: red;">
</div>

<br />
<!-- END DYNAMIC BLOCK: checkNS -->

<!-- BEGIN DYNAMIC BLOCK: registerNS -->
<table style="background-color: rgb(221, 238, 255);" border="0" cellpadding="0" cellspacing="0" width="85%">
  <tbody>
    <tr>
      <td style="font-weight: bold; font-size:110%" width="100%" >
          [l]Register Name Server[/l]
      </td>
    </tr>
  </tbody>
</table>

<div id="nsRegistercontact" style="text-align: left; width: 85%;">
  <form id="nsRegisterform" name="nsRegisterform">
    <table width="100%">
      <tr id="trnsRegister" class="primarycolor">
        <td style="margin-left: 15px; width: 25%; font-weight: bold">[l]Name Server[/l]:</td>
        <td><input type="text" name="nsRegisterName" />.{DOMAINNAME}</td>
        <td></td>
      </tr>
      <tr id="trnsRegisterIP" class="secondarycolor">
        <td style="margin-left: 15px; width: 25%; font-weight: bold">[l]IP Address[/l]:</td>
        <td><input type="text" name="nsRegisterIP" />&nbsp;&nbsp;</td>
        <td><span id="registerNSLink"><input type="button" class="button_medium" value='register' onclick='registerNS();return false;'></span><span id="registerNSWorking" style="display:none">[l]Registering[/l]...</span></td>
      </tr>
    </table>
  </form>
</div>

<div id="nsRegisterResults" style="text-align: left; width: 85%; color: red;">
</div>

<br />
<!-- END DYNAMIC BLOCK: registerNS -->
<!-- BEGIN DYNAMIC BLOCK: updateNS -->
<table style="background-color: rgb(221, 238, 255);" border="0" cellpadding="0" cellspacing="0" width="85%">
  <tbody>
    <tr>
      <td style="font-weight: bold; font-size:110%" width="100%" >
          [l]Edit Name Server[/l]
      </td>
    </tr>
  </tbody>
</table>

<div id="nsEditcontact" style="text-align: left; width: 85%;">
  <form id="nsEditform" name="nsEditform">
    <table width="100%">
      <tr id="trnsEdit" class="primarycolor">
        <td style="margin-left: 15px; width: 25%; font-weight: bold">[l]Name Server[/l]:</td>
        <td><input type="text" name="nsEditName" />.{DOMAINNAME}</td>
        <td></td>
      </tr>
      <tr id="trnsEditOldIP" class="secondarycolor">
        <td style="margin-left: 15px; width: 25%; font-weight: bold">[l]Old IP Address[/l]:</td>
        <td><input type="text" name="nsEditOldIP" /></td>
        <td></td>
      </tr>
      <tr id="trnsEditNewIP" class="primarycolor">
        <td style="margin-left: 15px; width: 25%; font-weight: bold">[l]New IP Address[/l]:</td>
        <td><input type="text" name="nsEditNewIP" />&nbsp;&nbsp;</td>
        <td><span id="editNSLink"><input type="button" class="button_medium" value='edit' onclick='editNS();return false;'></span><span id="editNSWorking" style="display:none">[l]Editing[/l]...</span></td>
      </tr>
    </table>
  </form>
</div>

<div id="nsEditResults" style="text-align: left; width: 85%; color: red;">
</div>

<br />
<!-- END DYNAMIC BLOCK: updateNS -->

<!-- BEGIN DYNAMIC BLOCK: deleteNS -->
<table style="background-color: rgb(221, 238, 255);" border="0" cellpadding="0" cellspacing="0" width="85%">
  <tbody>
    <tr>
      <td style="font-weight: bold; font-size:110%" width="100%" >
          [l]Delete Name Server[/l]
      </td>
    </tr>
  </tbody>
</table>

<div id="nsDeletecontact" style="text-align: left; width: 85%;">
  <form id="nsDeleteform" name="nsDeleteform">
    <table width="100%">
      <tr id="trnsDelete" class="primarycolor">
        <td style="margin-left: 15px; width: 25%; font-weight: bold">[l]Name Server[/l]:</td>
        <td><input type="text" name="nsDeleteName" />.{DOMAINNAME}&nbsp;&nbsp;</td>
        <td><span id="deleteNSLink"><input type="button" class="button_medium" value='delete' onclick='deleteNS();return false;'></span><span id="deleteNSWorking" style="display:none">[l]Deleting[/l]...</span></td>
      </tr>
    </table>
  </form>
</div>

<div id="nsDeleteResults" style="text-align: left; width: 85%; color: red;">
</div>
<!-- END DYNAMIC BLOCK: deleteNS -->

<!-- BEGIN DYNAMIC BLOCK: error -->
[l]An error has occured[/l]: {ERR}
<!-- END DYNAMIC BLOCK: error -->