//Author: Younes Bouab
//Date:   05-02-02
//Title:  Menu Configuration: Config.js
//
//Copyright: Younes Bouab 2001 
//Technical Support: bouaby@SUPEReDITION.com
//
/////////////////////////////////////////////////////////////////////////////////////
//Copyright (c) 2002 Younes Bouab (www.SUPEReDITION.com) Version 1.0
//
//Eperience the DHTML Menu - Get it at www.SUPEReDITION.com
//
//This script can be used freely as long as all copyright messages are intact.
//
//Menu HomePage: http://www.superedition.com/Main.asp?Page=Tutorials&query=Javascript
//////////////////////////////////////////////////////////////////////////////////////


//Modified: Lance A. Fujieki
//
//Usage:    HOT-DOGS Navigation


//Menu Configuration File
/////////////////////////////////////////////////
/////You can change the value of a variable 
/////below or turn it off by making it equal "" 
/////to suit your needs, but you should not
/////delete any variable.
///////////////////////////////////////////////


/**********************************************/
//Menu Type: Do Not Change! 
/**********************************************/
MENU_TYPE=1; //1: Horizental
             //2: Vertical

Sort=0;   //Sort: When set to 1, the 
          //menu items are sorted according 
          //to the index value. This feature
          //can be used when a server side
          //language (asp. jsp. php,...)
          //is used to generate the menu items 
          //from a database and they are not always 
          //in order.  


/**********************************************/
//Menu Starting point
/**********************************************/
TOP=55;

var width;
if (window.innerWidth) {
  // Non-IE
  width = window.innerWidth - 160;
}
else {
  // IE
  width = document.documentElement.clientWidth - 160; 
}

LEFT=(width-700)/2;



/**********************************************/
//Menu item Dimension
/**********************************************/
WIDTH=142;
HEIGHT=20;


/**********************************************/
//Layers Alignment
/**********************************************/
HALIGN="LEFT";
VALIGN="MIDDLE";


/**********************************************/
//Global Menu Settings for all
/**********************************************/
//Main Menu Items
LayerColor="#FFFFFF";
LayerRollColor="#AFFFFF";
FONT="verdana";
FONTSIZE="2";
FONTSTYLE="" // "": Normal, "B": Bold, "I": Italic
FONTCOLOR="#000033";
ROLL_FONTCOLOR="#000000";
START_CHAR="&nbsp;"; //Starting Character


/**********************************************/
//Main Parent Settings: Optional 
// leave empty "", if you would like to use 
// the Global Menu Settings above
/**********************************************/
Main_Parent_LayerColor="";
Main_Parent_LayerRollColor=""; 
Main_Parent_FONT="verdana";
Main_Parent_FONTSTYLE="";
Main_Parent_FONTSIZE="2";
Main_Parent_FONTCOLOR="";
Main_Parent_ROLL_FONTCOLOR="";
Main_Parent_START_CHAR="&nbsp;";


/**********************************************/
//Layer Border Properties
/**********************************************/
LayerBorderSize="1";
LayerBorderStyle="solid";
LayerBorderColor="#000000";


/**********************************************/
//Menu Children Offsets
/**********************************************/
TOP_OFFSET=5;
LEFT_OFFSET=5;


/**********************************************/
//Create Menu Heirarcy
/**********************************************/
function MenuBar()
{
  AddMenu("1"  ,  "1"  ,  "Modify"                 ,  ""  ,  ""  , "modify1.html");
  AddMenu("2"  ,  "2"  ,  "Data Extraction"        ,  ""  ,  ""  , "");
  AddMenu("3"  ,  "2"  ,  "Bottle"                 ,  ""  ,  ""  , "bextraction.html");
  AddMenu("4"  ,  "2"  ,  "CTD"                    ,  ""  ,  ""  , "cextraction.html");
  AddMenu("5"  ,  "2"  ,  "Macrozooplankton"       ,  ""  ,  ""  , "mextraction.html");   
  AddMenu("55" ,  "2"  ,  "Epi Microscopy"         ,  ""  ,  ""  , "epextraction.html");   
  AddMenu("6"  ,  "2"  ,  "Particle Flux"          ,  ""  ,  ""  , "pfextraction.html");   
  AddMenu("7"  ,  "2"  ,  "Primary Production"     ,  ""  ,  ""  , "ppextraction.html");   
  AddMenu("8"  ,  "8"  ,  "Vertical Profiles"      ,  ""  ,  ""  , "");   
  AddMenu("9"  ,  "8"  ,  "Display"                ,  ""  ,  ""  , "");   
  AddMenu("10" ,  "9"  ,  "Bottle"                 ,  ""  ,  ""  , "bdisplay.html");
  AddMenu("11" ,  "9"  ,  "CTD"                    ,  ""  ,  ""  , "cdisplay.html");
  AddMenu("12" ,  "9"  ,  "HPLC Pigments"          ,  ""  ,  ""  , "hdisplay.html");
  AddMenu("56" ,  "9"  ,  "Epi Microscopy"         ,  ""  ,  ""  , "epdisplay.html");   
  AddMenu("13" ,  "9"  ,  "Particle Flux"          ,  ""  ,  ""  , "pfdisplay.html");   
  AddMenu("14" ,  "9"  ,  "Primary Production"     ,  ""  ,  ""  , "ppdisplay.html");   
  AddMenu("15" ,  "9"  ,  "Solar Irradiance"       ,  ""  ,  ""  , "ldisplay.html");   
  AddMenu("16" ,  "9"  ,  "PRR (Ir)radiance"       ,  ""  ,  ""  , "prrdisplay.html");   
  AddMenu("17" ,  "9"  ,  "TSRB (Ir)radiance"      ,  ""  ,  ""  , "tdisplay.html"); 
  AddMenu("18" ,  "9"  ,  "Inherent Op. Prop."     ,  ""  ,  ""  , "adisplay.html"); 
  AddMenu("19" ,  "9"  ,  "FRRf"                   ,  ""  ,  ""  , "fdisplay.html"); 
  AddMenu("20" ,  "9"  ,  "Underway"               ,  ""  ,  ""  , "udisplay.html");   
  AddMenu("21" ,  "9"  ,  "User Defined"           ,  ""  ,  ""  , "uddisplay.html");   
  AddMenu("22" ,  "8"  ,  "Standard Intervals"     ,  ""  ,  ""  , "");   
  AddMenu("23" ,  "22" ,  "Bottle"                 ,  ""  ,  ""  , "bseason.html");
  AddMenu("24" ,  "22" ,  "HPLC Pigments"          ,  ""  ,  ""  , "hseason.html");
  AddMenu("57" ,  "22" ,  "Epi Microscopy"         ,  ""  ,  ""  , "epseason.html");   
  AddMenu("25" ,  "22" ,  "Primary Production"     ,  ""  ,  ""  , "ppseason.html");   
  AddMenu("26" ,  "22" ,  "User Defined"           ,  ""  ,  ""  , "udseason.html");   
  AddMenu("27" ,  "27" ,  "Horizontal Profiles"    ,  ""  ,  ""  , "");   
  AddMenu("28" ,  "27" ,  "Time-series"            ,  ""  ,  ""  , "");   
  AddMenu("29" ,  "28" ,  "Bottle"                 ,  ""  ,  ""  , "bseries.html");
  AddMenu("30" ,  "28" ,  "HPLC Pigments"          ,  ""  ,  ""  , "hseries.html");
  AddMenu("31" ,  "28" ,  "Macrozooplankton"       ,  ""  ,  ""  , "mseries.html");   
  AddMenu("58" ,  "28" ,  "Epi Microscopy"         ,  ""  ,  ""  , "epseries.html");   
  AddMenu("32" ,  "28" ,  "Particle Flux"          ,  ""  ,  ""  , "pfseries.html");   
  AddMenu("33" ,  "28" ,  "Primary Production"     ,  ""  ,  ""  , "ppseries.html");   
  AddMenu("34" ,  "28" ,  "PRR (Ir)radiance"       ,  ""  ,  ""  , "prrseries.html");   
  AddMenu("35" ,  "28" ,  "User Defined"           ,  ""  ,  ""  , "udseries.html"); 
  AddMenu("36" ,  "27" ,  "Contour"                ,  ""  ,  ""  , "");
  AddMenu("37" ,  "36" ,  "Bottle"                 ,  ""  ,  ""  , "bcontour.html");  
  AddMenu("38" ,  "36" ,  "CTD"                    ,  ""  ,  ""  , "ccontour.html");  
  AddMenu("39" ,  "36" ,  "HPLC Pigments"          ,  ""  ,  ""  , "hcontour.html");  
  AddMenu("59" ,  "36" ,  "Epi Microscopy"         ,  ""  ,  ""  , "epcontour.html");   
  AddMenu("40" ,  "36" ,  "Primary Production"     ,  ""  ,  ""  , "ppcontour.html");  
  AddMenu("41" ,  "36" ,  "User Defined"           ,  ""  ,  ""  , "udcontour.html");  
  AddMenu("42" ,  "42" ,  "Miscellaneous"          ,  ""  ,  ""  , "");   
  AddMenu("43" ,  "42" ,  "Mixed-layer Depth"      ,  ""  ,  ""  , "mldepth.html");   
  AddMenu("44" ,  "42" ,  "Cruise Summary"         ,  ""  ,  ""  , "crssum.html");   
  AddMenu("45" ,  "45" ,  "<strong>Help</strong>"  ,  ""  ,  ""  , "");   
}
