// *****************************************************************************
// **                                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='left_frame_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='';

// 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='lev2bullet.gif';			// image name
lev2Height='15';				// image height
lev2Width='15';					// 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 = 'mainFrame';

// *****************************************************************************
// **                             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                             **
// *****************************************************************************

// Products Menu
if (page=='prod') {
thisMenu = new Array();
thisMenu[0] = new subMenu('<img width="120" height="15" border="0" src="submenu_wheels.gif" alt="wheels products page">','prod_wheels_pg.html');
thisMenu[1] = new subMenu('<img width="120" height="15" border="0" src="submenu_rods.gif" alt="rods products page">','prod_rod_pg.html');
thisMenu[2] = new subMenu('<img width="120" height="15" border="0" src="submenu_tubes.gif" alt="tubes products page">','prod_tube_pg.html');
thisMenu[3] = new subMenu('<img width="120" height="15" border="0" src="submenu_proller.gif" alt="print rollers products page">','prod_roller_pg.html');
thisMenu[4] = new subMenu('<img width="120" height="15" border="0" src="submenu_sheets.gif" alt="sheets products page">','prod_sheet_pg.html');
}

// Services Menu
if (page=='serv') {
thisMenu = new Array();
thisMenu[0] = new subMenu('<img width="120" height="15" border="0" src="submenu_consulting.gif" alt="consulting services page">','serv_cons_pg.html');
thisMenu[1] = new subMenu('<img width="120" height="15" border="0" src="submenu_chgovers.gif" alt="changeovers services page">','serv_chgovers_pg.html');
thisMenu[2] = new subMenu('<img width="120" height="15" border="0" src="submenu_roller.gif" alt="roller rebuilds services page">','serv_roller_pg.html');
thisMenu[3] = new subMenu('<img width="120" height="15" border="0" src="submenu_design.gif" alt="design services page">','serv_des_pg.html');
}

// Fact Files Menu
if (page=='facts') {
thisMenu = new Array();
thisMenu[0] = new subMenu('<img width="120" height="15" border="0" src="submenu_fact1.gif" alt="fact file page">','facts_cat1_pg.html');
thisMenu[1] = new subMenu('<img width="120" height="15" border="0" src="submenu_fact2.gif" alt="fact file page">','facts_cat2_pg.html');
thisMenu[2] = new subMenu('<img width="120" height="15" border="0" src="submenu_fact3.gif" alt="fact file page">','facts_cat3_pg.html');
thisMenu[3] = new subMenu('<img width="120" height="15" border="0" src="submenu_fact4.gif" alt="fact file page">','facts_cat4_pg.html');
thisMenu[4] = new subMenu('<img width="120" height="15" border="0" src="submenu_fact5.gif" alt="fact file page">','facts_cat5_pg.html');
thisMenu[5] = new subMenu('<img width="120" height="15" border="0" src="submenu_fact6.gif" alt="fact file page">','facts_cat6_pg.html');
thisMenu[6] = new subMenu('<img width="120" height="15" border="0" src="submenu_ill.gif" alt="illustration page">','facts_ill_pg.html');
}
