/***********************************************************************************
*   (c) Ger Versluis 2000 version 5.41 24 December 2001           *
*   For info write to menus@burmees.nl                *
*   You may remove all comments for faster loading            *     
***********************************************************************************/
//modified by Ada Yan
//02/17/04 Gem
//08/17/04 Gem
//opera detection is eliminated
//document.bgColor is set to #ffffff, white because opera does not have the default
//color; now this menu is visible in ie, opera 7.11, mozilla 1.0
    var NoOffFirstLineMenus=5;          // Number of first level items
    var LowBgColor=document.bgColor="#ffffff";            // Background color when mouse is not over
    //alert(document.bgColor);
    var LowSubBgColor=document.bgColor;         // Background color when mouse is not over on subs
    var HighBgColor='';            // Background color when mouse is over
    var HighSubBgColor='';         // Background color when mouse is over on subs
    var FontLowColor='#006633';           // Font color when mouse is not over
    var FontSubLowColor='#006633';            // Font color subs when mouse is not over
    var FontHighColor='#00CC66';         // Font color when mouse is over
    var FontSubHighColor='#00CC66';          // Font color subs when mouse is over
    var BorderColor=document.bgColor;           // Border color
    var BorderSubColor='#006633';           // Border color for subs
    var BorderWidth=1;              // Border width
    var BorderBtwnElmnts=1;         // Border between elements 1 or 0
    var FontFamily="arial,comic sans ms,technical"  // Font family menu items
    var FontSize=8;                // Font size menu items
    var FontBold=1;             // Bold menu items 1 or 0
    var FontItalic=0;               // Italic menu items 1 or 0
    var MenuTextCentered='center';          // 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=.1;                // horizontal overlap child/ parent
    var ChildVerticalOverlap=.1;            // vertical overlap child/ parent
    var StartTop=0;             // Menu offset x coordinate
    var StartLeft=0;                // Menu offset y coordinate
    var VerCorrect=0;               // Multiple frames y correction
    var HorCorrect=0;               // Multiple frames x correction
    var LeftPaddng=0;               // Left padding
    var TopPaddng=3;                // 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=100;         // delay before menu folds in
    var TakeOverBgColor=1;          // Menu frame takes over background color subitem frame
    var FirstLineFrame='_blank';          // Frame where first level appears
    var SecLineFrame='_blank';            // Frame where sub levels appear
    var DocTargetFrame='_blank';          // Frame where target documents appear
    var TargetLoc='menuloc';                // 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 ShowArrow=1;                // Uses arrow gifs when 1
    var KeepHilite=1;               // Keep selected path highligthed
    var Arrws=['../general/dhtml/tri.gif',5,10,'../general/dhtml/tridown.gif',10,5,'../general/dhtml/trileft.gif',5,10];    // Arrow source, width and height

function BeforeStart(){return} // place to add your own function
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

//add menu width by gem:
var gemSubMenuWidth=130;
var gemSubMenu2Width=160;
Menu1=new Array("Home","../default.htm","",0,24,60);


Menu2=new Array("Case Studies","../case_studies.htm","",6,24,130);
    Menu2_1=new Array("Protein Identification","../protein/protein.htm","",0,24,gemSubMenuWidth);
    Menu2_2=new Array("General Anesthetics","../genanes/genanes.htm","",0,24,gemSubMenuWidth);
    Menu2_3=new Array("Cocaine in Hair","../cocaine/cocaine.html","",0,24,gemSubMenuWidth);
    Menu2_4=new Array("Caffeine","../Caffeine/Caffeine.htm","",0,24,gemSubMenuWidth);
    Menu2_5=new Array("Polymer Analysis","../polymer/polymer.html","",0,24,gemSubMenuWidth);
    Menu2_6=new Array("Future Case Studies", "../general/future_single.html","",10,24, gemSubMenuWidth);
    Menu2_6_1=new Array("Vanillin","../general/future_single.html","",0,24,gemSubMenu2Width);
    Menu2_6_2=new Array("H. pylori Infection","../general/future_single.html","",0,24,gemSubMenu2Width);
    Menu2_6_3=new Array("Gas-Phase Acidity","../general/future_single.html","",0,24,gemSubMenu2Width);
    Menu2_6_4=new Array("Liquid-Phase Acidity","../general/future_single.html","",0,24,gemSubMenu2Width);
    Menu2_6_5=new Array("Substitution vs. Elimination","../general/future_single.html","",0,24,gemSubMenu2Width);
    Menu2_6_6=new Array("Mine Leachate","../general/future_single.html","",0,24,gemSubMenu2Width);
    Menu2_6_7=new Array("Atmospheric Sampling","../general/future_single.html","",0,24,gemSubMenu2Width);
    Menu2_6_8=new Array("Protein Purity","../general/future_single.html","",0,24,gemSubMenu2Width);
    Menu2_6_9=new Array("Unknown Compound","../general/future_single.html","",0,24,gemSubMenu2Width);
    Menu2_6_10=new Array("Modified DNA","../general/future_single.html","",0,24,gemSubMenu2Width);

Menu3=new Array("Contact us","javascript:window.open('../contact.htm');","",0,24,120);

Menu4=new Array("Comments & Questions","javascript:window.open('../questions.htm');","",0,24,160);
Menu5=new Array("Error reporting","javascript:window.open('../error_form.htm');","",0,24,150);
