{error}

<!-- BEGIN DYNAMIC BLOCK: noClients -->
<br>
&nbsp;&nbsp;&nbsp;
<img src="../images/sub_dot.gif">
<font class=body7green>[l]Client database is empty[/l]</font>
<!-- END DYNAMIC BLOCK: noClients -->

<!-- BEGIN DYNAMIC BLOCK: addClient -->
<br>
&nbsp;&nbsp;&nbsp;
<img src="../images/sub_dot.gif">
[l]To add a client please click[/l]
<a onclick='addClient()' href='javascript:void();'>[l]here[/l]</a>
<!-- END DYNAMIC BLOCK: addClient -->

<!-- BEGIN DYNAMIC BLOCK: profile -->
<script language="javascript" type="text/javascript" src="{RELATIVE_PATH}javascript/modules/clients.js?version={VERSION}" ></script>
<script language="javascript" type="text/javascript"><!--hide it---
    function replaceString(oldS,newS,fullS) {
      for (var i=0; i<fullS.length; i++) {
         if (fullS.substring(i,i+oldS.length) == oldS) {
            fullS = fullS.substring(0,i)+newS+fullS.substring(i+oldS.length,fullS.length);
         }
      }
      return fullS;
    }
    
    function fixaddress(myfield) {
      myfield.value =  replaceString(" ","",myfield.value);
      myfield.value = myfield.value.toLowerCase();
    }
    
    if (document.images) {
        pic1= new Image(167,14);
        pic1.src="{RELATIVE_PATH}images/loading.gif";
    }
//-->
</script>


<form method=post name=customerdata action="index.php?fuse=clients&action=UpdateCustomer&CustomerTab=AlternativeEmails">
    <!-- BEGIN DYNAMIC BLOCK: updateCustomerForm -->
    <input type=hidden name=id value="{customerId}">
    <input type=hidden name=userid value="{customerId}">
    <!-- END DYNAMIC BLOCK: updateCustomerForm -->

    <div class="inside">
        <ul class="tabs">
            <!-- BEGIN DYNAMIC BLOCK: customerTabs -->
            <li{TABCLASS}><a href="index.php?fuse=clients&view=ShowCustomerData&CustomerTab={CUSTOMERTAB}">{CUSTOMERTABNAME}</a></li>
            <!-- END DYNAMIC BLOCK: customerTabs -->
        </ul>

        <div class="tab">
            <div id="errMessages" valign=top>
                <font class="redtext"><b>{MESSAGES}&nbsp;</b></font>
            </div>
            <br>
            <h5>{sectionHeader}</h5>
            <dl class="form">
                <!-- BEGIN DYNAMIC BLOCK: additionalEmailOptions -->
                <table width=100% cellpadding=0 cellspacing=2 border=0>
                    <tr>
                        <td width=1%>&nbsp;&nbsp;</td>
                        <td width=39%><h3>[l]E-mail[/l]</h3></td>
                        <td align=center width=15%>
                            <h3>&nbsp;&nbsp;{notificationsHelp}</h3>
                        </td>
  
                        <!-- BEGIN DYNAMIC BLOCK: billingColumn -->
                        <td align=center width=15%>
                            <h3>&nbsp;&nbsp;{billingHelp}</h3>
                        </td>
                        <!-- END DYNAMIC BLOCK: billingColumn -->
  
                        <td align=center width=15%>
                            <h3>&nbsp;&nbsp;{supportHelp}</h3>
                        </td>
                        <td align=center width=15%>
                            <h3>&nbsp;&nbsp;{deleteEmailHelp}</h3>
                        </td>
                    </tr>
  
                    <!-- BEGIN DYNAMIC BLOCK: altEmailRow -->
                    <tr class='{className1}'>
                        <td>&nbsp;&nbsp;</td>
                        <td>{altEmail}</td>
                        <td align=center>
                            <input type=checkbox name=sendnotifications_{altEmailId} {sendNotifications} {disabled} >
                        </td>
  
                        <!-- BEGIN DYNAMIC BLOCK: altEmailRowBillingColumn -->
                        <td align=center>
                            <input type=checkbox name=sendinvoice_{altEmailId} {sendInvoice} {disabled} >
                        </td>
                        <!-- END DYNAMIC BLOCK: altEmailRowBillingColumn -->
  
                        <td align=center>
                            <input type=checkbox name=sendsupport_{altEmailId} {support} {disabled} >
                        </td>
                        <td align=center>
                            <input type=checkbox name=delete_{altEmailId} {disabled} />
                        </td>
                    </tr>
                    <!-- END DYNAMIC BLOCK: altEmailRow -->
  
                    <!-- BEGIN DYNAMIC BLOCK: newAltEmail -->
                    <tr class='{className1}'>
                        <td>&nbsp;&nbsp;</td>
                        <td>
                            <input type="text" name="newaltemail" autocomplete="off">&nbsp;{newAltEmailHelp}
                        </td>
                        <td align=center>
                            <input type=checkbox name=newnotify>
                        </td>
  
                        <!-- BEGIN DYNAMIC BLOCK: newAltEmailBilling -->
                        <td align=center>
                            <input type=checkbox name=newinvoice>
                        </td>
                        <!-- END DYNAMIC BLOCK: newAltEmailBilling -->
  
                        <td align=center>
                            <input type=checkbox name=newsupport>
                        </td>
                        <td align=center></td>
                    </tr>
                    <!-- END DYNAMIC BLOCK: newAltEmail -->
  
                    <!-- BEGIN DYNAMIC BLOCK: noNewAltEmail -->
                    <tr class='{className1}'>
                        <td colspan=6 align=center>
                            <font color=red>[l]There are no alternate E-mails created for this account[/l]</font>
                        </td>
                    </tr>
                    <!-- END DYNAMIC BLOCK: noNewAltEmail -->
                </table>
                <br>
                <!-- END DYNAMIC BLOCK: additionalEmailOptions -->
            </dl>

            <!-- BEGIN DYNAMIC BLOCK: passwordButtons2 -->
            <p class="buttons">
                <input type=submit class=button value='[l]update[/l]' onclick='check(form,form.elements.length); return false;' class=body>
            </p>
            <!-- END DYNAMIC BLOCK: passwordButtons2 -->
            <input type=hidden name=removeArray value='{queryString1}'>
            <input type=hidden name=altEmailsArray value='{queryString3}'>
        </div>
        <br class="clearboth" />
    </div>
</form>
<!-- END DYNAMIC BLOCK: profile -->
