//  debug specifies whether or not the html code for the navBar will be displayed
debug = 0;

// delayUnit controls how fast the menu rollup and rolldown occur
var delayUnit = 30;

var dummy = "dumb";
var numButtonSets = 10;

var buttonsInSet = new Array(0,3,3,3,8,3,0,0,0,0);

var buttonText = new Array(
   'Home',
   'Stem Cells',
   'Data',
   'Protocols',
   'Publications',
   'Glycomics',
   'Data',
   'Protocols',
   'Publications',
   'Transcriptomics',
   'Data',
   'Protocols',
   'Publications',
   'Informatics',
   'Ontologies',
   'GLYDE-II',
   'GlycoVault',
   'Visualization',
   'Workflows',
   'Data Tools',
   'Simulations',
   'Publications',
   'Service',
   'Training',
   'Protocols',
   'Publications',
   'Pathways',
   'Collaborations',
   'Publications',
   'About Us');

// button URL are the URLs associated with the buttons - IN ORDER
var buttonURL = new Array(
   '/',
   '/core1/stem-cells-intro.html',
   '/core1/stem-cells-data.html',
   '/core1/stem-cells-protocols.html',
   '/publications.html#stemcells',
   '/core2/glycomics-intro.html',
   '/core2/glycomics-data.html',
   '/core2/glycomics-protocols.html',
   '/publications.html#glycomics',
   '/core3/transcriptome-intro.html',
   '/core3/transcriptome-data.html',
   '/core3/transcriptome-protocols.html',
   '/publications.html#transcriptomics',
   '/core4/informatics-intro.html',
   '/core4/informatics-ontologies.html',
   '/core4/informatics-glyde-ii.html',
   '/core4/informatics-glycovault.html',
   '/core4/informatics-visualization.html',
   '/core4/informatics-workflows.html',
   '/core4/informatics-datatools.html',
   '/core4/informatics-simulation.html',
   '/publications.html#informatics',
   '/services/service-intro.html',
   '/services/service-intro.html#training',
   '/services/service-intro.html#protocols',
   '/publications.html#service',
   '/core3/index.html',
   '/collaborations/collaborations.html',
   '/publications.html',
   '/aboutus.html');

// button Target are the target windows for the buttons - IN ORDER
var buttonTarget = new Array(
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_self',
   '_new',
   '_self',
   '_self',
   '_self');

var hoverColor = "#9BA";
var normalColor = "#BDC";
var activeColor = "#DFE";
var normalPtr = new Array('/images/left.gif', '/images/down.gif');
var hoverPtr = new Array('/images/left-dark.gif', '/images/down-dark.gif');

var arrowText = new Array('-', '+');

