//  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 = 15;
// (initialHeight / nSlices) should be an integer!!!!
var initialHeight = 30;
var nSlices = 10;


var numButtonSets = 10;

var buttonsInSet = new Array(0,3,3,3,8,3,0,0,0,0);

var buttons = new Array();

  buttons[0] = new Array('Home','/index.html','_self');
  buttons[1] = new Array('Stem Cells','/core1/stem-cells-intro.html','_self');
  buttons[2] = new Array('Data','/core1/stem-cells-data.html','_self');
  buttons[3] = new Array('Protocols','/core1/stem-cells-protocols.html','_self');
  buttons[4] = new Array('Publications','/publications.html#stemcells','_self');
  buttons[5] = new Array('Glycomics','/core2/glycomics-intro.html','_self');
  buttons[6] = new Array('Data','/core2/glycomics-data.html','_self');
  buttons[7] = new Array('Protocols','/core2/glycomics-protocols.html','_self');
  buttons[8] = new Array('Publications','/publications.html#glycomics','_self');
  buttons[9] = new Array('Transcriptomics','/core3/transcriptome-intro.html','_self');
  buttons[10] = new Array('Data','/core3/transcriptome-data.html','_self');
  buttons[11] = new Array('Protocols','/core3/transcriptome-protocols.html','_self');
  buttons[12] = new Array('Publications','/publications.html#transcriptomics','_self');
  buttons[13] = new Array('Informatics','/core4/informatics-intro.html','_self');
  buttons[14] = new Array('Ontologies','/core4/informatics-ontologies.html','_self');
  buttons[15] = new Array('GLYDE-II','/core4/informatics-glyde-ii.html','_self');
  buttons[16] = new Array('GlycoVault','/core4/informatics-glycovault.html','_self');
  buttons[17] = new Array('Visualization','/core4/informatics-visualization.html','_self');
  buttons[18] = new Array('Workflows','/core4/informatics-workflows.html','_self');
  buttons[19] = new Array('Data Tools','/core4/informatics-datatools.html','_self');
  buttons[20] = new Array('Simulations','/core4/informatics-simulation.html','_self');
  buttons[21] = new Array('Publications','/publications.html#informatics','_self');
  buttons[22] = new Array('Service','/services/service-intro.html','_self');
  buttons[23] = new Array('Training','/services/service-intro.html#training','_self');
  buttons[24] = new Array('Protocols','/services/service-intro.html#protocols','_self');
  buttons[25] = new Array('Publications','/publications.html#service','_self');
  buttons[26] = new Array('Pathways','/core3/index.html','_new');
  buttons[27] = new Array('Collaborations','/collaborations/collaborations.html','_self');
  buttons[28] = new Array('Publications','/publications.html','_self');
  buttons[29] = new Array('About Us','/aboutus.html','_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');

