<!-- BEGIN DYNAMIC BLOCK: noDomainsModule -->
[l]Sorry, you must have the domains module installed to use this tool.[/l]
<!-- END DYNAMIC BLOCK: noDomainsModule -->

<!-- BEGIN DYNAMIC BLOCK: hasDomainsModule -->
<script type="text/javascript" src="../javascript/modules/domains.js?version={CE_VERSION}"></script>
<!-- BEGIN DYNAMIC BLOCK: registrarDropdown -->
<div class="yellowbox" style="margin-bottom:10px">
    <h2>[l]Importing domains[/l]:</h2>
    [l]Select a registrar in the list below to fetch the list of domains you have registered.[/l]<br />
    [l]You will then be able to import any domain into ClientExec, which will be visible in the Overview section of the Domains module.[/l]<br />
    [l]Once a domain is imported, you can edit from within ClientExec its contact info, name servers, initiate a domain transfer, etc.[/l]<br />
    [l]Note that when a domain is imported, if the registrant doesn't have an account in ClientExec then a new account will be created, except if the registrant's personal information is marked as private.[/l]
</div>
<div id="domains_results"></div>
<div>
[l]Select Registrar[/l]: 
<form name="fetchDomains">
<select name="selectRegistrar" onchange="fetchPage('GetDomainList&registrar='+this.options[this.selectedIndex].value+'&page=1')">
  <option value="--">----&nbsp;&nbsp;</option>
  <!-- BEGIN DYNAMIC BLOCK: registrar -->
  <option value="{REGISTRAR}">[l]{REGISTRAR}[/l]&nbsp;&nbsp;</option>
  <!-- END DYNAMIC BLOCK: registrar -->
</select>
</form>
<!-- END DYNAMIC BLOCK: registrarDropdown -->

<!-- BEGIN DYNAMIC BLOCK: noRegistrars -->
{noRegistrarsText}
<!-- END DYNAMIC BLOCK: noRegistrars -->
</div>

<div id="working" style="display:none">
<br />
<br />
<img src="templates/{TEMPLATE}/images/working.gif" alt="loading..." /> [l]Loading data from registrar...[/l]
</div>

<div id="managePage" style="display:none">
</div>
<!-- END DYNAMIC BLOCK: hasDomainsModule -->