var tempalignLeft = 0; var intScreenWidth = document.body.clientWidth; var intTableWidth = 780; var intpercentTable = (intTableWidth/intScreenWidth)*100 //alert(intpercentTable) function checkSize(){ var PageWidthPrecent; PageWidthPrecent = parseInt((intScreenWidth/100)*intpercentTable) tempChar = intScreenWidth-PageWidthPrecent; tempChar = tempChar/2; return parseInt(tempChar) } tempalignLeft = checkSize(); HM_Array1 = [ [96, "tempalignLeft+112", "30", "#ffffff", // font_color "#ffa500", // mouseover_font_color "#000000", // background_color "#000000", // mouseover_background_color "#000000", // border_color "#999999", // separator_color 0, // top_is_permanent 1, // top_is_horizontal 0, // tree_is_horizontal 1, // position_under 1, // top_more_images_visible 1, // tree_more_images_visible "null", // evaluate_upon_tree_show "null", // evaluate_upon_tree_hide false, // right-to-left ], // display_on_click // display_on_click // display_on_click ["Packaging","http://www.avt-inc.com/Pages/WorkFlow.asp?iGlobalVarType=7",1,0,0], ["Labels","http://www.avt-inc.com/Pages/WorkFlow.asp?iGlobalVarType=8",1,0,0], ,] HM_Array2 = [ [115, "tempalignLeft+95", "30", "#ffffff", // font_color "#ffa500", // mouseover_font_color "#000000", // background_color "#000000", // mouseover_background_color "#000000", // border_color "#999999", // separator_color 0, // top_is_permanent 1, // top_is_horizontal 0, // tree_is_horizontal 1, // position_under 1, // top_more_images_visible 1, // tree_more_images_visible "null", // evaluate_upon_tree_show "null", // evaluate_upon_tree_hide false, // right-to-left ], // display_on_click // display_on_click // display_on_click ["Reports","http://www.avt-inc.com/Pages/IR.asp",1,0,0], ["Stock Quotes","http://www.avt-inc.com/Pages/IRStockQuotes.asp",1,0,0], ["Press Releases","http://www.avt-inc.com/Pages/IRNews.asp",1,0,0], ["Calendar","http://www.avt-inc.com/Pages/IRCalendar.asp",1,0,0], ["Directors Dealings","http://www.avt-inc.com/Pages/dealings.asp",1,0,0], ["FAQ","http://www.avt-inc.com/Pages/FAQ.asp",1,0,0], /*["Angebotsunterlage","http://www.avt-inc.com/Pages/IRtender.asp",1,0,0], ["Tender offer","http://www.avt-inc.com/Pages/IRtender_heb.asp",1,0,0],*/ ,] HM_Array3 = [ [140, "tempalignLeft", "30", "#ffffff", // font_color "#ffa500", // mouseover_font_color "#000000", // background_color "#000000", // mouseover_background_color "#000000", // border_color "#999999", // separator_color 0, // top_is_permanent 1, // top_is_horizontal 0, // tree_is_horizontal 1, // position_under 1, // top_more_images_visible 1, // tree_more_images_visible "null", // evaluate_upon_tree_show "null", // evaluate_upon_tree_hide false, // right-to-left ], // display_on_click // display_on_click // display_on_click ["Overview","http://www.avt-inc.com/Pages/Profile.asp",1,0,0], ["Executive Management","http://www.avt-inc.com/Pages/ourteam.asp?intGlobalId=2",1,0,0], ["Board of Directors","http://www.avt-inc.com/Pages/ourteam.asp?intGlobalId=3",1,0,0], ,] HM_Array4 = [ [60, "tempalignLeft+661", "30", "#ffffff", // font_color "#ffa500", // mouseover_font_color "#000000", // background_color "#000000", // mouseover_background_color "#000000", // border_color "#999999", // separator_color 0, // top_is_permanent 1, // top_is_horizontal 0, // tree_is_horizontal 1, // position_under 1, // top_more_images_visible 1, // tree_more_images_visible "null", // evaluate_upon_tree_show "null", // evaluate_upon_tree_hide false, // right-to-left ], // display_on_click // display_on_click // display_on_click ["Careers","http://www.avt-inc.com/Pages/Careers.asp",1,0,0], ["Contact Form","http://www.avt-inc.com/Pages/Contact.asp",1,0,0], ,] /* HM_Array4 = [ [60, "tempalignLeft+180", "30", "#ffffff", // font_color "#ffa500", // mouseover_font_color "#000000", // background_color "#000000", // mouseover_background_color "#000000", // border_color "#999999", // separator_color 0, // top_is_permanent 1, // top_is_horizontal 0, // tree_is_horizontal 1, // position_under 1, // top_more_images_visible 1, // tree_more_images_visible "null", // evaluate_upon_tree_show "null", // evaluate_upon_tree_hide false, // right-to-left ], // display_on_click // display_on_click // display_on_click ["Overview","http://www.avt-inc.com/Pages/Profile.asp",1,0,0], ["Executive Management","http://www.avt-inc.com/Pages/ourteam.asp?intGlobalId=2",1,0,0], ["Board of Directors","http://www.avt-inc.com/Pages/ourteam.asp?intGlobalId=3",1,0,0], ,] */