<? include($template[company][file_path] . "shared/start_HTML.shared"); ?>


<? include($template[company][file_path] . "shared/HEADER.shared"); ?>


<? include($template[company][file_path] . "shared/start_TABLE_I_i.shared"); ?>
<? include($template[company][file_path] . "shared/start_TABLE_I_ii.shared"); ?>


<!-- NOTE:  cellpadding and cellspacing and TABLE II. must be done -->
<!-- this way in order to enable a ratio/"secured network" at the bottom -->
  

<? include($template[company][file_path] . "shared/start_TABLE_II.shared"); ?>


<? include($template[company][file_path] . "shared/start_TABLE_III_logo.shared"); ?>


<? $page_message = "You may initiate an \"Account to Account\" transfer below...";
$gateway_payment_step = "transfer.gate";
$message_width = "auto";
include($template[company][file_path] . "shared/start_TABLE_IV_sysmsg.shared"); ?>


<? $form_action = "transfer_2.gate";
include($template[company][file_path] . "shared/start_TABLE_V_form.shared"); ?>
<!-- --------------------INSERT FORM CONTENT BELOW <!TD!>: ------------------------ -->



<? $mastertab_status = "gateway";
include($template[company][file_path] . "shared/start_TABLE_VI_mast_tab.shared"); ?>
<? include($template[company][file_path] . "shared/start_TABLE_VII_i.shared"); ?>
<? include($template[company][file_path] . "shared/start_TABLE_VII_ii.shared"); ?>

<!-- NOTE: the gap between VII_ii and VII_iii allows for a tight 'reqired fields' footer -->

<? include($template[company][file_path] . "shared/start_TABLE_VII_iii.shared"); ?>


<? #$table_width = "675"; ## actual inner menubar option width (history, deposit, etc.)
include($template[company][file_path] . "shared/start_TABLE_VIII_menu.shared"); ?>
<!-- -------------------- INSERT "MAIN MENU" CONTENT BELOW <TR>: ------------------------ -->
<!-- -------------------- INSERT "MAIN MENU" CONTENT BELOW <TR>: ------------------------ -->


<? $TABLE_VIII_colspan = "1";
include($template[company][file_path] . "shared/TABLE_VIII_colspan.shared"); ?>
<!-- SINCE THE REQUIRED COLSPAN IS SET ABOVE, NOW START MENU ROW CONTENT BELOW: <TR>: -->






<!-- START INNER MENU ROW - FITS IN AFTER TABLE VIII. -->
<? include($template[company][file_path] . "shared/start_TABLE_IX_i.shared"); ?>

<? include($template[company][file_path] . "shared/TABLE_IX_i_activeaccount.shared"); ?>


<? include($template[company][file_path] . "shared/start_TABLE_IX_ii.shared"); ?>

<? $accounttab_status = "off"; 
include($template[company][file_path] . "shared/TABLE_IX_ii_accounttabs.shared"); ?>


<? include($template[company][file_path] . "shared/start_TABLE_IX_iii.shared"); ?>
<!-- note: IX_iii enables account menu padding -->

<? #$menu_width = "550"; #master inner options menu)
include($template[company][file_path] . "shared/start_TABLE_X_acctmenu.shared"); ?>
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT BELOW <TR>: ------------------------ -->
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT BELOW <TR>: ------------------------ -->
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT BELOW <TR>: ------------------------ -->

<? 
$TABLE_X_colspan = "4";
include($template[company][file_path] . "shared/spacer_TABLE_X_colspan.shared"); ?>
<!-- SINCE THE REQUIRED COLSPAN IS SET ABOVE, NOW START ACCOUNT ROW CONTENT BELOW: <TR>: -->







<?  $row_title = "Account Transfer";
  include($template[company][file_path] . "shared/TABLE_X_ROW_title.shared"); ?>





<? 
$field_name = "requested_value";
$row_title = "<nobr>Amount To Transfer (Value):&nbsp;&nbsp;<font size=2>{$template[company][currency1]}</font size></nobr>";
//$row_input = "<input type=text maxlength=15 size=12 name='requested_value' value='$transaction[requested_value]'>&nbsp;&nbsp;(Ex: 100.00)";
$row_input  = "<input onFocus=\"checkField(this, 'onFocus', 'currency')\" onBlur=\"checkField(this, 'onBlur','currency')\" ";
$row_input .= "   onChange=\"checkField(this, 'onChange', 'currency')\" onKeyUp=\"checkField(this, '', 'currency')\"  ";
$row_input .= "   name=\"$field_name\" value='{$transaction[requested_value]}' ";
$row_input .= "   type=\"text\" size=\"12\" maxlength=\"15\">&nbsp;&nbsp;(Example: 100.00)";

$row_example = "";
$row_required = "yes";
$row_variable = "$transaction[requested_value]";
include($template[company][file_path] . "shared/TABLE_X_ROW_I_input.shared"); ?>



<? $row_title = "Transfer To (Account):";
$field_name = "account_number";
$row_input = "<input onFocus=\"checkField(this, 'onFocus', 'email')\" onBlur=\"checkField(this, 'onBlur','email')\" ";

if($template[company][name_network]) {

	$row_input .= "onChange=\"checkField(this, 'onChange', 'email')\" onKeyUp=\"checkField(this, '', 'email')\" type=\"text\" size=\"25\" ";
	$row_input .= " maxlength=\"255\"  size=\"25\" name=\"$field_name\" value='{$transaction[recipient][emailaddress]}'>.{$template[company][name_network]}";

} else {
	
	$row_input .= "onChange=\"checkField(this, 'onChange', 'email')\" onKeyUp=\"checkField(this, '', 'email')\" type=\"text\" size=\"30\" ";
	$row_input .= " maxlength=\"255\"  size=\"25\" name=\"$field_name\" value='{$transaction[recipient][emailaddress]}'>";

}

$row_example = "(Example: michelle001@aol.com)";
$row_required = "yes";
$row_variable = $transaction[account_number];
include($template[company][file_path] . "shared/TABLE_X_ROW_I_input.shared"); ?>






<? include($template[company][file_path] . "shared/TABLE_X_ROW_endline.shared"); ?>







<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT ABOVE <TR>: ------------------------ -->
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT ABOVE <TR>: ------------------------ -->
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT ABOVE <TR>: ------------------------ -->      
<? include($template[company][file_path] . "shared/end_TABLE_X_accountmenu.shared"); ?>



<? include($template[company][file_path] . "shared/end_TABLE_IX_iii.shared"); ?>

<? $tightfooter = "";
include($template[company][file_path] . "shared/TABLE_IX_ii_tightfooter.shared"); ?>



<? include($template[company][file_path] . "shared/end_TABLE_IX_ii.shared"); ?>
<? include($template[company][file_path] . "shared/end_TABLE_IX_i.shared"); ?>
<!-- ENDS INNER MENU TABLE AND TABLE_VIII ROW <TR>: -->
    


<!-- --------------------INSERT "MAIN MENU" CONTENT ABOVE <TR>: ------------------------ -->
<!-- --------------------INSERT "MAIN MENU" CONTENT ABOVE <TR>: ------------------------ -->
<? include($template[company][file_path] . "shared/end_TABLE_VIII_mainmenu.shared"); ?>



<? include($template[company][file_path] . "shared/end_TABLE_VII_iii.shared"); ?>

<?
$leftfooter_name = "Cancel";
$leftfooter_link = "cancel.gate?source=$PHP_SELF";
$rightfooter_name = "";
$rightfooter_link = "";
include($template[company][file_path] . "shared/TABLE_VII_ii_tightfooter.shared"); ?>

<? include($template[company][file_path] . "shared/end_TABLE_VII_ii.shared"); ?>
<? include($template[company][file_path] . "shared/end_TABLE_VII_i.shared"); ?>


<? include($template[company][file_path] . "shared/spacer_TABLE_V_form.shared"); ?>




<!-- !SUBMIT: INSERT TABLE V. LESS-TRAVELD SUBMIT BELOW <TR>:  -->
<?
$left_submit = "";
$center_submit = "<input type='button' onclick='validateTransferContinue()' name=continue value='Continue Transfer...'>";
$right_submit = "";
include($template[company][file_path] . "shared/TABLE_XI_submit.shared"); ?>
<!-- !SUBMIT: INSERT TABLE V. LESS-TRAVELD SUBMIT ABOVE <TR>:  -->
    
    
<!-- -------------------- INSERT FORM CONTENT ABOVE <TR>: ------------------------ -->
<? include($template[company][file_path] . "shared/end_TABLE_V_form.shared"); ?>


<? include($template[company][file_path] . "shared/end_TABLE_II.shared"); ?>


<? include($template[company][file_path] . "shared/TABLE_I_ii_tightfooter.shared"); ?>


<? include($template[company][file_path] . "shared/end_TABLE_I_ii.shared"); ?>
<? include($template[company][file_path] . "shared/end_TABLE_I_i.shared"); ?> 

<? include($template[company][file_path] . "shared/js_generic_validation.shared"); ?> 

<script type="text/javascript">
	function validateTransferContinue() {
		if (globalValidation())
			document.bangkForm.submit();

		return false;
	}
</script>


<? include($template[company][file_path] . "shared/end_HTML.shared"); ?> 


