// *****************************************************************************
// **                                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='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='8';				// image height
lev2Width='8';					// 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                             **
// *****************************************************************************

// Reaction Torque Sensors Menu
if (page=='rtc') {
thisMenu = new Array();
thisMenu[0] = new subMenu('01036 Mini-flange','pdf/01036-01040.pdf');
thisMenu[1] = new subMenu('01040 Ultra-light','pdf/01036-01040.pdf');
thisMenu[2] = new subMenu('01090 Shaft','pdf/01090.pdf');
thisMenu[3] = new subMenu('01165-01171 Flange','pdf/01165.pdf');
thisMenu[4] = new subMenu('01173 Bearing Drag','pdf/01173.pdf');
thisMenu[5] = new subMenu('01190 Socket','pdf/01190.pdf');

thisMenu[6] = new subMenu('01292 SAE Torque Flange','pdf/01292.pdf');

thisMenu[7] = new subMenu('01302 Motor Torque Flange','pdf/01302.pdf');
}

// Rotating Torque Sensors Menu
if (page=='rotc') {
thisMenu = new Array();
thisMenu[0] = new subMenu('01100 Shaft','pdf/01100.pdf');
thisMenu[1] = new subMenu('01279 IR Non-Contact Shaft','pdf/01279.pdf');

thisMenu[2] = new subMenu('01306 Pulley Torque','pdf/01306.pdf');
thisMenu[3] = new subMenu('01324 Slip ring Shaft','pdf/01324.pdf');
thisMenu[4] = new subMenu('01325 Socket (hex)','pdf/01325hex.pdf');
thisMenu[5] = new subMenu('01325 Socket (Square)','pdf/01325square.pdf');

thisMenu[6] = new subMenu('01367 High radial load handling','pdf/01367.pdf');
thisMenu[7] = new subMenu('01424 Digital Non-Contact)','pdf/01424.pdf');

thisMenu[8] = new subMenu('IRT Dynamometer Series','pdf/IRT-01251.pdf');

}

// Force Sensors Menu
if (page=='fc') {
thisMenu = new Array();
thisMenu[0] = new subMenu('10019/10043 Hollow Pancake','pdf/10019-10043.pdf');
thisMenu[1] = new subMenu('10027 Platform','pdf/10027.pdf');
thisMenu[2] = new subMenu('10127 Canister','pdf/10127.pdf');
thisMenu[3] = new subMenu('10144/10254 Rod End','pdf/10144-10254.pdf');
thisMenu[4] = new subMenu('10153/10154 Mod. Dual Range','pdf/10153-10154.pdf');
thisMenu[5] = new subMenu('10164 VHO Low Capacity','pdf/10164.pdf');
thisMenu[6] = new subMenu('10174 Pancake','pdf/10174.pdf');
thisMenu[7] = new subMenu('10188/10190 Threaded Rod','pdf/10188-10190.pdf');
thisMenu[8] = new subMenu('10220 “S” Type','pdf/10220.pdf');
thisMenu[9] = new subMenu('10244 Mini-Button','pdf/10244.pdf');
thisMenu[10] = new subMenu('10245 Button','pdf/10245.pdf');
thisMenu[11] = new subMenu('20005 Mini-Beam','pdf/20005.pdf');
}

// Multi-Component Sensors Menu
if (page=='mc') {
thisMenu = new Array();
thisMenu[0] = new subMenu('11026 Low Prf. Torque/Thrust','pdf/11026.pdf');
thisMenu[1] = new subMenu('11042 Torque/Thrust','pdf/11042.pdf');
thisMenu[2] = new subMenu('11048 Torque/Thrust','pdf/11048.pdf');
thisMenu[3] = new subMenu('110XX Torque/Thrust','pdf/110XX.pdf');
thisMenu[4] = new subMenu('31001 Tire','pdf/31001.pdf');
thisMenu[5] = new subMenu('40003 Tire Tri-Axial','pdf/40003.pdf');
thisMenu[6] = new subMenu('50004 Tire Uniformity','pdf/50004.pdf');
thisMenu[7] = new subMenu('50012 Rolling Resistance','pdf/50012.pdf');
thisMenu[8] = new subMenu('50014 Bi-Axial','pdf/50014.pdf');
thisMenu[9] = new subMenu('70025 Tri-Axial','pdf/70025.pdf');
thisMenu[10] = new subMenu('70048 Tri-Axial','pdf/70048.pdf');
}


// Vehicle Sensors Menu
if (page=='vc') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Introduction','pdf/vehicleintro.pdf');
thisMenu[1] = new subMenu('01027 Steering Effort','pdf/01027.pdf');
thisMenu[2] = new subMenu('01184 FM Telemetry Steering','pdf/01184.pdf');
thisMenu[3] = new subMenu('01227 Steering Effort','pdf/01227.pdf');
thisMenu[4] = new subMenu('10020 Road Load','pdf/10295-90361-10020.pdf');
thisMenu[5] = new subMenu('10118 Brake Effort','pdf/10118.pdf');
thisMenu[6] = new subMenu('10293 Pinch Force','pdf/10293.pdf');
thisMenu[7] = new subMenu('10295 Parking Cable','pdf/10295-90361-10020.pdf');
thisMenu[8] = new subMenu('50006 Shift Knob','pdf/50006.pdf');
thisMenu[9] = new subMenu('77016 Multi-Axis Wheel','pdf/77016.pdf');
thisMenu[10] = new subMenu('90250 Pinch Force','pdf/90250.pdf');
thisMenu[11] = new subMenu('90332 Driveshaft Telemetry','pdf/90332-92000.pdf');
thisMenu[12] = new subMenu('90333 Mobile Dynamometer','pdf/90333-.pdf');
thisMenu[13] = new subMenu('90346 Steering DAQ','pdf/90333-.pdf');
thisMenu[14] = new subMenu('90360 Wheel Torque','pdf/90360.pdf');
thisMenu[15] = new subMenu('90361 Small Cart','pdf/10295-90361-10020.pdf');
thisMenu[16] = new subMenu('90366 Steering Column','pdf/90333-.pdf');

thisMenu[17] = new subMenu('90408 Drift Pull Sensor','pdf/90408.pdf');
thisMenu[18] = new subMenu('92000 Tie Rod/Dr Sh/Outrigger','pdf/90332-92000.pdf');
}

// Instruments and DAQ Menu
if (page=='daq') {
thisMenu = new Array();
thisMenu[0] = new subMenu('90131 Signal Conditioner','pdf/90131.pdf');
thisMenu[1] = new subMenu('90222 PMAC','pdf/90222.pdf');
thisMenu[2] = new subMenu('90227 PMAC NEMA Versions','pdf/90227-90240.pdf');
thisMenu[3] = new subMenu('90259 PMAC GUI Software','pdf/gui.pdf');
thisMenu[4] = new subMenu('90323 PTI','pdf/90323.pdf');
thisMenu[5] = new subMenu('90332 FM Telemetry','pdf/90332.pdf');

thisMenu[6] = new subMenu('90376 Miniature Bridge Amplifier','pdf/90376.pdf');
thisMenu[7] = new subMenu('90386 USB Sensor Link','pdf/90386.pdf');
thisMenu[8] = new subMenu('Virtual Instruments','pdf/virtual.pdf');
}

// Systems Menu
if (page=='sys') {
thisMenu = new Array();
thisMenu[0] = new subMenu('90061 Weld Probe','pdf/90061.pdf');
thisMenu[1] = new subMenu('90061-XH Weld Auditing','pdf/90061-xh.pdf');
thisMenu[2] = new subMenu('90085 Power Monitoring','pdf/90085.pdf');
thisMenu[3] = new subMenu('90229 Torque Verification','pdf/90229.pdf');

thisMenu[4] = new subMenu('90377 Rotary Torque Auditing','pdf/90377.pdf');
thisMenu[5] = new subMenu('90392 In-line Rotary Torque','pdf/90392.pdf');

thisMenu[6] = new subMenu('90407 Small Motor Dynamometer','pdf/90407.pdf');

thisMenu[7] = new subMenu('PMAC/PTI/USB System Examples','pdf/pmac-pti-usb-examples.pdf');
}

// OEM Sensors Menu
if (page=='oem') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Introduction','pdf/oem-sensors.pdf');
}

// Slip Ring Assemblies Menu
if (page=='sra') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Introduction','pdf/slip-ring-intro.pdf');
thisMenu[1] = new subMenu('90244/90046/90256 Models','pdf/90046-90244-90256.pdf');
}

// Custom Designs Menu
if (page=='cd') {
thisMenu = new Array();
thisMenu[0] = new subMenu('History','pdf/custom-history.pdf');
thisMenu[1] = new subMenu('Introduction','pdf/custom-questions.pdf');
thisMenu[2] = new subMenu('Recent Examples','pdf/custom-examples.pdf');
thisMenu[3] = new subMenu('Strain Gaging Services','pdf/custom-strain-gaging.pdf');
}

// Service and Calibration Menu
if (page=='sac') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Laboratory','pdf/service-lab.pdf');
thisMenu[1] = new subMenu('Trouble Shooting Guide','pdf/service-trouble-guide.pdf');
}

// Technical Notes Menu
if (page=='tec') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Selection of Force Sensors','pdf/application-and-selection.pdf');
thisMenu[1] = new subMenu('Auto-ID of Sensors','pdf/auto-id.pdf');
thisMenu[2] = new subMenu('The Wheatstone Bridge','pdf/wheatstone-bridge.pdf');
thisMenu[3] = new subMenu('Temperature Effects','pdf/temp-effects.pdf');
thisMenu[4] = new subMenu('Frequency Response','pdf/frequency-response.pdf');
thisMenu[5] = new subMenu('Overload Protection','pdf/overload-protection.pdf');
thisMenu[6] = new subMenu('Torque Measurement','pdf/torque-measurement.pdf');

thisMenu[7] = new subMenu('Definitions','pdf/definitions.pdf');
}

// Glossary Menu
if (page=='glo') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Introduction','pdf/glossary.pdf');
}



