

<script type="text/javascript">
function changeSheet(action, sheet) {
    document.myForm.action.value = action;
    document.myForm.sheet.value = sheet;
    document.myForm.submit();
}
function changeTab(tabID) {}
</script>

<?php echo $this->a_tab_desc?>

<form enctype="multipart/form-data" id="myForm" name="myForm" action="index.php" method="POST">
<table class="mt10" width="780">
<tr>
  <td  align="left" valign=="top">
      <?php echo $this->a_tab_content?>
  </td>
</tr>
<tr>
    <td align="left" style="padding: 5px">
    &nbsp;&nbsp;
             <input type="hidden" name="commited" value="yes">
             <input type="hidden" name="md" value="Affiliate_Merchants_Views_IntegrationWizard">
             <input type="hidden" name="integration_tab_sheet" value="<?php echo $_REQUEST['integration_tab_sheet']?>">
             <input type="hidden" name="action" value="<?php echo $_REQUEST['action']?>">
        <?php if ($_REQUEST['integration_tab_sheet'] != 'salestracking' && $_REQUEST['integration_tab_sheet'] != 'bindcust') { ?>
            <?php if ($this->a_this->checkPermissions('edit')) { ?>
             <input class="btn" type="submit" value="<?php echo L_G_SUBMIT; ?>">
             <?php } ?>
        <?php } ?>
    </td>
</tr>
</table>
</form>

