HM_Array1= [
[170,       // menu_width
"HM_f_CenterMenu('HM_Menu2',-264)",	// left_position
//100,
182,        // top_position
,      // font_color
,   // mouseover_font_color
,   // background_color
,    // mouseover_background_color
,     // border_color
,    // separator_color
0,          // top_is_permanent
0,          // top_is_horizontal
0,          // tree_is_horizontal
1,          // position_under
0,          // top_more_images_visible
1,          // tree_more_images_visible
"null",     // evaluate_upon_tree_show
"null",     // evaluate_upon_tree_hide
,           // right_to_left
,           // display_on_click
false        // top_is_variable_width
],          // tree_is_variable_width
["Justification","/pen/_ref/about/index.htm",1,0,0],
["Key Research Questions","/pen/_bm/questions/_ref/about/index.htm#questions",1,0,0],
["What would we like PEN to achieve?","/pen/_ref/about/index-2.htm",1,0,0],
["Thematic Groups","/pen/_ref/about/index-3.htm",1,0,0],
["Intellectual Property Rights","/pen/_bm/ipr/_ref/about/index-3.htm#ipr",1,0,0],
["What CIFOR Offers","/pen/_bm/offers/_ref/about/index-3.htm#offers",1,0,0],
["Time Line","/pen/_bm/timeline/_ref/about/index-3.htm#timeline",1,0,0]
]

HM_Array2= [
[140,       // menu_width
"HM_f_CenterMenu('HM_Menu2',-140)",         // left_position
//300,
182,        // top_position
,      // font_color
,   // mouseover_font_color
,   // background_color
,    // mouseover_background_color
,     // border_color
,    // separator_color
0,          // top_is_permanent
0,          // top_is_horizontal
0,          // tree_is_horizontal
1,          // position_under
0,          // top_more_images_visible
1,          // tree_more_images_visible
"null",     // evaluate_upon_tree_show
"null",     // evaluate_upon_tree_hide
,           // right_to_left
,           // display_on_click
false       // top_is_variable_width
],          // tree_is_variable_width
["The Research Team","/pen/_ref/partners/index.htm",1,0,0],
["List of partners","/pen/_ref/partners/partners.htm",1,0,0],
["Partner entrance closed","/pen/_ref/partners/become_partner.htm",1,0,0]
]

HM_Array3= [
[,       // menu_width
"HM_f_CenterMenu('HM_Menu3',)",         // left_position
//300,
182,        // top_position
,      // font_color
,   // mouseover_font_color
,   // background_color
,    // mouseover_background_color
,     // border_color
,    // separator_color
0,          // top_is_permanent
0,          // top_is_horizontal
0,          // tree_is_horizontal
1,          // position_under
0,          // top_more_images_visible
1,          // tree_more_images_visible
"null",     // evaluate_upon_tree_show
"null",     // evaluate_upon_tree_hide
,           // right_to_left
,           // display_on_click
false       // top_is_variable_width
],          // tree_is_variable_width
["The Research Team","/pen/_ref/partners/index.htm",1,0,0],
["List of partners","/pen/_ref/partners/partners.htm",1,0,0],
["Become a partner","/pen/_ref/partners/become_partner.htm",1,0,0]
]

HM_UserAgent = navigator.userAgent;
      HM_DOM = (document.getElementById) ? true : false;
      HM_NS = (navigator.vendor == ("Netscape") || navigator.product == ("Gecko"));
      HM_NS4 = (document.layers) ? true : false;
       HM_IE = (document.all) ? true : false;
      HM_IE4 = HM_IE && !HM_DOM;
      HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
     HM_IE4M = HM_IE4 && HM_Mac;

HM_Opera = (window.opera) ? true : false;
if(HM_Opera) {
    HM_BrowserPattern = /Opera(\/| )(\d+.*)/;
    HM_VersionSupported = 7;
}

HM_Konqueror = (HM_UserAgent.indexOf("Konqueror")!=-1);
if(HM_Konqueror) {
    HM_BrowserPattern = /(Konqueror\/)(\d+.*)/;
    HM_VersionSupported = 3;
}

if(HM_Opera || HM_Konqueror) {
    if (HM_UserAgent.match) {
       HM_Matches = HM_UserAgent.match(HM_BrowserPattern);
       if (HM_Matches&&HM_Matches[2]) {
          HM_BrowserVersion = parseFloat(HM_Matches[2]);
       } else HM_BrowserVersion = 0;
       HM_IsMenu = (HM_BrowserVersion >= HM_VersionSupported);
    } else {
       HM_BrowserVersion = 0;
       HM_IsMenu = false;
    }
} else {
    HM_BrowserVersion = 0;
    HM_IsMenu = !HM_IE4M && (HM_DOM || HM_NS4 || HM_IE4 );
}
