// *****************************************************************************

// **                                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='pages/';



// the filename of the page the menu appears in eg 'menu.html'

thisPage='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='yes';		// 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='no';		// insert yes or no



// set bullet character for level 2 bullets

bullet = '&#155; ';



// 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                             **

// *****************************************************************************



// Spruce Top Model Menu

if (page=='sprucet') {

thisMenu = new Array();

thisMenu[0] = new subMenu('Front','eu_sp_top.html');

thisMenu[1] = new subMenu('Back','e_ind_rose_bk.html');

thisMenu[2] = new subMenu('Rosette','sp_roset.html');

thisMenu[3] = new subMenu('Rosette detail','sp_roset_det.html');

thisMenu[4] = new subMenu('Head front','sp_head.html');

thisMenu[5] = new subMenu('Head back','sp_head_bk.html');

thisMenu[6] = new subMenu('Bridge','brz_r_bridge.html');

thisMenu[7] = new subMenu('Bridge detail','brz_r_bridge_det.html');

thisMenu[8] = new subMenu('Heel detail','brz_r_bridge_heal.html');

thisMenu[9] = new subMenu('End detail','brz_r_bridge_end.html');

}



// Cedar Top Model Menu

if (page=='cedart') {

thisMenu = new Array();

thisMenu[0] = new subMenu('Front','cedart.html'); 

thisMenu[1] = new subMenu('Back','coco_r_back.html');

thisMenu[2] = new subMenu('Rosette','ced_roset.html');

thisMenu[3] = new subMenu('Rosette detail','ced_roset_det.html');

thisMenu[4] = new subMenu('Head  front','co_head.html');

thisMenu[5] = new subMenu('Bridge','brz_r_bridge2.html');

thisMenu[6] = new subMenu('Heel detail','co_head_det.html');

thisMenu[7] = new subMenu('End detail','co_head_end.html');

}



// Interior Top Menu

if (page=='charmonic') {

thisMenu = new Array();

thisMenu[0] = new subMenu('Braced top','closed_bar.html');

thisMenu[1] = new subMenu('Lower bout','open_bar.html');

thisMenu[2] = new subMenu('Oblique view','ob_view.html');

thisMenu[3] = new subMenu('Side view','side_view.html');

}



// Open Harmonic Bar Menu

if (page=='openharmonic') {

thisMenu = new Array();

thisMenu[0] = new subMenu('Braced top','full_braced_tp.html');

thisMenu[1] = new subMenu('End view','braced_top_end.html');

thisMenu[2] = new subMenu('Oblique view','ob_view2.html');

thisMenu[3] = new subMenu('Side view','side_ob.html');

thisMenu[4] = new subMenu('Detail','harmonic_det.html');

}

