<table width='400px' cellpadding='0' border='0' cellspacing='0'>
  <tr>
    <td class="snapshot-header-left"></td>
    <td class="snapshot-header">
      <font class=snapshot-header-text>[l]Billing Information[/l]</font>
    </td>
    <td class="snapshot-header" align="right">
    {TOGGLEIMG}
    </td>
    <td class="snapshot-header-right"></td>
  </tr>
</table>


<script language="JavaScript" type="text/javascript">
    if ({ADD_PACKAGE}) {
        document.write ("<div id=\"adminsection\">");
    }else if (get_cookie("adminsection") == "collapse") {
        document.write ("<div id=\"adminsection\" style=\"display:\">");
        document.images['toggle1'].src="images/collapse.gif";
    }else{
        document.write ("<div id=\"adminsection\" style=\"display:none\">");
        document.images['toggle1'].src="images/expand.gif";
    }
</script>

<table width=400 border="0">
  <tr class="{TR_DATECREATED}">
    <td width="120" class="labelright">&nbsp;&nbsp;&nbsp;[l]Date Created[/l]:</td>
    <td><input class="{INPUT_CLASS}" type="text" size="12" maxlength="10" name="dateActivated" id="dateActivated" value="{DATE_CREATED}" />
      &nbsp;&nbsp;<img id="calButton" src="images/dynCalendar.gif" style="cursor:pointer"/>
      <link rel="stylesheet" type="text/css" href="newedge/javascript/jscalendar/calendar-win2k-cold-1.css" />
      <script type="text/javascript">
          Calendar.setup({
          inputField      : 'dateActivated',
          ifFormat        : '{DATE_FORMAT}',
          showsTime       : false,
          button          : 'calButton',
          weekNumbers     : false,
          step            : 1
        });
      </script>
      <input type="hidden" name="r_dateActivated" value="Date Created" />
    </td>
  </tr>
  
  <tr class="{TR_RECURRING}">
    <td class="labelright">&nbsp;&nbsp;&nbsp;[l]Recurring[/l] ?</td>
    <td>
      <select name="recurring" class="body" onChange="packageBillingChanged = true; togglerecurringfields();">
        <option value="0" {NO_SELECTED}>[l]No[/l]</option>
        <option value="1" {YES_SELECTED}>[l]Yes[/l]</option>
      </select>
      &nbsp;&nbsp;{RECURRING_POPUP}
    </td>
  </tr>
</table>

<div id="recurringinfo" style="display:{DISP_RECURRING}">
  <table width="400" border="0">
    <tr class="{TR_CYCLE}">
      <td width="120" class="labelright">&nbsp;&nbsp;&nbsp;[l]Billing Cycle[/l]</td>
      <td>
        <select name="paymentterm" class="body" onChange="packageBillingChanged = true; getPackageAddons();">
          <option value="1" {1_SEL}>[l]Monthly[/l]&nbsp;&nbsp;</option>
          <option value="3" {3_SEL}>[l]Quarterly[/l]&nbsp;&nbsp;</option>
          <option value="6" {6_SEL}>[l]Semiannually[/l]&nbsp;&nbsp;</option>
          <option value="12" {12_SEL}>[l]Annually[/l]&nbsp;&nbsp;</option>
          <option value="24" {24_SEL}>[l]Every 2 Years[/l]&nbsp;&nbsp;</option>
        </select>
      </td>
    </tr>
    
    <tr class="{TR_NEXTBILLDATE}">
      <td class="labelright">&nbsp;&nbsp;&nbsp;[l]Next Due Date[/l]</td>
      <td>
        <table width='100%' border='0' cellpadding='0' cellspacing='0'>
          <tr>
            <td><input class="{INPUT_CLASS}" type="text" size="12" maxlength="10" name="nextbilldate" id="nextbilldate" value="{NEXTBILLDATE}" />
              &nbsp;&nbsp;<img id="calButton2" src="images/dynCalendar.gif" style="cursor:pointer"/>
                <script type="text/javascript">
                  Calendar.setup({
                  inputField      : 'nextbilldate',
                  ifFormat        : '{DATE_FORMAT}',
                  showsTime       : false,
                  button          : 'calButton2',
                  weekNumbers     : false,
                  step            : 1
                });
              </script>
            </td>
            <input type="hidden" name="r_nextbilldate" value="Next Bill Date" />
            <!-- BEGIN DYNAMIC BLOCK: subscriptions -->
            <td align='right'>
              {SUB_POPUP}
              <input type="submit" class="button_large" style="margin-right:0" value="[lh]Reset Invoice[/lh]" onclick="if (AskAboutResettingRecurring2(form)){ToggleDomainRequirement();check(form,form.elements.length);};return false;" />
            </td>
            <!-- END DYNAMIC BLOCK: subscriptions -->
          </tr>
        </table>
      </td>
    </tr>
    
    <tr class="{TR_PRICE}">
      <td class="labelright">&nbsp;&nbsp;&nbsp;[l]Price Override[/l]</td>
      <td><input type="text" id="price" name="price" size="12" value="{PRICE_VALUE}" {PRICE_DISABLED}/> <input type="checkbox" id="price_override" name="price_override" onclick="togglePriceOverride();" {PRICE_CHECKED} /> {PRICE_POPUP}<input type="hidden" id="altprice" name="altprice" value="0.00" /></td>
    </tr>
  </table>
</div>
