//DHTML ARCHIVO DE MENU PRINCIPAL PARA A.M.A.

function find_left()
{
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

winW = (ns4)? window.innerWidth : document.body.offsetWidth

var pWidth = ((parseInt(winW) / 2));
//alerta(pWidth);
var real_left = pWidth - 380;
//alerta(real_left);
return real_left;
}

//var left_start_place = find_left();
var left_start_place = 179;
var top_start_place = 92;

/*_______________________________________________________________________________________
				     Ahorros
_______________________________________________________________________________________*/

HM_Array1 = [
[,      // menu anchura
left_start_place,       // left_position
top_start_place,       // top_position
,   // font_color
,   // mouseover_font_color
,   // background_color
,   // mouseover_background_color
,   // border_color
,    // separator_color
,         // top_is_permanent
,         // top_is_horizontal
,         // tree_is_horizontal
,         // position_under
,         // top_more_images_visible
,         // tree_more_images_visible
,    // evaluate_upon_tree_show
,    // evaluate_upon_tree_hide
,          // right-to-left
],     // display_on_click
["Online Banking", "http://www.mutualistaambato.com.ec/ahorros/HB",1,0,1],
["Online Check Reordering", "javascript:alert('Coming Soon!')",1,0,1],
["Online Applications", sitedir + "online_applications.html",1,0,1]
]

	
		
		
/*_______________________________________________________________________________________
     							inversiones Products
_______________________________________________________________________________________*/

HM_Array2 = [
[,      // menu width
left_start_place,       // left_position
top_start_place + 30,       // top_position
,   // font_color
,   // mouseover_font_color
,   // background_color
,   // mouseover_background_color
,   // border_color
,    // separator_color
,         // top_is_permanent
,         // top_is_horizontal
,         // tree_is_horizontal
,         // position_under
,         // top_more_images_visible
,         // tree_more_images_visible
,    // evaluate_upon_tree_show
,    // evaluate_upon_tree_hide
,          // right-to-left
],     // display_on_click
["NOW Account", sitedir + "NOW_account.html",1,0,1],
["Basic inversiones", sitedir + "basic.html",1,0,1],
["Select inversiones", sitedir + "select.html",1,0,0],
["Better Half inversiones", sitedir + "betterhalf_account.html",1,0,1],
["Premium inversiones", sitedir + "premium_inversiones.html",1,0,0]
]


/*_______________________________________________________________________________________
     							pcomercial
_______________________________________________________________________________________*/

HM_Array3 = [
[,      // menu width
left_start_place,       // left_position
top_start_place + 60,       // top_position
,   // font_color
,   // mouseover_font_color
,   // background_color
,   // mouseover_background_color
,   // border_color
,    // separator_color
,         // top_is_permanent
,         // top_is_horizontal
,         // tree_is_horizontal
,         // position_under
,         // top_more_images_visible
,         // tree_more_images_visible
,    // evaluate_upon_tree_show
,    // evaluate_upon_tree_hide
,          // right-to-left
],     // display_on_click
["Statement pcomercial", sitedir + "statement_pcomercial.html",1,0,0],
["Youth pcomercial", sitedir + "youth_pcomercial.html",1,0,0],
["CDs and IRAs", sitedir + "cds.html",1,0,0],
["T-Bill inversiones", sitedir + "t-bill_inversiones.html",1,0,0],
["Premium Money Market", sitedir + "premium_money_market.html",1,0,0],
["Wiring Instructions", sitedir + "wiring.html",1,0,0]
]


/*_______________________________________________________________________________________
     							Small Business
_______________________________________________________________________________________*/

HM_Array4 = [
[,      // menu width
left_start_place,       // left_position
top_start_place + 194,       // top_position
,   // font_color
,   // mouseover_font_color
,   // background_color
,   // mouseover_background_color
,   // border_color
,    // separator_color
,         // top_is_permanent
,         // top_is_horizontal
,         // tree_is_horizontal
,         // position_under
,         // top_more_images_visible
,         // tree_more_images_visible
,    // evaluate_upon_tree_show
,    // evaluate_upon_tree_hide
,          // right-to-left
],     // display_on_click
["Small Business inversiones", sitedir + "SB_inversiones.html",1,0,0]
]


/*_______________________________________________________________________________________
     							pvivienda
_______________________________________________________________________________________*/

HM_Array5 = [
[,      // menu width
left_start_place,       // left_position
top_start_place + 136,       // top_position
,   // font_color
,   // mouseover_font_color
,   // background_color
,   // mouseover_background_color
,   // border_color
,    // separator_color
,         // top_is_permanent
,         // top_is_horizontal
,         // tree_is_horizontal
,         // position_under
,         // top_more_images_visible
,         // tree_more_images_visible
,    // evaluate_upon_tree_show
,    // evaluate_upon_tree_hide
,          // right-to-left
],     // display_on_click
["Home Equity LOC", sitedir + "HELOC.html",1,0,0]
]

