$(document).ready(function()
{
	step = 0;
	
	flows = new Array(8);
	flows[0] = 'Farmer';
	flows[1] = 'Handyman';
	flows[2] = 'Builder';
	flows[3] = 'Motor Mechanic';
	flows[4] = 'Panel Beater';
	flows[5] = 'Manufacturing';
	flows[6] = 'Tyre Industry';
	flows[7] = 'Car Wash';
	
	productflow = new Array();
	productflow['Farmer'] = 4;
	productflow['Handyman'] = 4;
	productflow['Builder'] = 5;
	productflow['Motor Mechanic'] = 6;
	productflow['Panel Beater'] = 6;
	productflow['Manufacturing'] = 6;
	productflow['Tyre Industry'] = 7;
	productflow['Car Wash'] = 5;
				
	sel = new Array(6);		
	fdata = new Array();
	level = new Array();
	notes = new Array();
		
	level['Farmer'] = Array(4);
	level['Farmer'][2] = Array('Power Supply');	
	level['Farmer'][3] = Array('Usage Frequency');
	fdata['Farmer'] = Array('Electric','Petrol','Diesel');
	fdata['Farmer']['Electric'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Farmer']['Petrol'] = Array('Intermittent','Constant','Full Industrial');	
	fdata['Farmer']['Diesel'] = Array('Intermittent','Constant','Full Industrial');	

	fdata['Farmer']['Electric']['Intermittent'] = Array('00334','00091','00257');
	fdata['Farmer']['Electric']['Constant'] = Array('00087','00100','00093');
	fdata['Farmer']['Electric']['Full Industrial'] = Array('00089', '00093', '00555');
	fdata['Farmer']['Petrol']['Intermittent'] = Array('00101','00128');
	fdata['Farmer']['Petrol']['Constant'] = Array('00561','00095');
	fdata['Farmer']['Petrol']['Full Industrial'] = Array('00095','00099');
	fdata['Farmer']['Diesel']['Intermittent'] = Array('00381','00111');
	fdata['Farmer']['Diesel']['Constant'] = Array('00566','00094');
	fdata['Farmer']['Diesel']['Full Industrial'] = Array('00094','00097');
	
	
	notes['Farmer-Electric-Intermittent'] = 'Important: please check power supply at power point if selecting a 15amp compressor as in most farming areas power can drop greatly. If power is under 230volts it will cause damage to motor. Check power at peak times. If wanting to use on a generator you need 3KVA to every 1HP of electric motor. I.E 3hp motor needs 9KVA generator.';
	notes['Farmer-Electric-Constant'] = 'Important:  If you have selected a P17 15amp compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose. In some instances a petrol machine is your only option. If wanting to use on a generator you need 3KVA to every 1HP of electric motor. I.E 3hp motor needs 9KVA generator.';
	notes['Farmer-Electric-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter get blocked your pump will fail. If wanting to use on a generator you need 3KVA to every 1HP of electric motor. I.E 3hp motor needs 9KVA generator.';	

	notes['Farmer-Petrol-Intermittent'] = 'We can manufacture to your design plus there are other standard designs for each model';
	notes['Farmer-Petrol-Constant'] = 'We can manufacture to your design plus there are other standard designs for each model';
	notes['Farmer-Petrol-Full Industrial'] = 'We can manufacture to your design plus there are other standard designs for each model';
	
	level['Handyman'] = Array(4);	
	level['Handyman'][2] = Array('Drive');		
	level['Handyman'][3] = Array('Usage Frequency');			
	fdata['Handyman'] = Array('Direct','Belt');
	fdata['Handyman']['Direct'] = Array('Intermittent','Constant');
	fdata['Handyman']['Belt'] = Array('Intermittent','Constant');			

	fdata['Handyman']['Direct']['Intermittent'] = Array('00342','00332');
	fdata['Handyman']['Direct']['Constant'] = Array('00333','00083');
	fdata['Handyman']['Belt']['Intermittent'] = Array('00334','00091','00257');
	fdata['Handyman']['Belt']['Constant'] = Array('00257','00087');
	           
	notes['Handyman-Direct-Intermittent'] = 'Important: please note air compressors i.e piston type are not designed to run continuously they must cut in and out. Direct drive models should only have up to a 40-50% duty cycle. Belt Drive hobby models 60-70% and full industrial belt drive models 75-85%. If compressor runs over these duty cycles it could cause failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose.';
	notes['Handyman-Direct-Constant'] = 'Important: please note air compressors i.e piston type are not designed to run continuously they must cut in and out. Direct drive models should only have up to a 40-50% duty cycle. Belt Drive hobby models 60-70% and full industrial belt drive models 75-85%. If compressor runs over these duty cycles it could cause failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose.';

	notes['Handyman-Belt-Intermittent'] = 'Important: please note air compressors i.e piston type are not designed to run continuously they must cut in and out. Direct drive models should only have up to a 40-50% duty cycle. Belt Drive hobby models 60-70% and full industrial belt drive models 75-85%. If compressor runs over these duty cycles it could cause failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose.';
	notes['Handyman-Belt-Constant'] = 'Important:  If you have selected a P17 15amp compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose. In some instances a petrol machine is your only option.';
		
	level['Builder'] = Array(5);
	level['Builder'][2] = Array('Tool Type');		
	level['Builder'][3] = Array('Drive');		
	level['Builder'][4] = Array('Usage Frequency');			

	fdata['Builder'] = Array('Staple/Fixing','Framing','Coil');
	
	fdata['Builder']['Staple/Fixing'] = Array('Direct','Belt');
	fdata['Builder']['Staple/Fixing']['Direct'] = Array('Intermittent','Constant');	
	fdata['Builder']['Staple/Fixing']['Belt'] = Array('Constant');
	fdata['Builder']['Framing'] = Array('Direct','Belt');
	fdata['Builder']['Framing']['Direct'] = Array('Intermittent');
	fdata['Builder']['Framing']['Belt'] = Array('Constant');

	fdata['Builder']['Coil'] = Array('Direct','Belt');
	fdata['Builder']['Coil']['Direct'] = Array('Intermittent');	
	fdata['Builder']['Coil']['Belt'] = Array('Intermittent','Constant');

	fdata['Builder']['Staple/Fixing']['Direct']['Intermittent'] = Array('00342', '00332');
	fdata['Builder']['Staple/Fixing']['Direct']['Constant'] = Array('00333', '00083');	
	fdata['Builder']['Staple/Fixing']['Belt']['Constant'] = Array('00334','00091','00257');	
	
	fdata['Builder']['Framing']['Direct']['Intermittent'] = Array('00333','00083');
	fdata['Builder']['Framing']['Belt']['Constant'] = Array('00334', '00091','00257');
	
	fdata['Builder']['Coil']['Direct']['Intermittent'] = Array('00083', '00333');
	fdata['Builder']['Coil']['Belt']['Intermittent'] = Array('00334', '00091','00257');
	fdata['Builder']['Coil']['Belt']['Constant'] = Array('00087','00128');

	notes['Builder-Staple/Fixing-Direct-Intermittent'] = 'Important: please note air compressors i.e piston type are not designed to run continuously they must cut in and out. Direct drive models should only have up to a 40-50% duty cycle. Belt Drive hobby models 60-70% and full industrial belt drive models 75-85%. If compressor runs over these duty cycles it could cause failure. Important - first check voltage on each building site as low voltage will cause motor to fail on all compressors. Must have better than 230 volt at peak times. Extension leads will cause voltage drop, its better to use extra air hose.';
	notes['Builder-Staple/Fixing-Direct-Constant'] = 'Important: please note air compressors i.e piston type are not designed to run continuously they must cut in and out. Direct drive models should only have up to a 40-50% duty cycle. Belt Drive hobby models 60-70% and full industrial belt drive models 75-85%. If compressor runs over these duty cycles it could cause failure. Important - first check voltage on each building site as low voltage will cause motor to fail on all compressors. Must have better than 230 volt at peak times. Extension leads will cause voltage drop, its better to use extra air hose.';
	notes['Builder-Staple/Fixing-Belt-Constant'] = 'Important: please note air compressors i.e piston type are not designed to run continuously they must cut in and out. Direct drive models should only have up to a 40-50% duty cycle. Belt Drive hobby models 60-70% and full industrial belt drive models 75-85%. If compressor runs over these duty cycles it could cause failure. Important - first check voltage on each building site as low voltage will cause motor to fail on all compressors. Must have better than 230 volt at peak times. Extension leads will cause voltage drop, its better to use extra air hose.';

	notes['Builder-Framing-Direct-Intermittent'] = 'Important: please note air compressors i.e piston type are not designed to run continuously they must cut in and out. Direct drive models should only have up to a 40-50% duty cycle. Belt Drive hobby models 60-70% and full industrial belt drive models 75-85%. If compressor runs over these duty cycles it could cause failure. Important - first check voltage on each building site as low voltage will cause motor to fail on all compressors. Must have better than 230 volt at peak times. Extension leads will cause voltage drop, its better to use extra air hose.';
	notes['Builder-Framing-Belt-Constant'] = 'Important: please note air compressors i.e piston type are not designed to run continuously they must cut in and out. Direct drive models should only have up to a 40-50% duty cycle. Belt Drive hobby models 60-70% and full industrial belt drive models 75-85%. If compressor runs over these duty cycles it could cause failure. Important - first check voltage on each building site as low voltage will cause motor to fail on all compressors. Must have better than 230 volt at peak times. Extension leads will cause voltage drop, its better to use extra air hose.';
	
	notes['Builder-Coil-Direct-Intermittent'] = 'Important: please note if using coil nailer for fencing or flooring and are running guns continuously you should have a P17. Direct Drive compressors will only run coil nailers for intermittent use. Important - first check voltage on each building site as low voltage will cause motor to fail on all compressors. Must have better than 230 volt at peak times. Extension leads will cause voltage drop, its better to use extra air hose.';
	notes['Builder-Coil-Belt-Intermittent'] = 'Important: please note if using coil nailer for fencing or flooring and are running guns continuously you should have a P17. Direct Drive compressors will only run coil nailers for intermittent use. Important - first check voltage on each building site as low voltage will cause motor to fail on all compressors. Must have better than 230 volt at peak times. Extension leads will cause voltage drop, its better to use extra air hose.';
	notes['Builder-Coil-Belt-Constant'] = 'Important:  If you have selected a P17 15amp compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Important - first check voltage on each building site as low voltage will cause motor to fail on all compressors. Must have better than 230 volt at peak times. Extension leads will cause voltage drop, its better to use extra air hose.';
	
	level['Motor Mechanic'] = Array(6);
	level['Motor Mechanic'][2] = Array('Environment');		
	level['Motor Mechanic'][3] = Array('Power');		
	level['Motor Mechanic'][4] = Array('Concurrent Users');
	level['Motor Mechanic'][5] = Array('Usage Frequency');
           
	fdata['Motor Mechanic'] = Array('Workshop','Mobile');
	fdata['Motor Mechanic']['Workshop'] = Array('Single Phase','Three Phase');
	fdata['Motor Mechanic']['Workshop']['Single Phase'] = Array('1-2');
	fdata['Motor Mechanic']['Workshop']['Single Phase']['1-2'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Motor Mechanic']['Workshop']['Three Phase'] = Array('1-2','3-4','5+');
	fdata['Motor Mechanic']['Workshop']['Three Phase']['1-2'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Motor Mechanic']['Workshop']['Three Phase']['3-4'] = Array('Intermittent','Constant','Full Industrial');	
	fdata['Motor Mechanic']['Workshop']['Three Phase']['5+'] = Array('Intermittent','Constant','Full Industrial');
	
	fdata['Motor Mechanic']['Mobile'] = Array('Petrol','Diesel');
	fdata['Motor Mechanic']['Mobile']['Diesel'] = Array('1-3');
	fdata['Motor Mechanic']['Mobile']['Diesel']['1-3'] = Array('Constant','Full Industrial');
	fdata['Motor Mechanic']['Mobile']['Petrol'] = Array('1-3');
	fdata['Motor Mechanic']['Mobile']['Petrol']['1-3'] = Array('Constant','Full Industrial');

	fdata['Motor Mechanic']['Workshop']['Single Phase']['1-2']['Intermittent'] = Array('00257','00087');
	fdata['Motor Mechanic']['Workshop']['Single Phase']['1-2']['Constant'] = Array('00087','00100','00089');
	fdata['Motor Mechanic']['Workshop']['Single Phase']['1-2']['Full Industrial'] = Array('00089','00093');
	fdata['Motor Mechanic']['Workshop']['Three Phase']['1-2']['Intermittent'] = Array('00125','00555');
	fdata['Motor Mechanic']['Workshop']['Three Phase']['1-2']['Constant'] = Array('00070','00071');
	fdata['Motor Mechanic']['Workshop']['Three Phase']['1-2']['Full Industrial'] = Array('00071', '00120');		
	fdata['Motor Mechanic']['Workshop']['Three Phase']['3-4']['Intermittent'] = Array('00070','00071');
	fdata['Motor Mechanic']['Workshop']['Three Phase']['3-4']['Constant'] = Array('00071','00120');
	fdata['Motor Mechanic']['Workshop']['Three Phase']['3-4']['Full Industrial'] = Array('00120', '00121');	
	fdata['Motor Mechanic']['Workshop']['Three Phase']['5+']['Intermittent'] = Array('00120','00121');
	fdata['Motor Mechanic']['Workshop']['Three Phase']['5+']['Constant'] = Array('00121', '00123');
	fdata['Motor Mechanic']['Workshop']['Three Phase']['5+']['Full Industrial'] = Array('00123','00124');	
	
	fdata['Motor Mechanic']['Mobile']['Diesel']['1-3']['Constant'] = Array('00381', '00111', '00566');
	fdata['Motor Mechanic']['Mobile']['Diesel']['1-3']['Full Industrial'] = Array('00094','00097');	
	fdata['Motor Mechanic']['Mobile']['Petrol']['1-3']['Constant'] = Array('00128','00101', '00561');
	fdata['Motor Mechanic']['Mobile']['Petrol']['1-3']['Full Industrial'] = Array('00561','00095','00099');


	notes['Motor Mechanic-Workshop-Single Phase-1-2-Intermittent'] = 'Important: if you have selected a P17 15amp compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose. In some instances a petrol machine is your only option.';
	notes['Motor Mechanic-Workshop-Single Phase-1-2-Constant'] = 'Important: if you have selected a P17 15amp compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose. In some instances a petrol machine is your only option.';
	notes['Motor Mechanic-Workshop-Single Phase-1-2-Full Industrial'] = 'Important: if you have selected a three phase compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose. In some instances a petrol machine is your only option.';

	notes['Motor Mechanic-Workshop-Three Phase-1-2-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Motor Mechanic-Workshop-Three Phase-1-2-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Motor Mechanic-Workshop-Three Phase-1-2-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Motor Mechanic-Workshop-Three Phase-3-4-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Motor Mechanic-Workshop-Three Phase-3-4-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Motor Mechanic-Workshop-Three Phase-3-4-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';	
	notes['Motor Mechanic-Workshop-Three Phase-5+-Intermittent'] = 'Important: if you are using a lot of air you should consider a screw compressor as they are designed to run continuously also your service cost will be lower and the life of the compressor will be much longer, The average workshop compressor does around 1500kms per week if you compare it to a motor car. when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Motor Mechanic-Workshop-Three Phase-5+-Constant'] = 'Important: if you are using a lot of air you should consider a screw compressor as they are designed to run continuously also your service cost will be lower and the life of the compressor will be much longer, The average workshop compressor does around 1500kms per week if you compare it to a motor car. when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Motor Mechanic-Workshop-Three Phase-5+-Full Industrial'] = 'Important: if you are using a lot of air you should consider a screw compressor as they are designed to run continuously also your service cost will be lower and the life of the compressor will be much longer, The average workshop compressor does around 1500kms per week if you compare it to a motor car. when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	

	level['Panel Beater'] = Array(6);
	level['Panel Beater'][2] = Array('Power');		
	level['Panel Beater'][3] = Array('Compressor');		
	level['Panel Beater'][4] = Array('Concurrent Users');
	level['Panel Beater'][5] = Array('Usage Frequency');	
	fdata['Panel Beater'] = Array('Single Phase','Three Phase');
	fdata['Panel Beater']['Single Phase'] = Array('Belt Drive');
	fdata['Panel Beater']['Single Phase']['Belt Drive'] = Array('1-2');
	fdata['Panel Beater']['Single Phase']['Belt Drive']['1-2'] = Array('Intermittent','Constant');
	fdata['Panel Beater']['Three Phase'] = Array('Piston','Screw');
	fdata['Panel Beater']['Three Phase']['Piston'] = Array('1-2','3-4','5+');
	fdata['Panel Beater']['Three Phase']['Piston']['1-2'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Panel Beater']['Three Phase']['Piston']['3-4'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Panel Beater']['Three Phase']['Piston']['5+'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Panel Beater']['Three Phase']['Screw'] = Array('1-2','3-4','5+');
	fdata['Panel Beater']['Three Phase']['Screw']['1-2'] = Array('Constant','Full Industrial');
	fdata['Panel Beater']['Three Phase']['Screw']['3-4'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Panel Beater']['Three Phase']['Screw']['5+'] = Array('Intermittent','Constant','Full Industrial');
	
	fdata['Panel Beater']['Single Phase']['Belt Drive']['1-2']['Intermittent'] = Array('00257','00087');
	fdata['Panel Beater']['Single Phase']['Belt Drive']['1-2']['Constant'] = Array('00087','00089','00093');	

	fdata['Panel Beater']['Three Phase']['Piston']['1-2']['Intermittent'] = Array('00125','00555');
	fdata['Panel Beater']['Three Phase']['Piston']['1-2']['Constant'] = Array('00555','00070');
	fdata['Panel Beater']['Three Phase']['Piston']['1-2']['Full Industrial'] = Array('00071','00120');
	fdata['Panel Beater']['Three Phase']['Piston']['3-4']['Intermittent'] = Array('00070','00071');
	fdata['Panel Beater']['Three Phase']['Piston']['3-4']['Constant'] = Array('00071','00120');
	fdata['Panel Beater']['Three Phase']['Piston']['3-4']['Full Industrial'] =Array('00120', '00121');
	fdata['Panel Beater']['Three Phase']['Piston']['5+']['Intermittent'] = Array('00071','00120','00122');
	fdata['Panel Beater']['Three Phase']['Piston']['5+']['Constant'] = Array('00120','00121');
	fdata['Panel Beater']['Three Phase']['Piston']['5+']['Full Industrial'] = Array('00120','00121','00123');
	fdata['Panel Beater']['Three Phase']['Screw']['1-2']['Constant'] = Array('00122','00123'); 
	fdata['Panel Beater']['Three Phase']['Screw']['1-2']['Full Industrial'] = Array('00123','00124');
	fdata['Panel Beater']['Three Phase']['Screw']['3-4']['Intermittent'] = Array('00123');
	fdata['Panel Beater']['Three Phase']['Screw']['3-4']['Constant'] = Array('00123','00124');
	fdata['Panel Beater']['Three Phase']['Screw']['3-4']['Full Industrial'] = Array('00124','00119');
	fdata['Panel Beater']['Three Phase']['Screw']['5+']['Intermittent'] = Array('00123','00124');
	fdata['Panel Beater']['Three Phase']['Screw']['5+']['Constant'] = Array('00124','00119');
	fdata['Panel Beater']['Three Phase']['Screw']['5+']['Full Industrial'] = Array('00119');

	notes['Panel Beater-Single Phase-Belt Drive-1-2-Intermittent'] = 'Important: Please note if you are going to use a air sander, or polisher we recommend you choose a P17 please have your power supply checked and power points at peak times. The is a 15amp compressor and must have no voltage drop to unit otherwise motor may fail.<br />Important:  If you have selected a P17 15amp compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose. In some instances a petrol machine is your only option.';
	notes['Panel Beater-Single Phase-Belt Drive-1-2-Constant'] = 'Important: Please note if you are going to use a air sander, or polisher we recommend you choose a P17 please have your power supply checked and power points at peak times. The is a 15amp compressor and must have no voltage drop to unit otherwise motor may fail.';
	notes['Panel Beater-Three Phase-Screw-1-2-Constant'] = 'Contact Peerless for more information before ordering.';

	notes['Panel Beater-Three Phase-Piston-1-2-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Panel Beater-Three Phase-Piston-1-2-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Panel Beater-Three Phase-Piston-1-2-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Panel Beater-Three Phase-Piston-3-4-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Panel Beater-Three Phase-Piston-3-4-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Panel Beater-Three Phase-Piston-3-4-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';	
	notes['Panel Beater-Three Phase-Piston-5+-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';	
	notes['Panel Beater-Three Phase-Piston-5+-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Panel Beater-Three Phase-Piston-5+-Full Industrial'] = 'Important: if you are using a lot of air you should consider a screw compressor as they are designed to run continuously also your service cost will be lower and the life of the compressor will be much longer, The average workshop compressor does around 1500kms per week if you compare it to a motor car. when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';	
		
	level['Manufacturing'] = Array(6);
	level['Manufacturing'][2] = Array('Power');		
	level['Manufacturing'][3] = Array('Compressor');		
	level['Manufacturing'][4] = Array('Concurrent Users');
	level['Manufacturing'][5] = Array('Usage Frequency');	
	fdata['Manufacturing'] = Array('Single Phase','Three Phase');
	fdata['Manufacturing']['Single Phase'] = Array('Belt Drive');
	fdata['Manufacturing']['Single Phase']['Belt Drive'] = Array('1-2');
	fdata['Manufacturing']['Single Phase']['Belt Drive']['1-2'] = Array('Intermittent','Constant');
	fdata['Manufacturing']['Three Phase'] = Array('Piston','Screw');
	fdata['Manufacturing']['Three Phase']['Piston'] = Array('1-2','3-4','5+');
	fdata['Manufacturing']['Three Phase']['Piston']['1-2'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Manufacturing']['Three Phase']['Piston']['3-4'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Manufacturing']['Three Phase']['Piston']['5+'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Manufacturing']['Three Phase']['Screw'] = Array('1-2','3-4','5+');
	fdata['Manufacturing']['Three Phase']['Screw']['1-2'] = Array('Constant','Full Industrial');
	fdata['Manufacturing']['Three Phase']['Screw']['3-4'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Manufacturing']['Three Phase']['Screw']['5+'] = Array('Intermittent','Constant','Full Industrial');
	
	fdata['Manufacturing']['Single Phase']['Belt Drive']['1-2']['Intermittent'] = Array('00257','00087');
	fdata['Manufacturing']['Single Phase']['Belt Drive']['1-2']['Constant'] = Array('00087','00089','00093');	

	fdata['Manufacturing']['Three Phase']['Piston']['1-2']['Intermittent'] = Array('00125','00555');
	fdata['Manufacturing']['Three Phase']['Piston']['1-2']['Constant'] = Array('00555','00070');
	fdata['Manufacturing']['Three Phase']['Piston']['1-2']['Full Industrial'] = Array('00071','00120');
	fdata['Manufacturing']['Three Phase']['Piston']['3-4']['Intermittent'] = Array('00070','00071');
	fdata['Manufacturing']['Three Phase']['Piston']['3-4']['Constant'] = Array('00071','00120');
	fdata['Manufacturing']['Three Phase']['Piston']['3-4']['Full Industrial'] =Array('00120', '00121');
	fdata['Manufacturing']['Three Phase']['Piston']['5+']['Intermittent'] = Array('00071','00120');
	fdata['Manufacturing']['Three Phase']['Piston']['5+']['Constant'] = Array('00120','00121');
	fdata['Manufacturing']['Three Phase']['Piston']['5+']['Full Industrial'] = Array('00120','00123');
	fdata['Manufacturing']['Three Phase']['Screw']['1-2']['Constant'] = Array('00123'); 
	fdata['Manufacturing']['Three Phase']['Screw']['1-2']['Full Industrial'] = Array('00123','00124');
	fdata['Manufacturing']['Three Phase']['Screw']['3-4']['Intermittent'] = Array('00122','00123');
	fdata['Manufacturing']['Three Phase']['Screw']['3-4']['Constant'] = Array('00123','00124');
	fdata['Manufacturing']['Three Phase']['Screw']['3-4']['Full Industrial'] = Array('00124','00119');
	fdata['Manufacturing']['Three Phase']['Screw']['5+']['Intermittent'] = Array('00123','00124');
	fdata['Manufacturing']['Three Phase']['Screw']['5+']['Constant'] = Array('00124','00119');
	fdata['Manufacturing']['Three Phase']['Screw']['5+']['Full Industrial'] = Array('00119');


		
	notes['Manufacturing-Single Phase-Belt Drive-1-2-Intermittent'] = 'Important: Please note if you are going to use a air sander, or polisher we recommend you choose a P17 please have your power supply checked and power points at peak times. The is a 15amp compressor and must have no voltage drop to unit otherwise motor may fail.<br />Important:  If you have selected a P17 15amp compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose. In some instances a petrol machine is your only option.';
	notes['Manufacturing-Single Phase-Belt Drive-1-2-Constant'] = 'Important: Please note if you are going to use a air sander, or polisher we recommend you choose a P17 please have your power supply checked and power points at peak times. The is a 15amp compressor and must have no voltage drop to unit otherwise motor may fail.';

	notes['Manufacturing-Three Phase-Piston-1-2-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Piston-1-2-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Piston-1-2-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Piston-3-4-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Piston-3-4-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Piston-3-4-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';	
	notes['Manufacturing-Three Phase-Piston-5+-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Piston-5+-Full Industrial'] = 'Important: if you are using a lot of air you should consider a screw compressor as they are designed to run continuously also your service cost will be lower and the life of the compressor will be much longer, The average workshop compressor does around 1500kms per week if you compare it to a motor car. when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';	

	notes['Manufacturing-Three Phase-Screw-1-2-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Screw-1-2-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail. Contact Peerless for more information before ordering.';
	notes['Manufacturing-Three Phase-Screw-1-2-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Screw-3-4-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Screw-3-4-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Screw-3-4-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';	
	notes['Manufacturing-Three Phase-Screw-5+-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Manufacturing-Three Phase-Screw-5+-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail. If higher air usage is required, please contact Peerless for more information.';	


	level['Tyre Industry'] = Array(7);
	level['Tyre Industry'][2] = Array('Environment');		
	level['Tyre Industry'][3] = Array('Power');		
	level['Tyre Industry'][4] = Array('Compressor Type');
	level['Tyre Industry'][5] = Array('Concurrent Users');
	level['Tyre Industry'][6] = Array('Usage Frequency');

	fdata['Tyre Industry'] = Array('Workshop','Mobile');
	fdata['Tyre Industry']['Workshop'] = Array('Single Phase','Three Phase');
	fdata['Tyre Industry']['Workshop']['Single Phase'] = Array('Belt Drive');
	fdata['Tyre Industry']['Workshop']['Single Phase']['Belt Drive'] = Array('1-2');
	fdata['Tyre Industry']['Workshop']['Single Phase']['Belt Drive']['1-2'] = Array('Intermittent','Constant');
	fdata['Tyre Industry']['Workshop']['Three Phase'] = Array('Piston','Screw');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston'] = Array('1-2','3-4','5+');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['1-2'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['3-4'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['5+'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw'] = Array('1-2','3-4','5+');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['1-2'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['3-4'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['5+'] = Array('Intermittent','Constant','Full Industrial');
	fdata['Tyre Industry']['Mobile'] = Array('Petrol','Diesel');
	fdata['Tyre Industry']['Mobile']['Petrol'] = Array('Industrial');
	fdata['Tyre Industry']['Mobile']['Petrol']['Industrial'] = Array('1-3');
	fdata['Tyre Industry']['Mobile']['Petrol']['Industrial']['1-3'] = Array('Constant','Full Industrial');
	fdata['Tyre Industry']['Mobile']['Diesel'] = Array('Diesel Compressor');
	fdata['Tyre Industry']['Mobile']['Diesel']['Diesel Compressor'] = Array('1-3');
	fdata['Tyre Industry']['Mobile']['Diesel']['Diesel Compressor']['1-3'] = Array('Constant','Full Industrial');

	fdata['Tyre Industry']['Workshop']['Single Phase']['Belt Drive']['1-2']['Intermittent'] = Array('00087','00100');
	fdata['Tyre Industry']['Workshop']['Single Phase']['Belt Drive']['1-2']['Constant'] = Array('00089','00093');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['1-2']['Intermittent'] = Array('00125','00555','00070');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['1-2']['Constant'] = Array('00070','00071');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['1-2']['Full Industrial'] = Array('00071','00120');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['3-4']['Intermittent'] = Array('00070','00071');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['3-4']['Constant'] = Array('00071','00120');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['3-4']['Full Industrial'] = Array('00120','00121');	
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['5+']['Intermittent'] = Array('00071','00120');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['5+']['Constant'] = Array('00120','00121');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Piston']['5+']['Full Industrial'] = Array('00121','00123');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['1-2']['Intermittent'] = Array('00122');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['1-2']['Constant'] = Array('00123');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['1-2']['Full Industrial'] = Array('00123','00124');	
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['3-4']['Intermittent'] = Array('00123','00124');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['3-4']['Constant'] = Array('00123','00124');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['3-4']['Full Industrial'] = Array('00124','00119');	
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['5+']['Intermittent'] = Array('00123','00124');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['5+']['Constant'] = Array('00123','00124');
	fdata['Tyre Industry']['Workshop']['Three Phase']['Screw']['5+']['Full Industrial'] = Array('00124','00119');	

	fdata['Tyre Industry']['Mobile']['Petrol']['Industrial']['1-3']['Constant'] = Array('00128','00101','00561');
	fdata['Tyre Industry']['Mobile']['Petrol']['Industrial']['1-3']['Full Industrial'] = Array('00095','00099');
	fdata['Tyre Industry']['Mobile']['Diesel']['Diesel Compressor']['1-3']['Constant'] = Array('00381','00111','00566');
	fdata['Tyre Industry']['Mobile']['Diesel']['Diesel Compressor']['1-3']['Full Industrial'] = Array('00094','00097');		

	notes['Tyre Industry-Workshop-Single Phase-Belt Drive-1-2-Intermittent'] = 'Important:  If you have selected a P17 15amp compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose. In some instances a petrol machine is your only option.';

	notes['Tyre Industry-Workshop-Three Phase-Piston-1-2-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Piston-1-2-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Piston-1-2-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Piston-3-4-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Piston-3-4-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Piston-3-4-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';	
	notes['Tyre Industry-Workshop-Three Phase-Piston-5+-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Piston-5+-Full Industrial'] = 'Important: if you are using a lot of air you should consider a screw compressor as they are designed to run continuously also your service cost will be lower and the life of the compressor will be much longer, The average workshop compressor does around 1500kms per week if you compare it to a motor car. when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail.';	
	
	notes['Tyre Industry-Workshop-Three Phase-Screw-1-2-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail. When selecting a screw compressor you must advise what pressure you require as if you require high pressure for truck tyres machine must be altered in factory, otherwise it will cost a lot for new gearing to change maximum pressure of screw pump.';
	notes['Tyre Industry-Workshop-Three Phase-Screw-1-2-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Screw-1-2-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Screw-3-4-Intermittent'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Screw-3-4-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Screw-3-4-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';	
	notes['Tyre Industry-Workshop-Three Phase-Screw-5+-Constant'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Tyre Industry-Workshop-Three Phase-Screw-5+-Full Industrial'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail. If higher air usage is required, please contact Peerless for more information. If higher air usage is required, please contact Peerless for more information.';	

	notes['Tyre Industry-Mobile-Petrol-1-3-Constant'] = 'Under & Over models available';
	notes['Tyre Industry-Mobile-Petrol-1-3-Full Industrial'] = 'Under & Over models available';
		
	level['Car Wash'] = Array(5);
	level['Car Wash'][2] = Array('Power');		
	level['Car Wash'][3] = Array('Compressor Type');
	level['Car Wash'][4] = Array('Concurrent Users');

	fdata['Car Wash'] = Array('Single Phase','Three Phase');
	fdata['Car Wash']['Single Phase'] = Array('Belt Drive');
	fdata['Car Wash']['Single Phase']['Belt Drive'] = Array('1.');
	fdata['Car Wash']['Three Phase'] = Array('Piston','Screw');
	fdata['Car Wash']['Three Phase']['Piston'] = Array('1-2','3-4','5+');
	fdata['Car Wash']['Three Phase']['Screw'] = Array('1-2','3-4','5+');

	fdata['Car Wash']['Single Phase']['Belt Drive']['1.'] = Array('00087','00100');
	fdata['Car Wash']['Three Phase']['Piston']['1-2'] = Array('00555','00070');
	fdata['Car Wash']['Three Phase']['Piston']['3-4'] = Array('00071','00120');
	fdata['Car Wash']['Three Phase']['Piston']['5+'] = Array('00120','00121');
	fdata['Car Wash']['Three Phase']['Screw']['1-2'] = Array('00122');
	fdata['Car Wash']['Three Phase']['Screw']['3-4'] = Array('00122','00123');
	fdata['Car Wash']['Three Phase']['Screw']['5+'] = Array('00123','00124');	
	
	notes['Car Wash-Three Phase-Piston-1-2'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail. All piston type compressors must be serviced regularly, failure to service compressor correctly will void warranty. In 24hour car wash we advise weekly checks with full service done monthly as compressors are running 25-7 not a normal working day.';
	notes['Car Wash-Three Phase-Piston-3-4'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail. All piston type compressors must be serviced regularly, failure to service compressor correctly will void warranty. In 24hour car wash we advise weekly checks with full service done monthly as compressors are running 25-7 not a normal working day.';
	notes['Car Wash-Three Phase-Piston-5+'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail. All piston type compressors must be serviced regularly, failure to service compressor correctly will void warranty. In 24hour car wash we advise weekly checks with full service done monthly as compressors are running 25-7 not a normal working day.';
	
	notes['Car Wash-Three Phase-Screw-1-2'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Car Wash-Three Phase-Screw-3-4'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';
	notes['Car Wash-Three Phase-Screw-5+'] = 'Important: when installing 3 phase compressor please ensure pump is running in right direction the easy way to check is fan in flywheel must be blowing air over pump, also air intake filters must be cleaned regularly if the filter gets blocked your pump will fail';

	
	notes['Car Wash-Single Phase-Belt Drive-1.'] = 'Important when selecting a single phase compressor please ensure you have good power supply at peak times. If you have a voltage drop it will cause motor failure. Also 15amp compressors must be plugged directly into 15amp power supply. Also piston air compressor must be serviced regularly failure to service compressor correctly will void warranties. In 24hr car washes we advise weekly checks with a monthly full service. If connecting to a tyre inflation gun for truck tyres, please select a PHP15 175 PSI Two Stage model.<br />Important:  If you have selected a P17 15amp compressor you must have 15amp power supply. It is illegal to change plug to a 10amp. Also please check power at power point at peak times to ensure you have no power drops as low voltage will cause motor failure. Extension leads can cause voltage drops - it\'s better to use an extra air hose. In some instances a petrol machine is your only option.';
	notes['Car Wash-Three Phase-Screw-5+.'] = 'Notes.'
	
	details = Array();
	details['00342'] = Array('Compact 2000 Electric Direct Drive Twin Tank Compressor','Designed for the building industry and home handyman the Compact 2000 Twin Tank ensures a more compact lightweight compressor that is portable and fits easily in the back of a utility. Suitable for framing nailer and finishing nailer but not suitable for a coil nailer.','138LPM','100 (Max 130)','2HP','8')
	details['00332'] = Array('Compact 2500 Electric Direct Drive Compressor','Designed for the building industry and home handyman the Compact 2500 ensures a more compact lightweight compressor that is portable and fits easily in the back of a utility. Suitable for framing nailer and finishing nailer but not suitable for a coil nailer.','154LPM','100 (Max 130)','2.5HP','8')
	details['00333'] = Array('Compact 3000 Roll Cage Compressor','Designed for the building industry and home handyman the Compact 3000 ensures a more compact lightweight compressor perfect for stairs due to its unique roll cage design and pull out handle. Designed to maintain high pressure and suitable for framing nailer and finishing nailer. It will only run coil nailer intermittently - for fencing and flooring we recommend a belt drive model Fitted with new Smart Start filter.','175LPM','140','2.5HP','9.4')
	details['00334'] = Array('Compact 5000 Electric Belt Drive Compressor','Designed specifically for builders and runs 2 x 4” framing guns at the one time. Compact in design and fully portable to provide high volumes of air when required. Complete with 2 outlets - one through filter regulator and one directly out of the air receiver. Fitted with new Smart Smart Filter.','235LPM','115 (Max 145)','2.5HP','9')
	details['00083'] = Array('Stallion 300 Direct Drive Compressor','Designed for the building industry and home handyman, the Stallion 300 ensures a more compact and lightweight compressor that is portable and fit\'s easily into the back of a utility. Built especially to suit framing nailer, finishing nailer and coil nailer. Please choose the correct design for your application, either the Compact 3000 Roll Cage or Compact 3000 Twin Tank. Finish nailer: it will only run coil nailer intermittently - for fencing and flooring we recommend a belt drive model','175LPM','140','2.5HP','8')
	details['00350'] = Array('Compact 3000TT Twin Tank Compressor','Compact 3000TT Twin Tank Compressor','175LPM','140','2.5HP','8')
	details['00339'] = Array('Compact 1000 12 Volt Car Compressor','Latest technology in 12 volt compressor design with twin pumps either end to ensure fast tyre inflation. Suitable for 4 wheel drives.','45LPM','100','0.25HP','15')

	details['00091'] = Array('P12 Electric Belt Drive Compressor','Our oldest running model, the P12 is the starting belt drive model in our Peerless range of compressors. It comes with a 2.5HP electric motor, twin cylinder cast iron slow revving side by side pump, 55 litre Australian approved air receiver and a high quality copper automatic drain filter regulator. It is extremely efficient as it only draws 7.5amps at running pressure. Leaves an air outlet coming straight out of the air receiver to allow you to run two air hoses at once. Ideal for home workshop or builder. Smart Start filter and regulator included.','240LPM','115 (Max 145)','2.5HP','7.5')
	details['00257'] = Array('P14 Electric Belt Drive Compressor','The P14 is the largest 10amp compressor on the market giving 275 litres of free air. This particular model out performs most of our competitors belt drive machines. Compressor runs at a super slow 852RPM. It is extremely efficient as it only draws 9.4 amps at running pressure. It is super quiet for a belt drive machine which is due to its low RPM. This unit is suited to industrial applications as well as the serious home handyman. It comes with the same standard features as the P12. Smart Start filter and regulator included.','275LPM','115 (Max 145)','2.75HP','9.4')
	details['00087'] = Array('P17 Electric Belt Drive Compressor','The P17 has become the largest selling model due to its performance of 320 litres of free air. This is the largest single phase model you can buy on a 15amp power supply. Again it is super quiet and efficient for the amount of air you receive. It will run die grinders, most common air sanders and 3⁄4” impact guns. This unit is truly manufactured for the professional and is fitted with new Smart Start filter regulator to reduce start up amps draw therefore improving the performance. All the standard features of the P12 and P14 are incorporated in this model. Smart Start filter and regulator included.','320LPM','115 (Max 145)','3.2HP','15')
	details['00380'] = Array('P17 Electric Fatboy Belt Drive Compressor','The P17 Fatboy is the same pump and motor as the P17 but instead of a 55 litre air receiver we mount it on a 110 litre pallet feet air receiver. Most people who wish to use their compressor in the one position in a workshop prefer to buy the larger air receiver as the machine will not cut in and out as frequently however the free air delivery is exactly the same as the standard P17. Smart Start filter and regulator included.','320LPM','100','3.2HP','15')
	details['00089'] = Array('P19 Belt Drive Compressor','This model compressor is a single stage compressor with cast iron pump producing 420 litres of free air. Ideal for use in large workshops where three phase power is not available. Because it is 4HP you must have 20amp (draws 16.2 amps) power supply to run the machine.<br /><strong style="color: red;">Please contact Peerless by phone before selecting this unit.<b /></strong>','420LPM','115 (Max 145)','4HP','20')
	details['00093'] = Array('PT35 Twin Pump Electric Compressor','The PT35 is designed using two P17 pump and motor top plates coupled on a 190 litre air receiver. The pumps are designed to restart 5PSI apart and require two 15amp power lines (draws 2 x 13 amps) back to your fuse box to operate this machine. It is very important to ensure that this machine is wired in correctly as failure to do so will cause motor failure. It gives you a massive 650 litres of free air per minute which for a single phase compressor is excellent.<br /><strong style="color: red;">Please contact Peerless by phone before selecting this unit.</strong>','650LPM','115 (Max 145)','2 x 3HP','2 x 15')
	details['00555'] = Array('PV25 3 Phase Industrial Compressor','The PV25 is a V cast iron single stage air compressor. It gives a massive 545 litre of free air. It has a maximum operating pressure of 145PSI and out performs equivalent models on the market from 50 - 110 litres of free air. This model is one of the most popular 3 phase models on the market and is ideal for a 2-3 man workshop. Please refer to our flow chart when selecting a compressor that is right for you.','545LPM','115 (Max 145)','5.5HP','6.6')
	details['00110'] = Array('PV25 3 Phase Vertical Industrial Compressor','The PV25 is a vertical cast iron single stage air compressor. It gives a massive 545 litre of free air. It has a maximum operating pressure of 145PSI and out performs equivalent models on the market from 50 - 110 litres of free air. This model is one of the most popular 3 phase models on the market and is ideal for a 2-3 man workshop. Please refer to our flow chart when selecting a compressor that is right for you.','545LPM','115 (Max 145)','5.5HP','6.6')

	details['00070'] = Array('PHP30 3 Phase Industrial Compressor','The PHP30 3 Phase model is a three cylinder slow revving two stage air compressor. It has a 5.5HP 3 phase electric motor, comes complete with a 150 litre air receiver and is the ideal workshop compressor. As with all two stage models, the maximum PSI is 175. It has an oil sight glass for easy viewing of oil levels and with all Peerless compressors has an excellent performance rating for its free air delivery.','620LPM','150 (Max 175)','5.5HP','7.4')
	details['00100'] = Array('PHP15 High Pressure Electric Compressor','The PHP15 is a 3.2HP two stage high pressure compressor capable of running at 175PSI. These machines are fantastic for tyre inflation i.e.. truck tyres or applications where large volumes of air at high pressure is required. The advantages of a two stage compressor is that you do not lose volume of air at higher pressure. The air temperature is some 40% cooler than the standard type of air compressor therefore producing less condensation. These models come with all the standard features as the P17, P14 and P12.','300LPM','150 (Max 175)','3.2HP','15')
	details['00108'] = Array('PHP15 V High Pressure Vertical Electric Compressor','The vertical machine has the same performance figures as the PHP15 portable machine but comes with a 200 litre vertical air receiver. This machine is very popular in service stations where space is a consideration.','300LPM','150 (Max 175)','3.2HP','15')
	details['00105'] = Array('PHP15FB High Pressure Fatboy Compressor','This high pressure compressor has all the performance and standard features as the standard PHP15 but is mounted on a 110 litre horizontal air receiver with pallet feet. These models are very popular in workshops where there is only single phase power available. Please note that this model is also available with a three phase motor. Please refer to page 14 in the 3 Phase section code 00125.','300LPM','150 (Max 175)','3.2HP','15')
	details['00125'] = Array('PHP15 High Pressure 3 Phase Industrial Compressor','The PHP15 3 phase has been designed and manufactured to give you the opportunity of wiring in the 3HP compressor to 3 phase power therefore making it more economical to run and alleviates the chances of motor failure. It has all the same features as the PHP15 single stage range i.e.. maximum pressure, 175PSI, 300 litre free air, 3 cylinder cast iron slow revving pump and is a great model for the workshop. Also available in single phase model code 00105.','300LPM','150 (Max 175)','4HP','5.1')
	details['00109'] = Array('PHP30V 3 Phase Vertical Industrial Compressor','The PHP30 vertical 3 Phase model is a three cylinder slow revving two stage air compressor. It has a 5.5HP 3 phase electric motor, comes complete with a 150 air receiver and is the ideal workshop compressor. As with all two stage models, the maximum PSI is 175. It has an oil sight glass for easy viewing of oil levels and with all Peerless compressors has an excellent performance rating for its free air delivery.','620LPM','150 (Max 175)','5.5HP','7.4')
	details['00071'] = Array('PHP40 3 Phase Industrial Compressor','This 7.5HP 3 phase three cylinder two stage compressor is again similar to the PHP30 just with a larger motor and pump. It is a slow revving model as the pump only runs at 750RPM while giving a massive 760 litres of free air at 150PSI. This is the perfect air compressor for a professional workshop.','760LPM','150 (Max 175)','7.5HP','10.2')
	details['00120'] = Array('PHP52 3 Phase Industrial Compressor','The 10HP PHP52 is the most popular 3 phase compressor on the market as once you go to a 15HP machine you receive a Star Delta switch which adds considerable cost to the machine. The PHP52 is a three cylinder slow revving cast iron compressor capable of 175PSI and is a true and trusted machine in the marketplace with a great reputation for its reliability and performance.','990LPM','150 (Max 175)','10HP','13.3')
	details['00121'] = Array('PHP60 3 Phase Industrial Compressor','The PHP60 is a 15HP three cylinder two stage compressor. It comes on a 295 litre air receiver and is designed and manufactured for full industrial workshop applications. As with all 3 phase machines, it is very important that the machine is purchased to do the correct job. All industrial machines must be serviced regularly and run in their correct cycles. All piston type compressors should not cycle over 80%. For further information please contact Peerless Products if you are unsure of which industrial machine to select. Comes with delta overload switch.','1335LPM','150 (Max 175)','15HP','14')

	details['00113'] = Array('PSS52 Silent Compressor','Introducing the new Peerless PSS-52 Silent Compressor. We have been developing this unit over the past eighteen months, and after extensive research have been able to get the correct air through the unit to keep the noise to a low 54 decibels. This is as quiet as your split system air conditioner. The unit has a cabinet in which every panel is removable for easy servicing, including the top. No other silent unit on the market has these features. The oil alert system on this unit is another first. Once the oil level gets too low before any damage can be done to the compressor unit it will automatically switch off and cannot be re- started until the compressor is filled with oil and re-started again. This compressor design is registered and patent applied. (Only available on 10HP model 00113) The unit also comes with 1 metre of 1” flexible high pressure hose for easy connection to your existing compressor air receiver or a separate air receiver. Peerless have developed this unit because of the increasing noise restrictions in industrial areas today. This unit has a free air delivery of 900 litres of air at 150PSI. The compressor pump is a W95 two stage and is powered by a 10HP electric motor.','900LPM','115 (Max 145)','10HP','17')
	details['00112'] = Array('PSS52 Silent Compressor','Introducing the new Peerless PSS-52 Silent Compressor. We have been developing this unit over the past eighteen months, and after extensive research have been able to get the correct air through the unit to keep the noise to a low 54 decibels. This is as quiet as your split system air conditioner. The unit has a cabinet in which every panel is removable for easy servicing, including the top. No other silent unit on the market has these features. The oil alert system on this unit is another first. Once the oil level gets too low before any damage can be done to the compressor unit it will automatically switch off and cannot be re- started until the compressor is filled with oil and re-started again. This compressor design is registered and patent applied. (Only available on 10HP model 00113) The unit also comes with 1 metre of 1” flexible high pressure hose for easy connection to your existing compressor air receiver or a separate air receiver. Peerless have developed this unit because of the increasing noise restrictions in industrial areas today. This unit has a free air delivery of 900 litres of air at 150PSI. The compressor pump is a W95 two stage and is powered by a 10HP electric motor.','495LPM','115 (Max 145)','5.5HP','8')

	details['00101UO'] = Array('Under and Over Compressors','The under and over model design can be applied to any petrol model from our PHP15 model right up to our PHP52 model. It is becoming extremely popular for saving space in the back of a ute or trailer. The greatest advantage of these and the tube models is their quick recovery time within 10 seconds you are back to full pressure and there is not much sense in pumping up a large air receiver before you pump up your tyres. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','320LPM','115 (Max 145)','','')
	details['00128UO'] = Array('Under and Over Compressors','The under and over model design can be applied to any petrol model from our PHP15 model right up to our PHP52 model. It is becoming extremely popular for saving space in the back of a ute or trailer. The greatest advantage of these and the tube models is their quick recovery time within 10 seconds you are back to full pressure and there is not much sense in pumping up a large air receiver before you pump up your tyres. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','350LPM','115 (Max 145)','','')
	details['00561UO'] = Array('Under and Over Compressors','The under and over model design can be applied to any petrol model from our PHP15 model right up to our PHP52 model. It is becoming extremely popular for saving space in the back of a ute or trailer. The greatest advantage of these and the tube models is their quick recovery time within 10 seconds you are back to full pressure and there is not much sense in pumping up a large air receiver before you pump up your tyres. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','545LPM','115 (Max 145)','','')
	details['00095UO'] = Array('Under and Over Compressors','The under and over model design can be applied to any petrol model from our PHP15 model right up to our PHP52 model. It is becoming extremely popular for saving space in the back of a ute or trailer. The greatest advantage of these and the tube models is their quick recovery time within 10 seconds you are back to full pressure and there is not much sense in pumping up a large air receiver before you pump up your tyres. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','720LPM','115 (Max 145)','','')
	details['00101-2TT'] = Array('2” Tube Tank Compressors','Peerless’ unique design 2” Tube Tank compressor is far easier to transport in your vehicle due to it’s low centre of gravity. It takes up a minimal amount of space while still offering all the features of a conventional compressor. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','320LPM','115 (Max 145)','','')
	details['00128-2TT'] = Array('2” Tube Tank Compressors','Peerless’ unique design 2” Tube Tank compressor is far easier to transport in your vehicle due to it’s low centre of gravity. It takes up a minimal amount of space while still offering all the features of a conventional compressor. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','350PLPM','115 (Max 145)','','')
	details['00561-2TT'] = Array('2” Tube Tank Compressors','Peerless’ unique design 2” Tube Tank compressor is far easier to transport in your vehicle due to it’s low centre of gravity. It takes up a minimal amount of space while still offering all the features of a conventional compressor. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','545LPM','115 (Max 145)','','')
	details['00128'] = Array('P17 Petrol Compressor','The P17 petrol has become the largest selling model due to its performance of 350 litres of free air. This is the largest petrol model you can buy with a 6HP Honda engine. Again it is super quiet and efficient for the amount of air you receive. It will run die grinders, most common air sanders and 3⁄4” impact guns. This unit is truly manufactured for the professional. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','350LPM','115 (Max 145)','','')
	details['00228'] = Array('P17PTT Petrol Twin Tank Compressor','This slow revving Honda Petrol unit is designed for farm applications. The twin tank model is designed for better portability and stability in the back of vehicles. The twin tank has been designed to lower the centre of gravity to ensure stability in the back of utilities and uneven ground. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','350LPM','115 (Max 145)','','')
	details['00561'] = Array('PV25 Petrol Industrial Compressor','The PV25 is a V cast iron 9HP Honda air compressor. It gives a massive 545 litres of free air. It has a maximum operating pressure of 145PSI and out performs equivalent models on the market from 50 - 110 litres of free air. This model is one of the most popular petrol models on the market and is ideal for a 2-3 man workshop. Please refer to our flow chart when selecting a compressor that is right for you. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','545LPM','115 (Max 145)','','')
	details['00563'] = Array('PV25PTT Petrol Twin Tank Industrial Compressor','his Honda Petrol unit is designed for serious farm application or tyre centres where a portable machine is required. The twin tank model is designed for better portability and stability in the back of vehicles. The twin tank has been designed to lower the centre of gravity to ensure stability in the back of utilities and uneven ground. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','545LPM','115 (Max 145)','','')
	details['00564'] = Array('PV25PFB Petrol Fatboy Industrial Compressor','This Honda Petrol unit is designed for serious farm application or tyre centres. A serious famers choice every time. This unit is capable of running a post hole driver at intermittent use. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','545LPM','115 (Max 145)','','')

	details['00101'] = Array('PHP15 High Pressure Petrol Compressor','The PHP15 is a 6HP Honda engine high pressure compressor capable of running at 175PSI. These machines are fantastic for tyre inflation i.e.. truck tyres or applications where large volumes of air at high pressure is required. The advantages of a two stage compressor is that you do not lose volume of air at higher pressure. The air temperature is some 40% cooler than the standard type of air compressor therefore producing less condensation. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','320LPM','150 (Max 175)','','')
	details['00107'] = Array('PHP15PTT Petrol Twin Tank Compressor ','This slow revving High Pressure Honda Petrol unit is designed for mobile workshops or tyre centres. The twin tank model is designed for better portability and stability in the back of vehicles. The twin tank has been designed to lower the centre of gravity to ensure stability in the back of utilities and uneven ground. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','320LPM','150 (Max 175)','','')
	details['00106'] = Array('PHP30PTT Petrol Twin Tank Industrial Compressor','This slow revving Honda Petrol unit is designed for farm, garage and tyre industries. The twin tank model is designed for better portability and stability in the back of vehicles. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','619LPM','150 (Max 175)','','')
	details['00095'] = Array('PHP35P Petrol Industrial Compressor','This Stationary High Pressure Honda Petrol unit is ideally suited where high volumes of air are required. e.g.. post hole driving, full tyre inflation for trucks and tractor or for multiple outlets. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','720LPM','150 (Max 175)','','')
	details['00099'] = Array('PHP52 Petrol Industrial Compressor','This is the big daddy of all petrol compressors. Perfect for all your air needs when there is no power available. Electric start optional extra. Please call Peerless for a quote.<strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','1040LPM','150 (Max 175)','','')

	details['00381'] = Array('P17 Diesel Compressor','NEW motor, smallest diesel compressor available. For use in the mining or farming industry. This unit has all the standard Peerless features i.e.: slow revving cast iron pumps, auto idle control and heavy duty tank construction. <strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','350LPM','115 (Max 145)','4HP','')
	details['00566'] = Array('PV25D Diesel Twin Tank','New <strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','320LPM','115 (Max 145)','4.5HP','');
 	details['00111'] = Array('PHP15D Diesel','New <strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','545LPM','150 (Max 175)','7HP','');

	details['00094'] = Array('PHP35D 35 Diesel Compressor','The PHP35D is a three cylinder slow revving two stage cast iron compressor capable of 175PSI and is a true and trusted machine in the marketplace with a great reputation for its reliability and performance. Electric start optional extra. Please call Peerless for a quote. Electric start engine does not come with battery, leads or provisions for battery. Option of either Honda or Lombardi Motor <strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','720LPM','150 (Max 175)','7HP','')
	details['00097'] = Array('PHP52D Diesel Compressor','The 9HP PHP52D is the most popular diesel compressor on the market. The PHP52D is again a three cylinder slow revving two stage cast iron compressor capable of 175PSI and is a true and trusted machine in the marketplace with a great reputation for its reliability and performance. Electric start optional extra. Please call Peerless for a quote. Electric start engine does not come with battery, leads or provisions for battery. Option of either Honda or Lombardi Motor <strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','1040LPM','150 (Max 175)','9HP','')
	details['00096'] = Array('PHP35DTT 35 Diesel Twin Tank Compressor','For use in the mining industry. Electric start optional extra. Please call Peerless for a quote. Electric start engine does not come with battery, leads or provisions for battery. Option of either Honda or Lombardi Motor. <strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','720LPM','150 (Max 175)','7HP','')
	details['00098'] = Array('PHP52DTT Diesel Twin Tank Compressor','Electric start optional extra. Please call Peerless for a quote. Electric start engine does not come with battery, leads or provisions for battery. Option of either Honda or Lombardi Motor. <strong style="color: red;">Electric start engine does not come with battery, leads or provisions for battery.<br />We can manufacture to your design plus there are other standard designs for each model.</strong>','1040LPM','150 (Max 175)','9HP','')

	details['00122'] = Array('CSM Mini Rotary Screw Compressor','Ideal for workshops using general air tools e.g.. spray guns, nail guns, tyre inflation guns and air dusters. Designed for continual operation. Requires DLX18 Refrigeration Cycle Dryer. Low noise level 64DB. <strong style="color: red">If you need higher pressure than 115PSI, please advise when ordering as machine has to be altered in factory prior to delivery.</strong>','594LPM','115 (Max 145)','7.5HP','13.5')
	details['00123'] = Array('CSA 15/8 Rotary Screw Compressor','Ideal for workshops using all types of air tools. Designed for continual operation. Low noise level 63DB. Requires DLX18 split system refrigeration cycle dryer. 3 Phase 8 Bar. <strong style="color: red">If you require higher pressure than 115PSI please advise when ordering as machine has to be altered in factory prior to delivery.</strong>','1613LPM','115 (Max 145)','15HP','23.5')
	details['00124'] = Array('CSB 25 Rotary Screw Compressor','Ideal for workshops and factories. Will run all types of air tools designed for continual operation. Low noise level 68DB. Stand alone unit (tank not included). Tanks available on request. 3 Phase 8 Bar. <strong style="color: red">If you require higher pressure than 115PSI please advise when ordering as machine has to be altered in factory prior to delivery.</strong>','3255LPM','115 (Max 145)','25HP','45')
	details['00118'] = Array('DLX18 Refrigeration Cycle Dryer','Suitable for filtration up to 1782LPM / 63CFM. This dryer is suitable for the CSM Mini (00122) and the CSA 15/8 (00123) Screw Compressors.','','','','')
	details['00117'] = Array('DLX52 Refrigeration Cycle Dryer','Suitable for filtration up to 5207LPM / 184CFM. This dryer is suitable for the CSB 25 (00124) Screw Compressor.','','115 (Max 145)','','')
	details['00119'] = Array('CSC 40/8 Screw Compressor',' <strong style="color: red">If you need higher pressure than 115PSI, please advise when ordering as machine has to be altered in factory prior to delivery.</strong>','4896LPM','115 (Max 145)','40HP','');

		
	var airtools = Array();
	airtools['Intermittent'] = 'Low pressure spray gun<br />High Pressure spray guns<br />3/8” air drill<br />Pop Riveter<br />½” Ratchet wrench<br />Car Tyre Inflation Gun<br />Staple Guns<br />Fixing Guns<br />Framing Guns<br />Peerless Star Picket driver<br />Air blow gun up to 2mm nozzle<br />½” drive impact guns up to 700lbs<br />Air Brush<br />Grease Gun<br />Caulking Gun<br />';
	airtools['Constant'] = 'Low pressure/high pressue spray guns<br />¾” drive impact guns<br />Coil Nail Gun<br />½” drive impact guns above 700lbs<br />Air blow guns up to 4mm nozzle<br />Truck tyre inflation gun<br />Tyre changing machine<br />Engine cleaning gun<br />Sandblasting gun up to 4mm Nozzle<br />Small air hammer<br />Screw driver<br />Plasma Cutter<br />4” angle grinder<br />¼” die grinder standard models<br />';
	airtools['Full Industrial'] = '1” drive impact guns<br />Pneumatic post hole driver (air hammer type)<br />9” air sander<br />7” angle grinder<br />Air gauging tool<br />Edge bander<br />Sandblasting gun nozzle 5mm and over<br />¼” die grinder high speed<br />';	

	var airtoolsDirect = Array();
	airtoolsDirect['Intermittent'] = 'Low pressure spray gun<br />Pop Riveter<br />Car Tyre Inflation Gun<br />Staple Guns<br />Fixing Guns<br />Air blow gun up to 2mm nozzle<br />Air Brush<br />Grease Gun<br />Caulking Gun<br />';
	airtoolsDirect['Constant'] = 'Low pressure spray gun<br />High Pressure spray guns<br />3/8” air drill<br />Pop Riveter<br />½” Ratchet wrench<br />Car Tyre Inflation Gun<br />Staple Guns<br />Fixing Guns<br />Framing Guns<br />Peerless Star Picket driver<br />Air blow gun up to 2mm nozzle<br />½” drive impact guns up to 700lbs<br />Air Brush<br />Grease Gun<br />Caulking Gun<br />';

	//var	hondaList = {'00101UO':true,'00128UO':true,'00561UO':true,'00095UO':true,'00101-2TT':true,'00128-2TT':true,'00561-2TT':true,'00128':true,'00228':true,'00101':true,'00107':true,'00561':true,'00563':true,'00564':true,'00106':true,'00095':true,'00099':true,'00381':true,'00094':true,'00097':true,'00096':true,'00098':true,'00566':true,'00111':true};
	var	hondaList = {'00101UO':true,'00128UO':true,'00561UO':true,'00095UO':true,'00101-2TT':true,'00128-2TT':true,'00561-2TT':true,'00128':true,'00228':true,'00101':true,'00107':true,'00561':true,'00563':true,'00564':true,'00106':true,'00095':true,'00099':true};
		
	var flow = false;
	var options = Array(8);
			
	$(".button").livequery('click',function(event)
	{	
		event.preventDefault();
		step++;		
		handleStep($(this));
	});

	$(".stepButton").livequery('click',function(event)
	{	
		event.preventDefault();
		step++;		
		handleStep($(this));
	});

	$(".product a").livequery('click',function(event)
	{	
		event.preventDefault();
		productDetails($(this).attr("href").substr(1));
	});

	$(".prodDetail a.closeBtn").livequery('click',function(event)
	{	
		event.preventDefault();
		$(this).parent().fadeOut();
	});

	
	$("#prev").click(function(event)
	{
		dropCrumb();
		step--;
		handleStep();
	});
	
	function dropCrumb()
	{
		if($("#finder-crumb span").length > 2)
		{
			$("#finder-crumb span:last").remove();			
			$("#finder-crumb span:last").remove();
		}
		else
		{
			$("#finder-crumb").text("");
		}
	}
	
	function handleStep(obj)
	{
		//alert(step);
		
		$("#steps").text("");
		$("#finder-warning").text("").hide();

		tools = '';
		toolsExample = '';

		switch(step)
		{
			//reboot!!
			case 0:
				$("#steps").fadeOut('fast', function(){$("#intro").fadeIn()});
				$("#prev").fadeOut();
				$("#finder-instructions").fadeOut(function(){
					$("#intro-slideshow").fadeIn();
					$("#finder-instructions").text("");
				});
			break;
						
			//show industry options
			case 1:
				flow = false;
			
				$("#prev").fadeIn();			
				setupSteps();
				$("#finder-crumb").text("");
				$("#intro").fadeOut(function(){$("#steps").fadeIn()});
				$("#footer").show();
				$("#intro-slideshow").fadeOut(function(){$("#finder-instructions").fadeIn()});
				$("#finder-instructions").text("Choose your industry...");
			break;
			
			case 2:		
			
				if(flow == false)
				{
					flow = obj.attr("id").replace("step1-","");
					flow = flows[flow];
				}
				
				$("#finder-crumb").append("<span>"+flow+" &raquo; </span>");
				$("#finder-instructions").text("Select "+level[flow][step]+":");
				
				
				$("#steps").fadeOut(function()
				{		
					$(this).text('');
					$.each(fdata[flow],function(index,label)
					{
						if(level[flow][step] == 'Usage Frequency')
						{
							tools = airtools[label];
						}
						else
						{
							tools = '';
						}
						
						tools = powerIcons(tools,label);
						
						$("#steps").append('<div class="step"> <a href="#" class="stepButton" id="step2-'+index+'"> <p class="stepIcon">'+tools+'</p> <h3>'+label+'</h3> '+toolsExample+' </a> </div>');

//						$("#steps").append('<div class="step"> <a href="#" class="stepButton" id="step2-'+index+'"> <p class="stepIcon">'+tools+'</p> <h3>'+label+'</h3> </a> </div>');

					});
					$(this).fadeIn();
				});
			break;
			
			case 3:
				if(obj == null)
				{
					option = options[3];
				}
				else
				{
					option = obj.attr("id").replace("step2-","");
					options[3] = option;
				}

				sel[2] = fdata[flow][option];
								
				$("#finder-crumb").append("<span>"+sel[2]+" "+level[flow][step-1]+" &raquo; </span>");
				$("#finder-instructions").text("Select "+level[flow][step]+":");
				
				if(flow == 'Car Wash' && sel[2] == 'Single Phase')
				{
					sel[3] = 'Belt Drive';
					step++;

					$("#steps").append('<div class="step"> <a href="#" class="stepButton" id="step3-0"> <p class="info"></p> <h3>Belt Drive</h3> '+toolsExample+' </a> </div>');						
					handleStep($("#step3-0"));
						
				}				
				$("#steps").fadeOut(function()
				{		
					$(this).text('');
					$.each(fdata[flow][sel[2]],function(index,label)
					{
						if(level[flow][step] == 'Usage Frequency')
						{
			
							if(sel[2] == 'Direct')
							{
								tools = '<strong>Example Air Tools</strong><br />'+airtoolsDirect[label];							
							}
							else
							{
								tools = '<strong>Example Air Tools</strong><br />'+airtools[label]; 
							}
						}
						else
						{
							tools = '';
						}

						tools = powerIcons(tools,label);

						$("#steps").append('<div class="step"> <a href="#" class="stepButton" id="step3-'+index+'"> <p class="stepIcon">'+tools+'</p> <h3>'+label+'</h3> '+toolsExample+' </a> </div>');							



					});
					$(this).fadeIn();
				});			
				
					
			break;
			
			case 4:
			
				if(obj == null)
				{
					option = options[4];
				}
				else
				{
					option = obj.attr("id").replace("step3-","");
					options[4] = option;
				}	
				
				sel[3] = fdata[flow][sel[2]][option];				

				$("#finder-crumb").append("<span>"+sel[3]+" "+level[flow][step-1]+" &raquo; </span>");
				$("#finder-instructions").text("Select "+level[flow][step]+":");
				
				if(flow == 'Tyre Industry' && sel[2] == 'Mobile')
				{
					if(sel[3] == 'Petrol')
					{
						sel[4] = 'Industrial';
						step++;						
						$("#steps").append('<div class="step"><h3>Industrial</h3><p class="info"></p><a href="#" class="stepButton" id="step4-0">Select</a></p></div>');						
						handleStep($("#step4-0"));
					}
					
					if(sel[3] == 'Diesel')
					{
						sel[4] = 'Diesel';
						step++;						
						$("#steps").append('<div class="step"><h3>Diesel</h3><p class="info"></p><a href="#" class="stepButton" id="step4-0">Select</a></p></div>');						
						handleStep($("#step4-0"));
					}					
				}
				
				if(productflow[flow] == step)
				{
					displayNotes(flow+"-"+sel[2]+"-"+sel[3])
					displayProducts(fdata[flow][sel[2]][sel[3]]);
				}
				else
				{
					$("#steps").fadeOut(function()
					{		
						$(this).text('');
						$.each(fdata[flow][sel[2]][sel[3]],function(index,label)
						{
							if(level[flow][step] == 'Usage Frequency')
							{
								if(sel[3] == 'Direct' || (sel[3] == 'Belt' && flow == 'Builder' && sel[2] != 'Coil'))
								{
									tools = '<strong>Example Air Tools</strong><br />'+airtoolsDirect[label];								
								}
								else
								{
									tools = '<strong>Example Air Tools</strong><br />'+airtools[label];																
								}								
							}
							else
							{
								tools = '';
							}			
							tools = powerIcons(tools,label);	

							$("#steps").append('<div class="step"> <a href="#" class="stepButton" id="step4-'+index+'"> <p class="stepIcon">'+tools+'</p> <h3>'+label+'</h3> '+toolsExample+' </a> </div>');



						});
						$(this).fadeIn();
					});
					
				}
			break;	
			
			case 5:
				if(obj == null)
				{
					option = options[5];
				}
				else
				{
					option = obj.attr("id").replace("step4-","");
					options[5] = option;
				}		
				
				sel[4] = fdata[flow][sel[2]][sel[3]][option];				

				$("#finder-crumb").append("<span>"+sel[4]+" "+level[flow][step-1]+" &raquo; </span>");
				$("#finder-instructions").text("Select "+level[flow][step]+":");

				if(productflow[flow] == step)
				{
					displayNotes(flow+"-"+sel[2]+"-"+sel[3]+"-"+sel[4]);
					displayProducts(fdata[flow][sel[2]][sel[3]][sel[4]]);
				}
				else
				{
					$("#steps").fadeOut(function()
					{		
						$(this).text('');
						$.each(fdata[flow][sel[2]][sel[3]][sel[4]],function(index,label)
						{
							if(level[flow][step] == 'Usage Frequency')
							{
								tools = '<strong>Example Air Tools</strong><br />'+airtools[label];
							}
							else
							{
								tools = '';
							}			
							tools = powerIcons(tools,label);				
							$("#steps").append('<div class="step"> <a href="#" class="stepButton" id="step5-'+index+'"> <p class="stepIcon">'+tools+'</p> <h3>'+label+'</h3> '+toolsExample+' </a> </div>');


						});
						$(this).fadeIn();
					});
					
				}
			break;	
			
			case 6:
				if(obj == null)
				{
					option = options[6];
				}
				else
				{
					option = obj.attr("id").replace("step5-","");
					options[6] = option;
				}
				
				sel[5] = fdata[flow][sel[2]][sel[3]][sel[4]][option];				

				$("#finder-crumb").append("<span>"+sel[5]+" "+level[flow][step-1]+" &raquo; </span>");

				if(productflow[flow] == step)
				{
					displayNotes(flow+"-"+sel[2]+"-"+sel[3]+"-"+sel[4]+"-"+sel[5]);					
					displayProducts(fdata[flow][sel[2]][sel[3]][sel[4]][sel[5]]);
				}
				else
				{					
					$("#steps").fadeOut(function()
					{		
						$(this).text('');
						$.each(fdata[flow][sel[2]][sel[3]][sel[4]][sel[5]],function(index,label)
						{
							if(level[flow][step] == 'Usage Frequency')
							{
								tools = '<strong>Example Air Tools</strong><br />'+airtools[label];
							}
							else
							{
								tools = '';
							}							
							tools = powerIcons(tools,label);
							$("#steps").append('<div class="step"> <a href="#" class="stepButton" id="step6-'+index+'"> <p class="stepIcon">'+tools+'</p> <h3>'+label+'</h3> '+toolsExample+' </a> </div>');

						});
						$(this).fadeIn();
					});
				}
			break;		
			
			case 7:
				if(obj == null)
				{
					option = options[7];
				}
				else
				{
					option = obj.attr("id").replace("step6-","");
					options[7] = option;
				}
						
				sel[6] = fdata[flow][sel[2]][sel[3]][sel[4]][sel[5]][option];				

				$("#finder-crumb").append("<span>"+sel[6]+" "+level[flow][step-1]+" &raquo; </span>");

				if(productflow[flow] == step)
				{
					displayNotes(flow+"-"+sel[2]+"-"+sel[3]+"-"+sel[4]+"-"+sel[5]+"-"+sel[6]);										
					displayProducts(fdata[flow][sel[2]][sel[3]][sel[4]][sel[5]][sel[6]]);
				}
			break;			
								
		}
	}
	

	



	function powerIcons(tools,label)
	{
	
		icons = Array();
		icons['Electric'] = '<img src="/assets/img/icons/electric.png" />';
		icons['Petrol'] = '<img src="/assets/img/icons/petrol.png" />';
		icons['Diesel'] = '<img src="/assets/img/icons/diesel.png" />';
		icons['Single Phase'] = '<img src="/assets/img/icons/electric.png" />';
		icons['Three Phase'] = '<img src="/assets/img/icons/threephase.png" />';
		icons['Workshop'] = '<img src="/assets/img/icons/workshop.png" />';
		icons['Mobile'] = '<img src="/assets/img/icons/mobile.png" />';
		icons['Staple/Fixing'] = '<img src="/assets/img/icons/staple.png" />';
		icons['Framing'] = '<img src="/assets/img/icons/framing.png" />';
		icons['Coil'] = '<img src="/assets/img/icons/coil.png" />';
		icons['1.'] = '<img src="/assets/img/icons/1user.png" />';
		icons['1-2'] = '<img src="/assets/img/icons/1user.png" />';
		icons['1-3'] = '<img src="/assets/img/icons/1user.png" />';
		icons['3-4'] = '<img src="/assets/img/icons/3users.png" />';
		icons['5+'] = '<img src="/assets/img/icons/5users.png" />';
		icons['Full Industrial'] = '<img src="/assets/img/icons/industrial.png" />';
		icons['Constant'] = '<img src="/assets/img/icons/constant.png" />';
		icons['Intermittent'] = '<img src="/assets/img/icons/intermittent.png" />';
		icons['Belt Drive'] = '<img src="/assets/img/icons/belt.png" />';
		icons['Belt'] = '<img src="/assets/img/icons/belt.png" />';
		icons['Direct Drive'] = '<img src="/assets/img/icons/direct.png" />';
		icons['Direct'] = '<img src="/assets/img/icons/direct.png" />';
		icons['Piston'] = '<img src="/assets/img/icons/piston.png" />';
		icons['Screw'] = '<img src="/assets/img/icons/screw.png" />';

		if(icons[label] == icons['Constant']||icons[label] == icons['Full Industrial']||icons[label] == icons['Intermittent'])
		{	
			toolsExample = "<p class='info'>"+tools+"</p>";
			return icons[label];
		}
		else if(icons[label] != null)
		{
			return icons[label];
		}
		else
		{
			return '<img src="/assets/img/icons/noicon.png" />'
			//return tools;
		}
	}
	
	function displayProducts(products)
	{
		$("#finder-instructions").text("Suggested Products:");
		
		$("#steps").fadeOut(function()
		{		
			$(this).text('');
			$.each(products,function(index,code)
			{
				if(details[code][5] != '')
				{
					amps = '<strong>Draw</strong>: '+details[code][5]+' Amps<br />';
				}
				else
				{
					amps = '';
				}
				
				if(details[code][4] != '')
				{
					hp = '<strong>'+details[code][4]+'</strong><br />';
				}
				else
				{
					hp = '';
				}

				if(hondaList[code])
				{
					honda = '<img src="/assets/img/dummy/honda_gx.png" />';
				}
				else
				{
					honda = '';
				}
				
//				$("#steps").append('<div class="product"><h3><a href="/search/'+code+'">'+code+'<br />'+details[code][0]+'</a></h3><a href="/search/'+code+'"><img src="/assets/img/products/thumbs/'+code+'.jpg" /></a><p class="free">Free Air: '+details[code][2]+' @ '+details[code][3]+'PSI</p><p>'+amps+hp+'<br />'+details[code][1]+'</p>'+honda+'</div>');

				$("#steps").append('<div class="product"><h3><a href="#'+code+'">'+code+'<br />'+details[code][0]+'</a></h3><a href="#'+code+'"><img src="/assets/img/products/thumbs/'+code+'.jpg" /></a><p class="free">Free Air: '+details[code][2]+' @ '+details[code][3]+'PSI</p><p>'+amps+hp+'<br />'+details[code][1]+'</p>'+honda+'</div>');

				
				$("#steps").append("<div id='product-"+code+"' class='prodDetail'></div>");
				$("#product-"+code).load('/data/get_details.php?code='+code);
				
			});
			
			$(this).fadeIn(function(){
				if($("#finder-warning").html()!="")$("#finder-warning").fadeIn();				
			});
		});		
	}
	
	function productDetails(prodID){
	
		$("#product-"+prodID).fadeIn();
	
	};
	
	function displayNotes(combo)
	{
		$("#finder-warning").hide();
		$("#finder-warning").text(notes[combo]);
	}
	
	function setupSteps()
	{
		for(var x=0; x < flows.length; x++)
		{
			$("#steps").append('<div class="step thumb"><img class="button" id="step1-'+x+'" src="/assets/img/dummy/'+flows[x]+'.jpg" width="156" height="152" alt="" /></div>');
		}
	}
	
	//INTRO

    //$.preload("/assets/img/slide/slide2.jpg","/assets/img/slide/slide3.jpg");

    var slides = Array(2)
    slides[1] = "";
    slides[2] = "";

    var slide = 1;

    var urls = ['2','3'];

    $.preload( urls, {
    base:'/assets/img/slide/slide',
    ext:'.jpg',
    onComplete:function( data )
    {

      $("#intro-slideshow").append('<a href="#"><img src="'+data.image+'" alt="'+slides[slide]+'" title="'+slides[slide]+'" /></a>');
      slide++;
      var img = new Image();
      img.src = data.image;
    },
    onFinish:function()
    { 
      jQuery('#intro-slideshow').cycle({timeout: 5000});
    }
    });

});

