var tempalignLeft = 0;
var intScreenWidth = document.body.clientWidth;
var intTableWidth = 780;
var intpercentTable = (intTableWidth/intScreenWidth)*100
function checkSize(){
var PageWidthPrecent;
PageWidthPrecent = parseInt((intScreenWidth/100)*intpercentTable)
tempChar = intScreenWidth-PageWidthPrecent;
tempChar = tempChar/2;
return parseInt(tempChar)
}
tempalignLeft = checkSize();
HM_Array1 = [
[150, // Menu Width
"tempalignLeft+80", // Position From Left
"25", // Position From Top
"#000000","000000", // font_color | mouseover_font_color
"#e7e7e7","#c6c6c6", // background_color | mouseover_background_color
"black","#000000", // border_color | separator_color
0,0,0,1,1,1, // top_is_permanent | top_is_horizontal | tree_is_horizontal | position_under | top_more_images_visible | tree_more_images_visible
"null","null", // evaluate_upon_tree_show | evaluate_upon_tree_hide
false, // right-to-left
], // display_on_click // display_on_click // display_on_click
["
Background","about_content.asp?intGlobalId=1",1,0,0],
//["
Organization","about_content.asp?intGlobalId=3",1,0,0],
["
Our History","about_content.asp?intGlobalId=4",1,0,0],
["
Magazine","about_content.asp?intGlobalId=5",1,0,0],
["
Board of Directors","board.asp",1,0,0],
,]
HM_Array2 = [
[210, // Menu Width
"tempalignLeft+155", // Position From Left
"25", // Position From Top
"#000000","000000", // font_color | mouseover_font_color
"#e7e7e7","#c6c6c6", // background_color | mouseover_background_color
"black","#000000", // border_color | separator_color
0,0,0,1,1,1, // top_is_permanent | top_is_horizontal | tree_is_horizontal | position_under | top_more_images_visible | tree_more_images_visible
"null","null", // evaluate_upon_tree_show | evaluate_upon_tree_hide
false, // right-to-left
], // display_on_click // display_on_click // display_on_click
["
Hashmira Company","companies.asp?intGlobalId=7",1,0,0],
["
Hashmira Security Technologies","companies.asp?intGlobalId=1",1,0,0],
["
Other Companies","companies.asp?intGlobalId=3",1,0,0],
,]
HM_Array3 = [
[160, // Menu Width
"tempalignLeft+294", // Position From Left
"25", // Position From Top
"#000000","000000", // font_color | mouseover_font_color
"#e7e7e7","#c6c6c6", // background_color | mouseover_background_color
"black","#000000", // border_color | separator_color
0,0,0,1,1,1, // top_is_permanent | top_is_horizontal | tree_is_horizontal | position_under | top_more_images_visible | tree_more_images_visible
"null","null", // evaluate_upon_tree_show | evaluate_upon_tree_hide
false, // right-to-left
], // display_on_click // display_on_click // display_on_click
["
Overview","services.asp",1,0,0],
["
Security","services_content.asp?intGlobalId=1",1,0,0],
["
Electronic Security","services_content.asp?intGlobalId=2",1,0,0],
,]
HM_Array4 = [
[160, // Menu Width
"tempalignLeft+379", // Position From Left
"25", // Position From Top
"#000000","000000", // font_color | mouseover_font_color
"#e7e7e7","#c6c6c6", // background_color | mouseover_background_color
"black","#000000", // border_color | separator_color
0,0,0,1,1,1, // top_is_permanent | top_is_horizontal | tree_is_horizontal | position_under | top_more_images_visible | tree_more_images_visible
"null","null", // evaluate_upon_tree_show | evaluate_upon_tree_hide
false, // right-to-left
], // display_on_click // display_on_click // display_on_click
["
Security","branches.asp?intGlobalId=1",1,0,0],
["
Electronic Security","branches.asp?intGlobalId=2",1,0,0],
//["
Cleaning & Maintenance","branches.asp?intGlobalId=3",1,0,0],
["
Medical Services","branches.asp?intGlobalId=4",1,0,0],
,]
/*
HM_Array5 = [
[130, // Menu Width
"tempalignLeft+452", // Position From Left
"25", // Position From Top
"#000000","000000", // font_color | mouseover_font_color
"#e7e7e7","#c6c6c6", // background_color | mouseover_background_color
"black","#000000", // border_color | separator_color
0,0,0,1,1,1, // top_is_permanent | top_is_horizontal | tree_is_horizontal | position_under | top_more_images_visible | tree_more_images_visible
"null","null", // evaluate_upon_tree_show | evaluate_upon_tree_hide
false, // right-to-left
], // display_on_click // display_on_click // display_on_click
["
Press Releases","news.asp?intGlobalId=1",1,0,0],
["
In The News","news.asp?intGlobalId=2",1,0,0],
,]
*/