<form name="checkdomain" method="Post" action="signup.php">
<input type="hidden" name="currency" value="{CURRENCY}">
<input type="hidden" name="package" value="{PACKAGE}">
<input type="hidden" name="step" value="2">
<input type="hidden" name="clienttype" value="{CLIENTTYPE}">
<input type="hidden" name="domain" value="{DOMAIN}">
<input type="hidden" name="coupon_code" value="{COUPONCODE}">
<input type="hidden" name="paymentterm" value="{PAYMENTTERM}">
<div id="kb" class="block">
    <div class="block_title">
        <h3><b><a href="#">[l]Support Center[/l]</a> &raquo; <a href="#">[l]Order[/l]</a></b></h3>
    </div>
    <ul>
        <li>
            <p><span class="">[l]Package Type[/l]</span> &raquo; <span class="currentStep">[l]Choose Domain[/l]</span> &raquo; <span class="futureStep">[l]Order Options[/l]</span> &raquo; <span class="futureStep">[l]Terms of Service[/l]</span> &raquo; <span class="futureStep">[l]Payment[/l]</span> &raquo; <span class="futureStep">[l]Complete[/l]</span></p>
            <p class="kb st" style="background: url(templates/{TEMPLATE}/images/public/icon_signup.gif) no-repeat  0 8px;">[l]The following page allows you to enter the domain name to be associated with the package being ordered.[/l]</p>
        </li>
    </ul>
</div>

<!-- Get list of supported domain extensions -->
<script language="javascript">
<!--
function PopupTLD(){
    var mywin = window.open('','cewindow','scrollbars=no,menubar=no,location=no,width=250,height=45,resizable=yes,screenX=400,screenY=400,top=400,left=400');
    mywin.document.write("<html><body bgcolor=\"#efefef\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\" leftmargin=\"0\">\n");
    mywin.document.write("<table width=\"100%\" cellpadding=\"3\" cellspacing=\"0\"><tr><td bgcolor=\"Navy\" align=\"center\"><font size=2 face=\"verdana\"color=\"White\">[lj]Supported domain extensions.[/lj]</font></td></tr></table><center><br>");
    mywin.document.write("<font size=2 face=verdana>{STRPOPUP}</font>\n");
    mywin.document.write("</body>\n</html>\n");
    mywin.document.close();
    mywin.focus();
}
function ConcatDomain(){
    if(document.forms['checkdomain'].tld.value== '--'){
       document.forms['checkdomain'].tldother.style.display = 'inline';
       document.forms['checkdomain'].domainname.value = document.forms['checkdomain'].temp.value + '.' + document.forms['checkdomain'].tldother.value; 
    }else{
       document.forms['checkdomain'].tldother.style.display = 'none';
       document.forms['checkdomain'].domainname.value = document.forms['checkdomain'].temp.value + '.' +document.forms['checkdomain'].tld.value; 
    }
    ChangeTLD();
}
-->
</script>
{FORM_INPUTS}

{SIGNUPBLOCKCONTENT}

<!-- enter hidden div for result of domain check -->
<div id="domainwindow_main" style="display:none">
</div>

<!-- end hidden divs -->

</form>

<script type="text/javascript">
if (document.forms['checkdomain'].domainname.value != '') {
    {SEARCHFUNCTION}(document.forms['checkdomain']);
}
</script>
