// *****************************************************************************
// **  SETTINGS   **
// *****************************************************************************

// 'linka' use this if part of the URL is the same in ALL the links
// In this example all the files are in a subfolder called 'pages'
linka='';

// the filename of the page the menu appears in eg 'menu.html'
thisPage='whybrunswick_menu.html';

// Do you want to use images for the category bullets?
// If so then specify the path to your images folder from the menu page
imgPath='../images/';

// do you want to use images for the category bullets?
lev1img='yes';					// insert yes or no

// give image names and dimensions
lev1OpName='open.gif';			// open image name
lev1OpHeight='10';				// image height
lev1OpWidth='10';				// image width

lev1ClosName='closed.gif';		// closed image name
lev1ClosHeight='10';			// image height
lev1ClosWidth='10';				// image width

// do you want to use images for the sub-category bullets?
lev2img='no';		// insert yes or no

// give image names and dimensions
lev2Name='bullet.gif';			// image name
lev2Height='10';				// image height
lev2Width='16';					// image width

// do you want to use a text character for the sub-category bullets?
lev2Char='yes';		// insert yes or no

// set bullet character for level 2 bullets
bullet = '&nbsp;&nbsp;&nbsp;';

// base target - the frame that the links are targetting
base = 'main';

// *****************************************************************************
// **    END OF SETTINGS    **
// *****************************************************************************

// pulls 'page' variable out of URL - do not alter
	var x = 0
	page = location.search.substr(1).split("?")
	for (x=0;x<=page.length;x++) {
		eval(page)
		}
page = escape(page);
page = page.slice(7);

// do not alter this bit
function subMenu(name,linkb) {
 this.name = name;
 this.linkb = linkb;
}
document.write('<BASE target="' + base + '">');

// *****************************************************************************
// **    BUILD MENU DATA    **
// *****************************************************************************

// Introduction Menu
if (page=='intro') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Start Page','pages/intro.html');
}

// External Details Menu
if (page=='ext') {
thisMenu = new Array();
thisMenu[0] = new subMenu('External Diagram','pages/external_diagram.html');
thisMenu[1] = new subMenu('Furniture Styles','pages/furniture.html');
thisMenu[2] = new subMenu('SuperSpeed Cushions','pages/superspeed.html');
thisMenu[3] = new subMenu('Proven Investment','pages/investment.html');
thisMenu[4] = new subMenu('Warranty','pages/warranty.html');
thisMenu[5] = new subMenu('Leg Options','pages/legs.html');
thisMenu[6] = new subMenu('Wood/Finishes','pages/finish.html');
}

// Internal Details Menu
if (page=='int') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Internal Diagram','pages/internal_diagram.html');
thisMenu[1] = new subMenu('High Performance Nut Plate','pages/nutplate.html');
thisMenu[2] = new subMenu('Washers','pages/washers.html');
thisMenu[3] = new subMenu('Certified Slate','pages/slate.html');
thisMenu[4] = new subMenu('SuperSpeed Cushions','pages/cushions.html');
thisMenu[5] = new subMenu('Cotton Canvas','pages/canvas.html');
thisMenu[6] = new subMenu('Automated Rubber Bonding','pages/bonding.html');
thisMenu[7] = new subMenu('Consistent Nose Height','pages/nose.html');
thisMenu[8] = new subMenu('Solid Wood Rails','pages/rails.html');
thisMenu[9] = new subMenu('Recessed Staples','pages/staples.html');
thisMenu[10] = new subMenu('Opposing Wood Grains','pages/grains.html');
thisMenu[11] = new subMenu('Dove Tail Joints','pages/joints.html');
thisMenu[12] = new subMenu('Rigid Base Frame','pages/frame.html');
thisMenu[13] = new subMenu('More Hardware','pages/hardware.html');
thisMenu[14] = new subMenu('Wood Process','pages/wood.html');
}

// History of Brunswick Menu
if (page=='his') {
thisMenu = new Array();
thisMenu[0] = new subMenu('The Brunswick Story','pages/story.html');
thisMenu[1] = new subMenu('Timeline of Events','pages/events.html');
thisMenu[2] = new subMenu('Brunswick Owners','pages/owners.html');
}
