var msg = {
	filter			: 'filter',
	titel			: 'Diagnosis Trainer',
	logfile			: 'Log file',
	file			: 'file',
	
	begin			: 'start',
	cursist			: 'trainee',
	storing			: 'failure',
	niveau			: 'level',
	actie			: 'action',
	nietopgelost		: 'student thinks the failure is not solved',
	opgelost		: 'student thinks the failure is solved',
	resume			: 'student continues next time',
	diagnose		: 'diagnosis',
	einde			: 'end',
	beoordeling		: 'evaluation',
	vervangen		: 'student want to replace component:',
	goed			: 'completed correctly',
	fout			: 'completed incorrectly',

	wizard			: '<i>question:</i> %s<br><i>answer:</i><b> %s</b>',

	// gevolgschade
	backfire		: '<b>backfire</b>',
	overstroom		: '<b>maximum current exceeded: %s damaged</b> (%s A)',
	overspanning		: '<b>maximum voltage exceeded: %s damaged</b> (%s V)', 
	ecudefect		: '<b>control unit faulty</b>',

	// handmatige acties
	los			: '%s taken apart',
	vast			: '%s put together',
	filt_overbrug		: 'filter bypassed',
	filt_aangesloten	: 'filter connected',
	bekijk			: 'inspected %s',
	bots_reset		: 'inertia switch reset',

	// menu
	demonteer		: '%s disassembled',
	monteer			: '%s assembled',
	knip			: 'cut through %s',
	tik			: 'tapped on %s',
	luister			: 'listened to %s',
	reinig			: '%s cleaned',
	startpilot		: 'startpilot (via %s)',
	duw			: 'pushed %s',
	bijvullen		: 'filled up %s',
	vervang			: '%s replaced',

	// gereedschappen
	mul_st	 		: 'multimeter set to <i>%s</i> position',
	mul_bus			: 'red multimeter test lead plugged into %s',
	mul_on			: 'multimeter switched on',
	mul_off			: 'multimeter switched off',
	mul_DC			: 'multimeter set to DC position',
	mul_AC			: 'multimeter set to AC position',
	dyndraai		: 'bicycle dynamo rotated',
	slot			: 'ignition switch set to the %s position',
	gasklep			: 'throttle set to %s',
	obd			: 'obd scantool: %s',

	// onderdelen en overige gereedschappen
	voegtoe	 		: '%s installed',
	voegtoe2	 	: '%s installed (%s)',
	verwijder       	: '%s removed',

	// draden een meetsnoeren verbinden en verbreken
	verbreek		: '%s disconnected',
	verbind			: 'connected %s between %s and %s',

	kab_bou_in		: 'ignition cable cylinder %s (spark plug side)',
	kab_bou_uit		: 'ignition cable to disassembled spark plug of cylinder %s',
	kab_bob			: 'ignition cable cylinder %s (ignition coil side)',
	
	duur			: 'time',
	minuten			: 'minutes'
	

};

var vervangen = {
	1 : 'injector 1',
	2 : 'injector 2',
	3 : 'injector 3',
	4 : 'injector 4',
	5 : 'ignition cable 1',
	6 : 'ignition cable 2',
	7 : 'ignition cable 3',
	8 : 'ignition cable 4',
	9 : 'spark plug 1',
	10 : 'spark plug 2',
	11 : 'spark plug 3',
	12 : 'spark plug 4',
	14 : 'ignition switch',
	15 : 'battery',
	16 : 'fan relay',
	17 : 'pump relay',
	18 : 'main relay',
	19 : 'control unit',
	20 : 'fan',
	21 : 'ignition coil 1',
	22 : 'ignition coil 2',
	23 : 'purge solenoid',
	24 : 'fuel pump',
	25 : 'idle valve',
	26 : 'inertia switch',
	27 : 'air temperature sensor',
	28 : 'Hall sensor',
	29 : 'mass air flow meter',
	30 : 'oxygen sensor',
	31 : 'speed sensor',
	32 : 'magnetic pickup',
	33 : 'coolant temperature sensor',
	34 : 'throttle position sensor'	
}


/******************************************************************************
  objecten bij handelingen logfile
******************************************************************************/
var obj = {
	st1			: '10 A',
	st2			: '20 M ohm',
	st3			: '2 M ohm',
	st4			: '200 k ohm',
	st5			: '20 k ohm',
	st6			: '2 k ohm',
	st7			: '200 ohm',
	st8			: 'beeper',
	st9			: 'dwell (4 cylinder)',
	st10			: 'dwell (3 cylinder)',
	st11			: 'dutycycle',
	st12			: '600 V',
	st13			: '200 V',
	st14			: '20 V',
	st15			: '2 V',
	st16			: '200 mV',
	bus1			: 'socket for measuring voltage and restistance',
	bus2			: 'socket for measuring dutycycle and dwell',
	bus3			: 'socket for measuring current',
	
	injectie_links		: 'fuel return line',
	injectie_rechts		: 'fuel supply line',
	luchtfilter		: 'air filter box cover',
	bank			: 'back seat',
	
	compressie		: 'compression tester',
	
	draad_rood_2		: 'red wire',
	draad_paars_2		: 'purple wire',
	draad_magenta_2		: 'light blue wire',
	draad_groen_2		: 'green wire',
	draad_blauw_2		: 'blue wire',
	draad_geel_2		: 'yellow wire',
	draad_rood		: 'red fused wire',
	draad_paars		: 'purple fused wire',
	draad_magenta		: 'light blue fused wire', 
	draad_groen		: 'green fused wire',
	draad_blauw		: 'blue fused wire',
	draad_geel		: 'yellow fused wire',
	
	slang			: 'hose on purge solenoid',
	slang_1			: 'air supply hose to idle valve',
	slang_2			: 'hose on intake manifold',

	readerror		: 'fault codes read out',
	clearerror		: 'fault codes erased',
	live1			: 'RPM read out',
	live2			: 'throttle position read out',
	live3			: 'coolant temperature read out',
	live4			: 'mass air flow read out',
	live5			: 'Air temperature read out',
	live6			: 'injection time read out',
	live7			: 'ignition advance read out',
	live8			: 'Idle dutycycle read out',
	live9			: 'Fuel purge read out',
	
	//componenten (gevolgschade)
	b2   : 'fuse "single dual lamps"',
	b3   : 'fuse "p./window"',
	b4   : 'fuse "stop lamp"',
	b5   : 'fuse "horn f./fog"',
	b6   : 'fuse "ABS 50A"',
	b14  : 'fuse "defog"',
	b15  : 'fuse "seat driv."',
	b16  : 'fuse "seat pass."',
	b17  : 'fuse "ABS 10A"',
	b26  : 'fuse "lambda fuel"',
	b27  : 'fuse "injectors"',
	b33  : 'fuse "ign."',
	b37  : 'fuse "rad. fan"',
	b38  : 'transistor in control unit triggering pump relay ("fuel lambda") (pin 53)',
	b39  : 'AD converter in control unit for ignition detection (pin 52)',
	b40  : 'transistor in control unit triggering idle valve (pin 54)',
	b41  : 'transistor in control unit triggering purge solenoid (pin 47)',
	b42  : 'transistor in control unit triggering injector 1 (pin 51)',
	b43  : 'transistor in control unit triggering injector 2 (pin 50)',
	b44  : 'transistor in control unit triggering injector 3 (pin 49)',
	b45  : 'transistor in control unit triggering injector 4 (pin 48)',
	b46  : 'transistor in control unit triggering main relay ("engine") (pin 45)',
	b47  : 'transistor in control unit triggering check engine light (pin 31)',
	b49  : 'AD converter in control unit of diagnostic input (pin 30)',
	b50  : 'transistor in control unit triggering ignition coil 1 (cilinders 1 and 4) (pin 42)',
	b51  : 'transistor in control unit triggering ignition coil 2 (cilinders 2 and 3) (pin 43)',
	b52  : 'transistor in control unit triggering fan relay ("rad fan") (pin 28)',
	b56  : 'control unit input for speed sensor signal (pin 46)',
	b58  : 'power supply control unit (between pin 35 and 23)',
	b60  : 'AD converter in control unit for oxygen sensor (between pin 26 and 27)',
	b61  : 'AD converter in control unit for mass air flow meter (pin 29)',
	b62  : 'AD converter in control unit for throttle position sensor (pin 31)',
	b63  : 'control unit input for Hall sensor signal (pin 55)',
	b64  : 'AD converter in control unit for coolant temperature sensor (pin 33)',
	b65  : 'AD converter in control unit for air temperature sensor (pin 24)',
	b66  : 'control unit input for transponder communication (pin 66)',
	b67  : 'control unit input for magnetic pickup signal (between pin 34 and 36)',
	b84  : 'fuse yellow wire',
	b85  : 'fuse blue wire',
	b86  : 'fuse green wire',
	b87  : 'fuse light blue wire',
	b88  : 'fuse purple wire',
	b89  : 'fuse red wire',
	
	
	//meetpunten
	1	: 'battery clamp ground side',
	2	: 'minus terminal battery',
	3	: 'positive terminal battery',
	4	: 'battery clamp positive side',
	5	: 'ground terminal fuse socket "single dual lamps"',
	8	: 'supply terminal fuse socket "single dual lamps"',
	9	: 'ground terminal fuse socket "p. / window"',
	12	: 'supply terminal fuse socket "p. / window"',
	13	: 'ground terminal fuse socket "stop lamp"',
	16	: 'supply terminal fuse socket "stop lamp"',
	17	: 'ground terminal fuse socket "horn f. fog"',
	20	: 'supply terminal fuse socket "horn f. fog"',
	21	: 'ground terminal fuse socket "ABS (50A)"',
	23	: 'pin %s control unit (control unit power transistors ground, directly to battery)',
	24	: 'pin %s control unit (signal air temperature sensor)',
	25	: 'pin %s control unit (ground various sensors)',
	26	: 'pin %s control unit (ground oxygen sensor)',
	27	: 'pin %s control unit (power supply oxygen sensor)',
	28	: 'pin %s control unit (signal relay "rad. fan")',
	29	: 'pin %s control unit (signal mass air flow meter)',
	30	: 'pin %s control unit (signal diagnosis connector)',
	31	: 'pin %s control unit (signal throttle position sensor)',
	32	: 'pin %s control unit (+5V throttle position sensor)',
	33	: 'pin %s control unit (signal coolant temperature sensor)',
	34	: 'pin %s control unit (signal magnetic pickup)',
	35	: 'pin %s control unit (power supply)',
	36	: 'pin %s control unit (signal magnetic pickup)',
	37	: 'pin %s control unit (signal transponder)',
	38	: 'pin %s control unit (+5V Hall sensor)',
	39	: 'pin %s control unit (power supply diagnosis connector)',
	40	: 'pin %s control unit (signal check engine light)',
	41	: 'pin %s control unit (+5V mass air flow meter)',
	42	: 'pin %s control unit (signal ignition coil 1)',
	43	: 'pin %s control unit (signal ignition coil 2)',
	44	: 'pin %s control unit (control unit electronics ground, via engine block)',
	45	: 'pin %s control unit (signal relay "engine")',
	46	: 'pin %s control unit (signal speed sensor)',
	47	: 'pin %s control unit (signal purge solenoid)',
	48	: 'pin %s control unit (signal injector 4)',
	49	: 'pin %s control unit (signal injector 3)',
	50	: 'pin %s control unit (signal injector 2)',
	51	: 'pin %s control unit (signal injector 1)',
	52	: 'pin %s control unit (ignition signal)',
	53	: 'pin %s control unit (signal relay "fuel lambda")',
	54	: 'pin %s control unit (signal idle valve)',
	55	: 'pin %s control unit (signal Hall sensor)',
	57	: 'supply terminal fuse socket "ABS (50A)"',
	66	: 'start signal on ignition switch',
	67	: 'supply on ignition switch (start)',
	68	: 'accessory signal on ignition switch',
	69	: 'ignition signal on ignition switch',
	70	: 'supply on ignition switch (ignition & accessory)',
	71	: 'ground terminal fuse socket "defog"',
	74	: 'supply terminal fuse socket "defog"',
	75	: 'ground terminal fuse socket "seat driv"',
	78	: 'supply terminal fuse socket "seat driv."',
	79	: 'ground terminal fuse socket "seat pass"',
	82	: 'supply terminal fuse socket "seat pass."',
	83	: 'ground terminal fuse socket "ABS (10A)"',
	86	: 'supply terminal fuse socket "ABS(10A)"',
	87	: 'switching output on relay socket "fuel lambda"',
	88	: 'switching output of relay "fuel lambda" (pin 5)',
	89	: 'supply terminal switch of relay "fuel lambda" (pin 3)',
	90	: 'supply terminal switch on relay socket "fuel lambda"',
	91	: 'signal control unit on relay socket "fuel lambda "',
	92	: 'ground terminal relay coil "fuel lambda" (pin 2)',
	93	: 'supply terminal relay coil "fuel lambda" (pin 1)',
	94	: 'supply terminal coil on relay socket "fuel lambda "',
	95	: 'signal on connector of idle valve',
	96	: 'ground terminal stationairklep',
	97	: 'supply terminal idle valve',
	98	: 'supply on connector idle valve',
	99	: 'signal on connector of purge solenoid',
	100	: 'ground terminal purge solenoid',
	101	: 'supply terminal purge solenoid',
	102	: 'supply on connector purge solenoid',
	103	: 'signal on connector of injector 1',
	104	: 'ground terminal injector 1',
	105	: 'supply terminal injector 1',
	106	: 'supply on connector injector 1',
	107	: 'signal on connector of injector 2',
	108	: 'ground terminal injector 2',
	109	: 'supply terminal injector 2',
	110	: 'supply on connector injector 2',
	111	: 'signal on connector of injector 3',
	112	: 'ground terminal injector 3',
	113	: 'supply terminal injector 3',
	114	: 'supply on connector injector 3',
	115	: 'signal on connector of injector 4',
	116	: 'ground terminal injector 4',
	117	: 'supply terminal injector 4',
	118	: 'supply on connector injector 4',
	119	: 'supply terminal fault code connector',
	120	: 'signal terminal fault code connector',
	121	: 'signal on connector of ignition coil 1',
	122	: 'ground terminal (1) ignition coil 1',
	123	: 'supply terminal ignition coil 1',
	124	: 'supply on connector ignition coil 1',
	125	: 'signal on connector of ignition coil 2',
	126	: 'ground terminal (1) ignition coil 2',
	127	: 'supply terminal ignition coil 2',
	128	: 'supply on connector ignition coil 2',
	129	: 'ground terminal fuse socket "ign"',
	132	: 'supply terminal fuse socket "ign"',
	133	: 'signal control unit on relay socket "rad. fan"',
	134	: 'ground terminal relay coil "rad. fan" (pin 2)',
	135	: 'supply terminal relay coil "rad. fan" (pin 1)',
	136	: 'supply terminal coil on relay socket "rad. fan"',
	137	: 'switching output on relay socket "rad. fan"',
	138	: 'switching output of relay "rad. fan" (pin 5)',
	139	: 'supply terminal switch of relay "rad. fan" (pin 3)',
	140	: 'supply terminal switch of relay socket "rad. fan"',
	141	: 'ground terminal fuse socket "rad. fan"',
	144	: 'supply terminal fuse socket "rad. fan"',
	145	: 'ground on connector radiator fan',
	146	: 'ground terminal of radiator fan',
	147	: 'supply terminal of radiator fan',
	148	: 'supply on connector radiator fan',
	149	: 'signal relay coil "fuel lambda" on control unit connector',
	150	: 'signal idle valve on control unit connector',
	151	: 'signal purge solenoid on control unit connector',
	152	: 'signal injector 1 on control unit connector',
	153	: 'signal injector 2 on control unit connector',
	154	: 'signal injector 3 on control unit connector',
	155	: 'signal injector 4 on control unit connector',
	156	: 'signal relay coil "engine" on control unit connector',
	157	: 'supply on control unit connector',
	158	: 'signal check engine light on control unit connector',
	159	: 'power supply diagnose stekker on control unit connector',
	160	: 'signal diagnose stekker on control unit connector',
	161	: 'signal ignition coil 1 on control unit connector',
	162	: 'signal ignition coil 2 on control unit connector',
	163	: 'signal relay coil and control unit of relay coil "rad. fan" on control unit connector',
	164	: 'signal speed sensor on control unit connector',
	165	: 'signal oxygen sensor on control unit connector',
	166	: 'ground oxygen sensor on control unit connector',
	167	: 'supply mass air flow meter on control unit connector',
	168	: 'signal mass air flow meter on control unit connector',
	169	: 'power supply throttle position sensor on control unit connector',
	170	: 'signal throttle position sensor on control unit connector',
	171	: 'power supply Hall sensor on control unit connector',
	172	: 'signal Hall sensor on control unit connector',
	173	: 'ground of various sensors on control unit connector',
	174	: 'signal coolant temperature sensor on control unit connector',
	175	: 'signal air temperature sensor on control unit connector',
	176	: 'signal transponder on control unit connector',
	177	: 'control unit power transistors ground',
	178	: 'control unit electronics ground',
	179	: 'signal magnetic pickup on control unit connector',
	180	: 'signal magnetic pickup on control unit connector',
	181	: 'ground on connector speed sensor',
	182	: 'ground terminal of speed sensor',
	183	: 'supply terminal of speed sensor',
	184	: 'supply on connector speed sensor',
	185	: 'signal terminal of speed sensor',
	186	: 'signal on connector speed sensor',
	187	: 'ground on connector fuel pump',
	188	: 'ground terminal of fuel pump',
	189	: 'supply terminal of fuel pump',
	190	: 'supply on connector fuel pump',
	191	: 'signal on connector inertia switch',
	192	: 'output of inertia switch',
	193	: 'supply terminal of inertia switch',
	194	: 'supply on connector inertia switch',
	195	: 'ground on engine block',
	196	: 'ground terminal oxygen sensor, mass air flow meter and control unit',
	197	: 'ground wire heating element of oxygen sensor',
	198	: 'ground terminal of heating element of oxygen sensor',
	199	: 'supply terminal of heating element of oxygen sensor',
	200	: 'supply heating element on connector oxygen sensor',
	201	: 'signal ground on connector oxygen sensor',
	202	: 'ground terminal of output signal oxygen sensor',
	203	: 'signal terminal of oxygen sensor',
	204	: 'signal on connector oxygen sensor',
	205	: 'ground on connector mass air flow meter',
	206	: 'ground terminal of mass air flow meter',
	207	: 'supply terminal (+12V) of heating element mass air flow meter',
	208	: 'supply heating element on connector mass air flow meter',
	209	: 'supply terminal (+5V) of mass air flow meter',
	210	: 'supply on connector mass air flow meter',
	211	: 'signal terminal of mass air flow meter',
	212	: 'signal on connector mass air flow meter',
	213	: 'ground throttle position sensor (sensor side)',
	214	: 'ground terminal of throttle position sensor',
	215	: 'supply terminal (+5V) of throttle position sensor',
	216	: 'supply on connector throttle position sensor',
	217	: 'signal terminal of throttle position sensor',
	218	: 'signal on connector throttle position sensor',
	219	: 'ground on connector Hall sensor',
	220	: 'ground terminal of Hall sensor',
	221	: 'supply terminal of Hall sensor',
	222	: 'supply on connector Hall sensor',
	223	: 'signal terminal of Hall sensor',
	224	: 'signal on connector Hall sensor',
	225	: 'ground coolant temperature sensor (sensor side)',
	226	: 'ground terminal of coolant temperature sensor',
	227	: 'signal terminal of coolant temperature sensor',
	228	: 'signal on connector coolant temperature sensor',
	229	: 'ground air temperature sensor (sensor side)',
	230	: 'ground terminal of air temperature sensor',
	231	: 'signal terminal of air temperature sensor',
	232	: 'signal on connector air temperature sensor',
	233	: 'signal terminal of transponder',
	234	: 'signal on connector magnetic pickup',
	235	: 'signal terminal (ground) of magnetic pickup',
	236	: 'positive signal terminal of magnetic pickup',
	237	: 'signal on connector magnetic pickup',
	238	: 'terminal shield magnetic pickup',
	239	: 'shield on connector magnetic pickup',
	240	: 'ignition signal on control unit connector',
	241	: 'ground terminal fuse socket "fuel lambda"',
	242	: 'ground terminal fuse socket "injectors"',
	247	: 'supply terminal fuse socket "fuel lambda"',
	248	: 'supply terminal fuse socket "injectors"',
	249	: 'switching output of relay "engine" (pin 4)',
	250	: 'switching output of relay "engine" (pin 5)',
	251	: 'signal control unit on relay socket "engine "',
	252	: 'switching output on relay socket "engine"',
	253	: 'switching output on relay socket "engine"',
	254	: 'ground terminal relay coil  "engine" (pin 2)',
	255	: 'supply terminal switch of relay "engine" (pin 3)',
	256	: 'supply terminal relay coil "engine" (pin 1)',
	257	: 'supply terminal switch on relay socket "engine"',
	258	: 'supply terminal coil on relay socket "engine"',
	259	: 'lower secondary terminal ignition coil 1',
	260	: 'upper secondary terminal ignition coil 1',
	261	: 'lower secondary terminal ignition coil 2',
	262	: 'upper secondary terminal ignition coil 2',
	263	: 'ignition cable cylinder 1 (spark plug side)',
	264	: 'ignition cable cylinder 1 (ignition coil side)',
	265	: 'ignition cable cylinder 2 (spark plug side)',
	266	: 'ignition cable cylinder 2 (ignition coil side)',
	267	: 'ignition cable cylinder 3 (spark plug side)',
	268	: 'ignition cable cylinder 3 (ignition coil side)',
	269	: 'ignition cable cylinder 4 (spark plug side)',
	270	: 'ignition cable cylinder 4 (ignition coil side)',
	271	: 'ground terminal of extra fuel pump',
	272	: 'supply terminal of extra fuel pump',

	// diagnose begeleider
	root	: 'Welcome to the diagnosis wizard.%1This programs help you diagnosing the engine management system.%1Select one of the symptoms.',
	p1	: 'Is the transponder system ok?',
	p2	: 'Try to fix the transponder system.',
	p3	: 'Is there a spark when you connect the test spark plug to the ignition coils?',
	p4	: 'Are the ignition coils supplied with +12V?',
	p5	: 'Check the fuse or supply the ignition coil(s) with 12 V.',
	p6	: 'Check the signal to the ignition coil. Is the ignition coil triggered?',
	p7	: 'Check the resistance of the ignition coil (primary and secundary). Replace the ignition coil is necessary.',
	p8	: 'Check the +5V outputs of the control unit or check the supply voltage of the control unit (supply and ground).%1Is it ok?',
	p9	: 'Check the magnetic pickup.',
	p10	: 'Fix the power supply of the control unit.',
	p11	: 'Does the engine run on startpilot?',
	p12	: 'Are the spark plugs oily?',
	p13	: 'Clean the spark plugs.',
	p14	: 'Does the fuel pump operate during startup?',
	p15	: 'Check the inertia switch and reset it if necessary.%1Is the switch ok?',
	p16	: 'Check the supply and the ground terminal of the fuel pump.%1Is it ok?',
	p17	: 'Fix a temporary solution by overriding the inertia switch with a wire.',
	p18	: 'Measure the resistance of the pump and connect an extra fuel pump if necessary.',
	p19	: 'Fix the fuel pump power supply.',
	p20	: 'Measure the fuel pressure.%1Is the fuel pressure ok?',
	p21	: 'Is there enough fuel in the tank?',
	p22	: 'Check the fuel hoses, the pressure regulator and the fuel filter.',
	p23	: 'Add fuel to the tank.',
	p24	: 'Check the signal to the injectors.%1Are the injectors triggered?',
	p25	: 'The engine timing is incorrect or there is another mechanical failure.',
	p26	: 'Check the 12 V supply of the injector.%1Is the supply voltage ok?',
	p27	: 'The control unit is faulty or there is an interruption in one of the wires to the injectors.',
	p28	: 'Check the relay and the fuse of the injectors or connect a wire to supply the voltage.',
	p29	: 'Is the engine continuously running poorly?',
	p30	: 'Check the throttle position sensor, the mass air flow meter, the fuel pressure and the oxygen sensor.',
	p31	: 'Is the engine idling poorly?',
	p32	: 'Check the idle valve and clean it if necessary.%1Check the throttle position sensor.',
	p33	: 'The engine doesn\'t rev up or runs poorly under load?',
	p34	: 'Check the fuel pressure.%1Does is stay above 2 bars?',
	p35	: 'Check the fuel pump, the fuel filter and the pressure regulator.',
	p36	: 'Check the mass air flow meter, the coolant temperature sensor, the air temperature sensor and the purge solenoid. Check for air leakage (false air).',
	p37	: 'Does this happen only when the engine is cold?',
	p38	: 'Check the coolant temperature sensor.',
	p39	: 'Check the throttle position sensor, the coolant temperature sensor and the oxygen sensor.',
	p40	: 'Use the test spark plug to check all ignition cables.%1Does the spark plug spark on every cable?',
	p41	: 'Check the spark plugs.%1Are the spark plugs ok?',
	p42	: 'Replace or clean the spark plugs.',
	p43	: 'Check the ignition cables.%1Are the ignition cables ok?',
	p44	: 'Replace bad ignition cables.',
	p45	: 'Check the spark plugs, the ignition cables, the injectors and the compression.',
	ja	: 'yes',
	nee	: 'no',
	alleVonk: 'All cables spark.',
	vonk23	: 'Only cylinder 2 and 3 spark',
	vonk14	: 'Only cylinder 1 and 4 spark',
	aanslaan: 'The engine starts, but doesn\'t kick in.',
	cil2	: 'The engine is running on two cylinders.',
	cil3	: 'The engine is running on three cylinders.',
	slecht	: 'The engine runs poorly.',

	fb1	: 'It was possible to solve this failure.',
	fb2	: 'This failure can\'t be solved indeed.',
	fb3	: 'The failure is solved!',
	fb4	: 'The engine is not running on four cylinders..',
	fb5	: 'The engine runs too lean.',
	fb6	: 'The fan doesn\'t kick in. The engine will run hot.',
	fb7	: 'The fan is running continuously and will get stuck. The engine will run hot.',
	fb8	: 'The engine doesn\'t rev up.',
	fb9	: 'The control unit is damaged.',
	fb10	: 'The engine management system operates in failure mode (fault code %2)',
	fb11	: 'The engine stalls at idle speed.',
	fb12	: 'The idle speed of the engine is too high.',
	fb13	: 'The component is replaced and the failure is solved!',
	fb14	: 'The component is replaced but the failure is not solved.',
	fb15	: 'A sensor returns an incorrect value.',
	fb16	: 'An actuator doesn\'t operate properly.',
	fb17	: 'The engine doesn\'t run.'	

};

obj["slang_1"]		= 'air supply hose to idle valve';
obj["slang_2"]		= 'hose on intake manifold';
obj["injector 1"]	= 'injector 1';
obj["injector 2"]	= 'injector 2';
obj["injector 3"]	= 'injector 3';
obj["injector 4"]	= 'injector 4';
obj["bougiekabel 1"]	= 'ignition cable 1';
obj["bougiekabel 2"]	= 'ignition cable 2';
obj["bougiekabel 3"]	= 'ignition cable 3';
obj["bougiekabel 4"]	= 'ignition cable 4';
obj["bougie 1"]		= 'spark plug 1';
obj["bougie 2"]		= 'spark plug 2';
obj["bougie 3"]		= 'spark plug 3';
obj["bougie 4"]		= 'spark plug 4';
obj["contactslot"]	= 'ignition switch';
obj["accu"]		= 'battery';
obj["ventilatorrelais"]	= 'fan relay';
obj["pomprelais"]	= 'pump relay';
obj["hoofdrelais"]	= 'main relay';
obj["regeleenheid"]	= 'control unit';
obj["ventilator"]	= 'fan';
obj["bobine 1"]		= 'ignition coil 1';
obj["bobine 2"]		= 'ignition coil 2';
obj["tank-ventilatieklep"]	= 'purge solenoid';
obj["brandstofpomp"]	= 'fuel pump';
obj["stationair klep"]	= 'idle valve';
obj["bots-schakelaar"]	= 'inertia switch';
obj["lucht-temperatuursensor"]	= 'air temperature sensor';
obj["Hall-sensor"]	= 'Hall sensor';
obj["lucht-massameter"]	= 'mass air flow meter';
obj["lambda-sensor"]	= 'oxygen sensor';
obj["snelheidssensor"]	= 'speed sensor';
obj["inductieve sensor"]	= 'magnetic pickup';
obj["motor-temperatuursensor"]	= 'coolant temperature sensor';
obj["gasklep-positiesensor"]	= 'throttle position sensor';
obj["zekering single dual lamps"] = 'fuse "single dual lamps"';
obj["zekering p./window"]	= 'fuse "p./window"';
obj["zekering stop lamp"] 	= 'fuse "stop lamp"';
obj["zekering horn f./fog"] 	= 'fuse "horn f./fog"';
obj["zekering ABS 50A"]		= 'fuse "ABS 50A"';
obj["zekering defog"]		= 'fuse "defog"';
obj["zekering seat driv."]	= 'fuse "seat driv."';
obj["zekering seat pass."]	= 'fuse "seat pass."';
obj["zekering ABS 10A"]		= 'fuse "ABS 10A"';
obj["zekering lambda fuel"]	= 'fuse "lambda fuel"';
obj["zekering injectors"]	= 'fuse "injectors"';
obj["zekering ign."]		= 'fuse "ign."';
obj["zekering rad. fan"]	= 'fuse "rad. fan"';
obj["connector injector 1"]	= 'connector injector 1';
obj["connector injector 2"]	= 'connector injector 2';
obj["connector injector 3"]	= 'connector injector 3';
obj["connector injector 4"]	= 'connector injector 4';
obj["connector bougiekabel 1"]	= 'connector ignition cable 1';
obj["connector bougiekabel 2"]	= 'connector ignition cable 2';
obj["connector bougiekabel 3"]	= 'connector ignition cable 3';
obj["connector bougiekabel 4"]	= 'connector ignition cable 4';
obj["connector bougie 1"]	= 'connector spark plug 1';
obj["connector bougie 2"]	= 'connector spark plug 2';
obj["connector bougie 3"]	= 'connector spark plug 3';
obj["connector bougie 4"]	= 'connector spark plug 4';
obj["connector contactslot"]	= 'connector ignition switch';
obj["connector accu min"]	= 'battery clamp ground side';
obj["connector accu plus"]	= 'battery clamp positive side';
obj["connector ventilatorrelais"] = 'connector fan relay';
obj["connector pomprelais"]	= 'connector pump relay';
obj["connector hoofdrelais"]	= 'connector main relay';
obj["connector regeleenheid"]	= 'connector control unit';
obj["connector ventilator"]	= 'connector fan';
obj["connector bobine 1"]	= 'connector ignition coil 1';
obj["connector bobine 2"]	= 'connector ignition coil 2';
obj["connector tank-ventilatieklep"]= 'connector purge solenoid';
obj["connector brandstofpomp"]	= 'connector fuel pump';
obj["connector stationair klep"]= 'connector idle valve';
obj["connector bots-schakelaar"]= 'connector inertia switch';
obj["connector lucht-temperatuursensor"]= 'connector air temperature sensor';
obj["connector Hall-sensor"]	= 'connector Hall-sensor';
obj["connector lucht-massameter"]= 'connector mass airflow meter';
obj["connector lambda-sensor"]	= 'connector oxygen sensor';
obj["connector snelheidssensor"]= 'connector speed sensor';
obj["connector inductieve sensor"]= 'connector magnetic pickup';
obj["connector motor-temperatuursensor"]= 'connector coolant temperature sensor';
obj["connector gasklep-positiesensor"]= 'connector throttle position sensor';
obj["drukmeter"] 		= 'pressure meter';
obj["extra pomp"] 		= 'spare pump';
obj["galerij"]			= 'fuel rail';
obj["inlaatspruitstuk"]		= 'intake manifold';
obj["kap connector regeleenheid"]= 'connector control unit';
obj["tank"]			= 'fuel tank';
obj["testbougie"]		= 'test spark plug';
obj["starthulp"]		= 'jump starter';
obj["cilinder 1"]		= 'cylinder 1';
obj["cilinder 2"]		= 'cylinder 2';
obj["cilinder 3"]		= 'cylinder 3';
obj["cilinder 4"]		= 'cylinder 4';
obj["accessoire"]		= 'accessory';
obj["start"]			= 'start';
obj["contact"]			= 'ignition';
obj["uit"]			= 'off';

 

/******************************************************************************
  filters
******************************************************************************/
var filter = {
	1 : '(dis)connecting connectors, hoses, etc.',
	2 : '(dis)connecting test leads and wires',
	3 : 'turning ignition key and moving the accelerator pedal',
	4 : 'changing multimeter settings',
	5 : 'installing and removing tools from bottom left',
	6 : '(dis)assemble',
	7 : 'cut',
	8 : 'tap',
	9 : 'listen',
	10 : 'clean',
	11 : 'push',
	12 : 'fill up',
	13 : 'replace',
	14 : 'diagnosis wizard',
	0 : 'damage'
};

var storingen = {};
storingen[200] = {name:'no failure'};
storingen[201] = {name:'battery clamp - contact resistance'};
storingen[202] = {name:'ignition switch - interruption in power supply'};
storingen[203] = {name:'battery - faulty'};
storingen[204] = {name:'control unit - switched power supply'};
storingen[205] = {name:'control unit - permanent power supply'};
storingen[206] = {name:'main relay - interruption in power supply'};
storingen[207] = {name:'main relay - interruption in output'};
storingen[208] = {name:'fuel pump relay - interruption in output'};
storingen[209] = {name:'fuel pump - resistance in ground'};
storingen[210] = {name:'inertia switch - no power supply'};
storingen[211] = {name:'control unit - resistance in ground'};
storingen[212] = {name:'control unit - resistance in ground 2'};
storingen[213] = {name:'radiator fan - resistance in ground'};
storingen[214] = {name:'radiator fan - short-circuit in power supply'};
storingen[215] = {name:'relay radiator fan - contact resistance'};
storingen[216] = {name:'relay radiator fan - is sticky'};
storingen[217] = {name:'relay radiator fan - interruption'};
storingen[218] = {name:'ignition cables - installed incorrectly'};
storingen[219] = {name:'throttle position sensor - resistance in ground'};
storingen[220] = {name:'ignition cable 1 - interrupted'};
storingen[221] = {name:'ignition cable 4 - interrupted'};
storingen[222] = {name:'ignition cable 2 - interrupted'};
storingen[223] = {name:'ignition cable 3 - interrupted'};
storingen[224] = {name:'purge solenoid - short-circuited'};
storingen[225] = {name:'idle valve - short-circuit in output'};
storingen[226] = {name:'idle valve - resistance in power supply'};
storingen[227] = {name:'injector 2 - broken supply circuit'};
storingen[228] = {name:'injector 1 - broken supply circuit'};
storingen[229] = {name:'injector 3 - broken supply circuit'};
storingen[230] = {name:'injector 4 - broken supply circuit'};
storingen[231] = {name:'ignition coil 1 - primary interruption'};
storingen[232] = {name:'ignition coil 2 - primary interruption'};
storingen[233] = {name:'ignition coil 1 - power supply interrupted'};
storingen[234] = {name:'ignition coil 2 - power supply interrupted'};
storingen[235] = {name:'ignition coil 1 - trigger interrupted'};
storingen[236] = {name:'ignition coil 2 - trigger interrupted'};
storingen[237] = {name:'ignition coil 1 - secundary interruption'};
storingen[238] = {name:'ignition coil 2 - secundary interruption'};
storingen[239] = {name:'injector 1 - contact resistance connector'};
storingen[240] = {name:'injector 2 - contact resistance connector'};
storingen[241] = {name:'injector 3 - contact resistance connector'};
storingen[242] = {name:'injector 4 - contact resistance connector'};
storingen[243] = {name:'injector 1 - trigger interrupted'};
storingen[244] = {name:'injector 2 - trigger interrupted'};
storingen[245] = {name:'injector 3 - trigger interrupted'};
storingen[246] = {name:'injector 4 - trigger interrupted'};
storingen[247] = {name:'injector 1 - interrupted'};
storingen[248] = {name:'injector 2 - interrupted'};
storingen[249] = {name:'injector 3 - interrupted'};
storingen[250] = {name:'injector 4 - interrupted'};
storingen[300] = {name:'inertia switch - resistance too high'};
storingen[301] = {name:'injector 1 - resistance too high'};
storingen[302] = {name:'injector 2 - resistance too high'};
storingen[303] = {name:'injector 3 - resistance too high'};
storingen[304] = {name:'injector 4 - resistance too high'};
storingen[305] = {name:'fuel filter - clogged'};
storingen[306] = {name:'magnetic pickup - faulty'};
storingen[307] = {name:'control unit - transistor main relay'};
storingen[308] = {name:'fuel pump - resistance in ground'};
storingen[400] = {name:'injectors - supply'};
storingen[401] = {name:'ignition coil 1 - arc over'};
storingen[402] = {name:'ignition coil 2 - arc over'};
storingen[403] = {name:'idle valve - resistance too high'};
storingen[404] = {name:'wiring - purge solenoid and idle valve'};
storingen[405] = {name:'ignition coil 1 - primary resistance too high'};
storingen[406] = {name:'ignition coil 2 - primary resistance too high'};
storingen[407] = {name:'wiring - short-circuit injector 1 and 2'};
storingen[408] = {name:'control unit - AD converter coolant temperature'};
storingen[409] = {name:'throttle position sensor - faulty'};
storingen[410] = {name:'Hall sensor - faulty'};
