// *****************************************************************************
// **                                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='menu2.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                             **
// *****************************************************************************

// Company Info Menu
if (page=='compinfo') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Company History','history.html');
thisMenu[1] = new subMenu('Company Facilities','facil.html');
thisMenu[2] = new subMenu('Company Location','locate.html');
thisMenu[3] = new subMenu('Employment Opportunities','employ.html');
}

// Service & Calibration Menu
if (page=='servcal') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Laboratory','catalog/pdf/service-lab.pdf');
thisMenu[1] = new subMenu('Trouble Shooting Guide','catalog/pdf/service-trouble-guide.pdf');
thisMenu[2] = new subMenu('ISO-17025 Scope of Accreditation Certificate','catalog/pdf/accreditation.pdf');
}

// Technical Info Menu
if (page=='tecinfo') {
thisMenu = new Array();

thisMenu[0] = new subMenu('Selection of Force Sensors','catalog/pdf/application-and-selection.pdf');
thisMenu[1] = new subMenu('Cross-talk Compensation using Matrix','catalog/pdf/cross-talk.pdf');
thisMenu[2] = new subMenu('The Wheatstone Bridge','catalog/pdf/wheatstone-bridge.pdf');
thisMenu[3] = new subMenu('Temperature Effects','catalog/pdf/temp-effects.pdf');
thisMenu[4] = new subMenu('Frequency Response','catalog/pdf/frequency-response.pdf');
thisMenu[5] = new subMenu('Overload Protection','catalog/pdf/overload-protection.pdf');
thisMenu[6] = new subMenu('Auto-ID of Sensors','catalog/pdf/auto-id.pdf');
thisMenu[7] = new subMenu('TEDS versus Auto-ID','catalog/pdf/teds-vs-auto-id.pdf');
thisMenu[8] = new subMenu('Definitions','catalog/pdf/definitions.pdf');
}

// Application Articles Menu
if (page=='appinfo') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Basics of torque measurement','catalog/pdf/torque-measurement.pdf');
thisMenu[1] = new subMenu('Window closing forces','catalog/pdf/anti-trap.pdf');
thisMenu[2] = new subMenu('Spare tire lift forces','catalog/pdf/sparetire.pdf');
thisMenu[3] = new subMenu('Automated weld robot clamping force','catalog/pdf/weld-robot.pdf');
}

// Related Links Menu
if (page=='rellinks') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Business','related-biz.html');
thisMenu[1] = new subMenu('Publications','related-pub.html');
thisMenu[2] = new subMenu('Reference','related-ref.html');
}

// Contact Info Menu
if (page=='coninfo') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Sensor Developments Inc','right_toc_ct.html');
thisMenu[1] = new subMenu('SDI Representatives','reps.html');
thisMenu[2] = new subMenu('Information Request Form','_order.html');
thisMenu[3] = new subMenu('Calibration Survey','_calsurvey.html');
}

