<!-- // Hide
//
//-----------------------------------------------------------------------------
//
// This logic requires that menusetup.js is also included within the HTML file 
// that is calling this JS script in order to work properly.  
// Ellen L. Przybyszewski  - www.webdesignist.com  9/2001
//
//-----------------------------------------------------------------------------
// The 'primeStyle' items: 26px long, 
// 0px spacing between lines, 
// no pop out menu indicator ' ', 
// the popout indicator (if used) would be positioned 25px from the right
// edge of the item, 
// items have 3px padding, 
// background color, - maroon 
// background color when hovered over - maroon, 
// it uses 'itemText' as the dimmed text class  (defined in CSS)
// but 'itemHover' when it is moused over (defined in CSS)
// and NO 'itemBorder' as the border stylesheet class. (defined in CSS)
//note: primeStyle   displays text in white - itemtext (gold when hovered)
//      primeStyleon displays text in gold
//

var primeStyle = new ItemStyle(26, 0, ' ', -25, 3, '', '', 'itemText', 'itemHover', '');
var primeStyleon = new ItemStyle(26, 0, ' ', -25, 3, '', '', 'itemOn', 'itemHover', '');

var noStyle = new ItemStyle(26, 0, ' ', -25, 3, '', '', 'itemAddr', 'itemAddr', '');

var secondStyle = new ItemStyle(26, 0, ' ', -25, 3, '#339966', '#E5E8E6', 'itemsecText', 'itemsecHover', '');

//var standoutStyle = new ItemStyle(26, 0, ' ', -25, 3, '#006633', '#E5E8E6', 'itemstandText', 'itemstandHover', '');

var thirdStyle = new ItemStyle(26, 0, ' ', -25, 3, '#380317', '#E5E8E6', 'itemthirdText', 'itemthirdHover', '');



//  TO UPDATE THIS FILE FOR YOUR LEFT NAVIGATION NEEDS.....
//
// - after the startMenu('root') logic, simple modify/add in "addItem" statements for those
//   items you would like to appear in the gold box of the left nav of your page.  
//
// - note:  the sm: indicates that a submenu will also be created.
//   Submenus are created by subsequent startMenu(xxx) statements that correspond to the "mXxx"
//   submenu names entered in the "addItem" statement when the rootmenu was declared.
//
//   see existing "addItem" entries to see how to attach a HTML file to a navigational item. 
//
//
// The main menu section begins with the creation of a 'new PopupMenu(...)' object, which
// includes the main creation and update functions -- this example just has one object created.
// Next, we use its startMenu() function to create the individual menus used by the script.
// A PopupMenu() object must be passed its own name so it can reference itself when the menu
// is active. We also use a 'with' block to work with its properties and functions below.


var pMenu = new PopupMenu('pMenu');
with (pMenu)
{

// *** MOVE OR CENTRE THE MENU HERE ***
// MENU LOGIC......
//



// MAIN (root) MENU
// The 'root' menu is verticle, 
// positioned at (x = 10 - from left margin) , y = 162 from top) 
// and is 180px (LENGTH)wide, 
// and items by default use the colors/dimensions defined by the 
// 'primeStyle' ItemStyle defined above.

startMenu('root', true,'winWidth/2 - 390', 157, 177, primeStyle);

// The text is 0 spaces then the MAIN MENU navigation name, 
// then the name of the corresponding sub menu or HTML file
// and this item pops out as the main menu's submenu 
//when moused over as we've set 'sm:' as the action type.


if  (progid == "home") {
addItem('Home', 'index.html', '',primeStyleon);
  } else {
addItem('Home', 'index.html', '');
}

//beginning of about menu/sub menu....
if  (progid.substring(0,4) == "prod") {
addItem('Products', 'mProducts', 'sm:',primeStyleon);
  } else {
addItem('Products', 'mProducts', 'sm:');
}

if  (progid == "news") {
addItem('News', 'news.html', '',primeStyleon);
  } else {
addItem('News', 'news.html', '');
}

if  (progid.substring(0,5) == "ab_") {
addItem('About LB', 'mAbout', 'sm:',primeStyleon);
 } else {
addItem('About LB', 'mAbout', 'sm:');
}
// end of about menu/sub menu....


if  (progid.substring(0,9) == "contracts") {
addItem('Contracts', 'contracts.html', '',primeStyleon);
  } else {
addItem('Contracts', 'contracts.html', '');
}

if  (progid.substring(0,9) == "install") {
addItem('Installations', 'install.html', '',primeStyleon);
  } else {
addItem('Installations', 'install.html', '');
}

if  (progid == "contractstxmas") {
addItem('TXMAS', 'cntrcttxmas.html', '',primeStyleon);
}

if  (progid.substring(0,7)== "contact") {
addItem('Contact Us', 'contact.html', '',primeStyleon);
  } else {
addItem('Contact Us', 'contact.html', '');
}

//if  (progid == "contactfeed") {
//addItem('Feedback Form', 'feedback.html', '',primeStyleon);
//}
//if  (progid == "contactguest") {
//addItem('Guest Log Form', 'guest.html', '',primeStyleon);
//}



if  (progid == "sitemap") {
addItem('Site Map', 'sitemap.html', '',primeStyleon);
  } else {
addItem('Site Map', 'sitemap.html', '');
}


// beginning of home SUBmenu---------------------
startMenu('mAbout', true, 187, 0, 200, secondStyle);
addItem('Overview', 'aboutoverview.html', '');
addItem('Our Values', 'aboutvalues.html', '');
addItem('Our Legacy', 'aboutlegacy.html', '');
addItem('Environmentally Friendly', 'aboutenvironmental.html', '');

// end of home SUBmenu---------------------


// beginning of products SUBmenu---------------------
startMenu('mProducts', true, 187, 0, 200, secondStyle);
addItem('View Products by Collections', 'mProdcoll', 'sm:', secondStyle);
addItem('Shelving', 'prodshelving.html', '');
addItem('Circulation Desks', 'prodcircdesks.html', ''); 
addItem('Lounge Seating', 'prodloungeseating.html', '');
addItem('Tables', 'prodtables.html', '');
addItem('Additional Products', 'prodadditional.html', '');
addItem('Custom Designed Furniture', 'prodcustom.html', '', secondStyle);
// end of sped SUBmenu---------------------

// beginning of products View by collections SUBmenu---------------------
startMenu('mProdcoll', true, 205, 0, 130, thirdStyle);
addItem('Dewey Collection', 'collectiondewey.html', '');
addItem('Medallion 82', 'collectionmedallion82.html', '');
addItem('Mentor', 'collectionmentor.html', '');
addItem('Group 90', 'collectiongroup90.html', '');
addItem('Classical Selections', 'collectionclassical.html', '');
addItem('LB 76', 'collectionlb76.html', '');
addItem('Artisan', 'collectionartisan.html', '');
addItem('VISIONS 65', 'collectionvisions65.html', '');
// end of sped SUBmenu---------------------

}
// End Hide -->