/***********************************************************************************
*  (c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*  For info write to menus@burmees.nl
*  You may remove all comments for faster loading
***********************************************************************************/

   // SAL: Some default settings that should be passed through from parent HTML page but
   // are defaulted here, just in case...
   if (giserc    == null)  { var giserc = false; }
   if (gissub    == null)  { var giserc = false; }
   if (groot_url == null)  { var groot_url = "http://www.esdu.com"; }
   if (groot_cgi == null)  { var groot_cgi = "http://www.esdu.com/cgi-bin"; }
   if (gsess_id  == null)  { var groot_id  = "unlicensed"; }

   if (gconfig   == null)  { var gconfig   = "config_internet"; }
   if (gfeedback == null)  { var gfeedback = "feedback_internet"; }
   if (gcontact  == null)  { var gcontact  = "contact_internet"; }

   if (gshowwsep == null)  { var gshowwsep = false; }

   // Catch for pages redirected from Athens
   if (location.hostname == "esdu.athensams.net") {
      var groot_url = "http://www.esdu.com";
      var groot_cgi = "http://www.esdu.com/cgi-bin";
   }

   // SAL addition - allow different no of menus on pub and sub
   if (gissub == true)
   {
      var NoOffFirstLineMenus=5;       // Number of first level items
      if ( gshowwsep == true ) {
         NoOffFirstLineMenus=6;        // 6 if we're running wsep
         }

   }
   else
   {
      var NoOffFirstLineMenus=6;       // Number of first level items
   }

   var ShowArrow=1;                 // Uses arrow gifs when 1
   var LowBgColor='#F5F5F5';        // Background color when mouse is not over
//   var LowSubBgColor='#DCDCDC';     // Background color when mouse is not over on subs
   var LowSubBgColor='#F5F5F5';     // Background color when mouse is not over on subs
   var HighBgColor='#DCDCDC';       // Background color when mouse is over
   var HighSubBgColor='#DCDCDC';     // Background color when mouse is over on subs
//   var HighSubBgColor='silver';     // Background color when mouse is over on subs
   var FontLowColor='gray';         // Font color when mouse is not over
   var FontSubLowColor='gray';      // Font color subs when mouse is not over
   var FontHighColor='#3390FF';     // Font color when mouse is over
   var FontSubHighColor='#3390FF';  // Font color subs when mouse is over

   var BorderColor='silver';        // Border color
   var BorderSubColor='silver';     // Border color for subs
   var BorderWidth=1;               // Border width
   var BorderBtwnElmnts=1;          // Border between elements 1 or 0
   var FontFamily="Arial,Helvetica,Sans-serif" // Font family menu items
   var FontSize=9;                  // Font size menu items
   var FontBold=0;                  // Bold menu items 1 or 0
   var FontItalic=0;                // Italic menu items 1 or 0
   var MenuTextCentered='left';     // Item text position 'left', 'center' or 'right'
   var MenuCentered='left';         // Menu horizontal position 'left', 'center' or 'right'
   var MenuVerticalCentered='top';  // Menu vertical position 'top', 'middle','bottom' or static
   var ChildOverlap=.2;             // horizontal overlap child/ parent
   var ChildVerticalOverlap=.2;     // vertical overlap child/ parent
   var StartTop=0;                  // Menu offset x coordinate
   var StartLeft=157;               // Menu offset y coordinate
   var VerCorrect=0;                // Multiple frames y correction
   var HorCorrect=0;                // Multiple frames x correction
   var LeftPaddng=3;                // Left padding
   var TopPaddng=2;                 // Top padding
   var FirstLineHorizontal=1;       // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
   var MenuFramesVertical=1;        // Frames in cols or rows 1 or 0
   var DissapearDelay=200;          // delay before menu folds in
   var TakeOverBgColor=1;           // Menu frame takes over background color subitem frame
   var FirstLineFrame='navig';      // Frame where first level appears
   var SecLineFrame='space';        // Frame where sub levels appear
   var DocTargetFrame='space';      // Frame where target documents appear
   var TargetLoc='menu_table';      // span id for relative positioning
   var HideTop=0;                   // Hide first level when loading new document 1 or 0
   var MenuWrap=1;                  // enables/ disables menu wrap 1 or 0
   var RightToLeft=0;               // enables/ disables right to left unfold 1 or 0
   var UnfoldsOnClick=0;            // Level 1 unfolds onclick/ onmouseover
   var WebMasterCheck=0;            // menu tree checking on or off 1 or 0
   var KeepHilite=1;                // Keep selected path highligthed
   var Arrws=['/images/esdumenu/arrow8x8_right.gif',8,8,'/images/esdumenu/arrow8x8_blank.gif',8,8,'/images/esdumenu/arrow8x8_left.gif',8,8]; // Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
// MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
// For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"


// SAL addition - have two separate menus, one for logged in, one for not.  Keeps things simple(ish)
if (gissub == true)
{

   // An ERC special case to allow return to erc and logout from erc entries
   var m1 = 6;
   if (giserc == true) {
      m1 = 7;
   }

   Menu1=new Array("Go", "#", "", m1, 20, 100);
      Menu1_1=new Array("Home",               groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=gen&p=home",           "", 0, 20, 200);
      Menu1_2=new Array("Contents",           groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=gen&p=contents",       "", 0);
      Menu1_3=new Array("What\'s new",        groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=whatsnew", "", 0);
      // Menu1_4=new Array("Events",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=events",   "", 0);
      // Menu1_4=new Array("ISO accreditation",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=iso",           "", 0);
      // Menu1_5=new Array("\'ESDU Engineer\'",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=esdu_engineer", "", 0);
      Menu1_4=new Array("Downloads", "#", "", 2);
         Menu1_4_1=new Array("Brochures",                groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=brochures", "", 0, 20, 150);
         Menu1_4_2=new Array("White papers",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=case",      "", 0);
      Menu1_5=new Array("Committees",                    groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=committee", "", 0);
      Menu1_5=new Array("The ESDU Engineering Service",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=engservice", "", 0);

      if (giserc == true) {
         Menu1_6=new Array("-- <strong>Return to ERC</strong> --",   groot_cgi + "/erc_return.pl?sess=" + gsess_id,   "", 0);
         Menu1_7=new Array("-- <strong>Logout from ERC</strong> --", groot_cgi + "/erc_logout.pl?sess=" + gsess_id,   "", 0);
      } else {
         Menu1_6=new Array("-- <strong>Logout</strong> --", groot_cgi + "/logout.pl?sess=" + gsess_id,   "", 0);
      }

   Menu2=new Array("Products", "#", "", 5);
      Menu2_1=new Array("Series", "#", "", 19, 20, 150);
         Menu2_1_1=new Array("&nbsp;<strong>ESDU Explorer</strong>",             "javascript:OpenSeriesDirectory('" + groot_cgi + "','" + gsess_id + "')", "", 0, 20, 270);
         Menu2_1_2=new Array("Aerodynamics",                                     groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_aero", "", 0, 20, 270);
         Menu2_1_3=new Array("Aircraft Noise",                                   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_nois", "", 0);
         Menu2_1_4=new Array("Composites",                                       groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_comp", "", 0);
         Menu2_1_5=new Array("Dynamics",                                         groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_dynm", "", 0);
         Menu2_1_6=new Array("Fatigue - Endurance Data",                         groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_fend", "", 0);
         Menu2_1_7=new Array("Fatigue - Fracture Mechanics",                     groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_ffra", "", 0);
         Menu2_1_8=new Array("Fluid Mechanics, Internal Flow (Aerospace)",       groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_fmia", "", 0);
         Menu2_1_9=new Array("Fluid Mechanics, Internal Flow",                   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_fmif", "", 0);
         Menu2_1_10=new Array("Heat Transfer",                                   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_htrn", "", 0);
         Menu2_1_11=new Array("Mechanisms",                                      groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_mech", "", 0);
         Menu2_1_12=new Array("Performance",                                     groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_perf", "", 0);
         Menu2_1_13=new Array("Physical Data, Chemical Engineering",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_pdce", "", 0);
         Menu2_1_14=new Array("Structures",                                      groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_stru", "", 0);
         Menu2_1_15=new Array("Stress and Strength",                             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_stst", "", 0);
         Menu2_1_16=new Array("Transonic Aerodynamics",                          groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_tran", "", 0);
         Menu2_1_17=new Array("Tribology",                                       groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_trib", "", 0);
         Menu2_1_18=new Array("Vibration and Acoustic Fatigue",                  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_vacf", "", 0);
         Menu2_1_19=new Array("Wind Engineering",                                groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_wind", "", 0);
      Menu2_2=new Array("Industry Packages", "#", "", 3);
         Menu2_2_1=new Array("Aerospace",                                        groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=package&p=pk_aesp", "", 0, 20, 270);
         Menu2_2_2=new Array("Aerostructures",                                   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=package&p=pk_aest", "", 0);
         Menu2_2_3=new Array("Process Engineering Technology",                   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=package&p=pk_pet",  "", 0);
      Menu2_3=new Array("Segments", "#", "", 8);
         Menu2_3_1=new Array("Aerofoils and Wings",                              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_aerofoilsandwings", "", 0, 20, 270);
         Menu2_3_2=new Array("Analysis of Joints (Bolted, Bonded and Welded)",   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_analysisofjointsboltedbondedandwelded", "", 0);
         Menu2_3_3=new Array("Controls and Flaps",                               groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_controlsandflaps",  "", 0);
         Menu2_3_4=new Array("Flow in Pipes, Fittings and Ducts",                groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_flowinpipesfittingsandducts",  "", 0);
         Menu2_3_5=new Array("Stability of Aircraft",                            groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_stabilityofaircraft",  "", 0);
         Menu2_3_6=new Array("Strength Analysis of Plates and Panels",           groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_strengthanalysisofplatesandpanels",  "", 0);
         Menu2_3_7=new Array("Strength Analysis of Struts and Beams",            groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_strengthanalysisofstrutsandbeams",  "", 0);
         Menu2_3_8=new Array("Stress Concentrations",                            groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_stressconcentrations",  "", 0);
      Menu2_4=new Array("Sectors", "#", "", 2);
         Menu2_4_1=new Array("Aerospace",                                        groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=sector_aerospace",      "", 0, 20, 150);
         Menu2_4_2=new Array("Energy",                                           groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=sector_energy",         "", 0);
      Menu2_5=new Array("Other", "#", "", 3);
         Menu2_5_1=new Array("Aerodynamics Design Collection",                   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=col_aerodynamicsdesigncollection",  "", 0, 20, 270);
         Menu2_5_2=new Array("Metallic Materials Data Handbook (MMDH)",          groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=mmdh",             "", 0);
         Menu2_5_3=new Array("Shell-and-Tube Heat Transfer Analysis Software",   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=package&p=pk_satheas",   "", 0);

   // INDEX MENU
   Menu3=new Array("A-Z Index", "#", "", 26);
      Menu3_1=new Array("A",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_a", "", 0, 20, 150);
      Menu3_2=new Array("B",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_b", "", 0);
      Menu3_3=new Array("C",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_c", "", 0);
      Menu3_4=new Array("D",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_d", "", 0);
      Menu3_5=new Array("E",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_e", "", 0);
      Menu3_6=new Array("F",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_f", "", 0);
      Menu3_7=new Array("G",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_g", "", 0);
      Menu3_8=new Array("H",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_h", "", 0);
      Menu3_9=new Array("I",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_i", "", 0);
      Menu3_10=new Array("J", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_j", "", 0);
      Menu3_11=new Array("K", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_k", "", 0);
      Menu3_12=new Array("L", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_l", "", 0);
      Menu3_13=new Array("M", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_m", "", 0);
      Menu3_14=new Array("N", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_n", "", 0);
      Menu3_15=new Array("O", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_o", "", 0);
      Menu3_16=new Array("P", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_p", "", 0);
      Menu3_17=new Array("Q", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_q", "", 0);
      Menu3_18=new Array("R", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_r", "", 0);
      Menu3_19=new Array("S", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_s", "", 0);
      Menu3_20=new Array("T", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_t", "", 0);
      Menu3_21=new Array("U", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_u", "", 0);
      Menu3_22=new Array("V", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_v", "", 0);
      Menu3_23=new Array("W", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_w", "", 0);
      Menu3_24=new Array("X", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_x", "", 0);
      Menu3_25=new Array("Y", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_y", "", 0);
      Menu3_26=new Array("Z", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_z", "", 0);


   // TOOLS MENU
   Menu4=new Array("Tools", "#", "", 6);

      if (gshowvplic == "y")
      {
         Menu4_1=new Array("Your subscription",  "#", "", 2, 20, 200);
            Menu4_1_1=new Array("About your subscription",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=subscribe_about",      "", 0, 20, 150);
            Menu4_1_2=new Array("Software licences",        groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=licence_keys_request", "", 0);
      }
      else
      {
         Menu4_1=new Array("Your subscription",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=subscribe_about",   "", 0, 20, 200);
      }

      Menu4_2=new Array("Feedback",           groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gfeedback, "", 0);
      Menu4_3=new Array("Licence agreement",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=licence",      "", 0);
      Menu4_4=new Array("Privacy statement",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=privacy",      "", 0);
      Menu4_5=new Array("Configuration",      groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gconfig,   "", 0);
      Menu4_6=new Array("The ESDU Engineering Service",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=engservice", "", 0);

      // DEBUG ONLY
      //Menu4_7=new Array("&nbsp;<strong>TEST PAGE</strong>&nbsp;", groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=testing&p=testroot", "", 0);

   // HELP MENU - options modified if gisintranet = true
   if ( gisintranet == true )
   {
      Menu5=new Array("Help", "#", "", 6);
         Menu5_1=new Array("FAQ",                        groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=help",               "", 0, 20, 140);
         Menu5_2=new Array("Configuration",              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gconfig,         "", 0);
         Menu5_3=new Array("About interactive graphs",   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=interactivegraphs",  "", 0);
         Menu5_4=new Array("Product demos",              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=productdemos",  "", 0);
         Menu5_5=new Array("Contact Us", "#", "", 2);
            Menu5_5_1=new Array("via your intranet",     groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gcontact,        "", 0, 20, 150);
            Menu5_5_2=new Array("Feedback form",         groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gfeedback,       "", 0);
         Menu5_6=new Array("About ESDU", "#", "", 5);
            Menu5_6_1=new Array("About us",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=aboutus",        "", 0, 20, 200);
            Menu5_6_2=new Array("The ESDU Engineering Service",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=engservice", "", 0);
            Menu5_6_3=new Array("Corporate profile",    groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=corporate",      "", 0);
            Menu5_6_4=new Array("Mission statement",    groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=mission",        "", 0);
            Menu5_6_5=new Array("Partners",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=partners",       "", 0);
   }
   else
   {
      Menu5=new Array("Help", "#", "", 8);
         Menu5_1=new Array("FAQ",                        groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=help",               "", 0, 20, 140);
         Menu5_2=new Array("Contact IHS ESDU",           groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gcontact,        "", 0);
         Menu5_3=new Array("Feedback form",              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gfeedback,       "", 0);
         Menu5_4=new Array("Configuration",              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gconfig,         "", 0);
         Menu5_5=new Array("About interactive graphs",   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=interactivegraphs",  "", 0);
         Menu5_6=new Array("product demos",              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=productdemos",  "", 0);
         Menu5_7=new Array("About ESDU", "#", "", 5);
            Menu5_7_1=new Array("About us",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=aboutus",        "", 0, 20, 200);
            Menu5_7_2=new Array("The ESDU Engineering Service",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=engservice", "", 0);
            Menu5_7_3=new Array("Corporate profile",    groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=corporate",      "", 0);
            Menu5_7_4=new Array("Mission statement",    groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=mission",        "", 0);
            Menu5_7_5=new Array("Partners",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=partners",       "", 0);
         Menu5_8=new Array("Downloads", "#", "", 2);
            Menu5_8_1=new Array("Brochures",     groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=brochures",             "", 0, 20, 150);
            Menu5_8_2=new Array("White papers",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=case",                  "", 0);
   }

   if ( gshowwsep == true )
   {
      Menu6=new Array("Connect Tools", "#", "", 5, 150);
         Menu6_1=new Array("Connect home",            groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ws&p=wshome",      "", 0, 20, 200);
         Menu6_2=new Array("Connect FAQ",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ws&p=wsfaq",       "", 0);
         Menu6_3=new Array("Get a Connect Key",       groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ws&p=wsgetkey",    "", 0);
         Menu6_4=new Array("Tell us what you think",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ws&p=wsfeedback",  "", 0);
         Menu6_5=new Array("Request a Connect Tool",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ws&p=wsrequest",   "", 0);
   }

}
else
{
   // The public menu

   // GENERAL
   Menu1=new Array("Go", "#", "", 2, 20, 100);
      Menu1_1=new Array("Home",               groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=gen&p=home",           "", 0, 20, 150);
      Menu1_2=new Array("Contents",           groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=gen&p=contents",       "", 0);

   // PRODUCTS
   Menu2=new Array("Products", "#", "", 4);
      Menu2_1=new Array("Series", "#", "", 19, 20, 150);
         Menu2_1_1=new Array("&nbsp;<strong>ESDU Explorer</strong>",        "javascript:OpenSeriesDirectory('" + groot_cgi + "','" + gsess_id + "')", "", 0, 20, 270);
         Menu2_1_2=new Array("Aerodynamics",                                groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_aero", "", 0, 20, 270);
         Menu2_1_3=new Array("Aircraft Noise",                              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_nois", "", 0);
         Menu2_1_4=new Array("Composites",                                  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_comp", "", 0);
         Menu2_1_5=new Array("Dynamics",                                    groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_dynm", "", 0);
         Menu2_1_6=new Array("Fatigue - Endurance Data",                    groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_fend", "", 0);
         Menu2_1_7=new Array("Fatigue - Fracture Mechanics",                groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_ffra", "", 0);
         Menu2_1_8=new Array("Fluid Mechanics, Internal Flow (Aerospace)",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_fmia", "", 0);
         Menu2_1_9=new Array("Fluid Mechanics, Internal Flow",              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_fmif", "", 0);
         Menu2_1_10=new Array("Heat Transfer",                              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_htrn", "", 0);
         Menu2_1_11=new Array("Mechanisms",                                 groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_mech", "", 0);
         Menu2_1_12=new Array("Performance",                                groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_perf", "", 0);
         Menu2_1_13=new Array("Physical Data, Chemical Engineering",        groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_pdce", "", 0);
         Menu2_1_14=new Array("Structures",                                 groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_stru", "", 0);
         Menu2_1_15=new Array("Stress and Strength",                        groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_stst", "", 0);
         Menu2_1_16=new Array("Transonic Aerodynamics",                     groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_tran", "", 0);
         Menu2_1_17=new Array("Tribology",                                  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_trib", "", 0);
         Menu2_1_18=new Array("Vibration and Acoustic Fatigue",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_vacf", "", 0);
         Menu2_1_19=new Array("Wind Engineering",                           groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=ser_wind", "", 0);
      Menu2_2=new Array("Industry Packages", "#", "", 3);
         Menu2_2_1=new Array("Aerospace",                            groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=package&p=pk_aesp", "", 0, 20, 270);
         Menu2_2_2=new Array("Aerostructures",                       groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=package&p=pk_aest", "", 0);
         Menu2_2_3=new Array("Process Engineering Technology",       groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=package&p=pk_pet",  "", 0);
      Menu2_3=new Array("Segments", "#", "", 8);
         Menu2_3_1=new Array("Aerofoils and Wings",                              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_aerofoilsandwings", "", 0, 20, 270);
         Menu2_3_2=new Array("Analysis of Joints (Bolted, Bonded and Welded)",   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_analysisofjointsboltedbondedandwelded", "", 0);
         Menu2_3_3=new Array("Controls and Flaps",                               groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_controlsandflaps",  "", 0);
         Menu2_3_4=new Array("Flow in Pipes, Fittings and Ducts",                groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_flowinpipesfittingsandducts",  "", 0);
         Menu2_3_5=new Array("Stability of Aircraft",                            groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_stabilityofaircraft",  "", 0);
         Menu2_3_6=new Array("Strength Analysis of Plates and Panels",           groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_strengthanalysisofplatesandpanels",  "", 0);
         Menu2_3_7=new Array("Strength Analysis of Struts and Beams",            groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_strengthanalysisofstrutsandbeams",  "", 0);
         Menu2_3_8=new Array("Stress Concentrations",                            groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=seg_stressconcentrations",  "", 0);
      Menu2_4=new Array("Other", "#", "", 3);
         Menu2_4_1=new Array("Aerodynamics Design Collection",                  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=col&p=col_aerodynamicsdesigncollection",  "", 0, 20, 270);
         Menu2_4_2=new Array("Metallic Materials Data Handbook (MMDH)",         groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=ser&p=mmdh",             "", 0);
         Menu2_4_3=new Array("Shell-and-Tube Heat Transfer Analysis Software",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=package&p=pk_satheas",   "", 0);

   // SECTORS
   Menu3=new Array("Sectors", "#", "", 2);
      Menu3_1=new Array("Aerospace",              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=sector_aerospace",      "", 0, 20, 150);
      Menu3_2=new Array("Energy",                 groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=sector_energy",         "", 0);

   // INDEX MENU
   Menu4=new Array("A-Z Index", "#", "", 26);
      Menu4_1=new Array("A",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_a", "", 0, 20, 150);
      Menu4_2=new Array("B",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_b", "", 0);
      Menu4_3=new Array("C",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_c", "", 0);
      Menu4_4=new Array("D",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_d", "", 0);
      Menu4_5=new Array("E",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_e", "", 0);
      Menu4_6=new Array("F",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_f", "", 0);
      Menu4_7=new Array("G",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_g", "", 0);
      Menu4_8=new Array("H",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_h", "", 0);
      Menu4_9=new Array("I",  groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_i", "", 0);
      Menu4_10=new Array("J", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_j", "", 0);
      Menu4_11=new Array("K", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_k", "", 0);
      Menu4_12=new Array("L", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_l", "", 0);
      Menu4_13=new Array("M", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_m", "", 0);
      Menu4_14=new Array("N", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_n", "", 0);
      Menu4_15=new Array("O", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_o", "", 0);
      Menu4_16=new Array("P", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_p", "", 0);
      Menu4_17=new Array("Q", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_q", "", 0);
      Menu4_18=new Array("R", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_r", "", 0);
      Menu4_19=new Array("S", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_s", "", 0);
      Menu4_20=new Array("T", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_t", "", 0);
      Menu4_21=new Array("U", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_u", "", 0);
      Menu4_22=new Array("V", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_v", "", 0);
      Menu4_23=new Array("W", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_w", "", 0);
      Menu4_24=new Array("X", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_x", "", 0);
      Menu4_25=new Array("Y", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_y", "", 0);
      Menu4_26=new Array("Z", groot_cgi +"/ps.pl?sess=" + gsess_id + "&t=index&p=index_z", "", 0);


   // ABOUT ESDU
   Menu5=new Array("About ESDU", "#", "", 9, 20, 100);
      Menu5_1=new Array("About ESDU",                    groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=aboutus",       "", 0, 20, 200);
      Menu5_2=new Array("The ESDU Engineering Service",  groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=engservice",         "", 0);
      Menu5_3=new Array("Corporate profile",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=corporate",     "", 0);
      Menu5_4=new Array("Downloads", "#", "", 2);
         Menu5_4_1=new Array("Brochures",                groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=brochures",     "", 0, 20, 150);
         Menu5_4_2=new Array("White papers",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=case",          "", 0);
      Menu5_5=new Array("Mission statement",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=mission",       "", 0);
      Menu5_6=new Array("Partners",                      groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=partners",      "", 0);
      Menu5_7=new Array("About interactive graphs",      groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=interactivegraphs",  "", 0);
      Menu5_8=new Array("Product demos",                 groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=marketing&p=productdemos",  "", 0);
      Menu5_9=new Array("ISO accreditation",             groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=iso",                "", 0);

   // SUPPORT
   Menu6=new Array("Support", "#", "", 5);
      Menu6_1=new Array("IHS ESDU and worldwide offices",   groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gcontact,        "", 0, 20, 200);
      Menu6_2=new Array("Request subscription quote",       groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=subscribe_how",      "", 0);
      Menu6_3=new Array("The IHS ESDU Engineering Service", groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=engservice",         "", 0);
      Menu6_4=new Array("FAQ",                              groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=help",               "", 0);
      Menu6_5=new Array("Feedback form",                    groot_cgi + "/ps.pl?sess=" + gsess_id + "&t=root&p=" + gfeedback,       "", 0);

} // if sub or pub



























