﻿//Client-side implementation of the maintenance schedules page
//NOTE: this is unchanged legacy code

var n = navigator, d = document;
var agent = n.userAgent.toLowerCase();

//Browser sniff hash obj
var sniff = {
	bw: {
		ns:d.layers,
		ie:d.all && !d.getElementById,
		ie4:agent.indexOf("MSIE 4.") != -1,
		ie5:agent.indexOf("MSIE 5.") != -1,
		ie6:agent.indexOf("MSIE 6.") != -1,
		dom:d.getElementById,
		ns6:d.getElementById && agent.indexOf("Gecko") != -1
	},
	os: {
		win:agent.indexOf("Win") != -1,
		mac:agent.indexOf("Mac") != -1
	}
};

maint_003750_03_Replace = new Array(
//	PM   S1   S2	//
	'x', 'x', 'x1',	'Replace engine oil and filter',
	' ', ' ', ' ',	'Lubricate all locks/hinges',
	' ', ' ', ' ',	'Lubricate propeller shaft (4WD)',
	' ', ' ', ' ', 	'Road test vehicle',
	' ', ' ', ' ', 	'Replace automatic transmission/CVT fluid',
	' ', ' ', ' ', 	'Replace differential oil (limited-slip, conventional)',
	' ', ' ', ' ', 	'Replace engine air filter',
	' ', ' ', ' ', 	'Replace engine coolant/flush system',
	' ', ' ', ' ', 	'Replace engine coolant',
	' ', ' ', ' ', 	'Replace engine drive belts',
	' ', ' ', ' ', 	'Replace free-running hub grease',
	' ', ' ', ' ', 	'Replace front wheel bearing grease (4WD only)',
	' ', ' ', ' ', 	'Replace fuel filter',
	' ', ' ', ' ', 	'Replace in-cabin microfilter',
	' ', ' ', ' ', 	'Replace limited-slip differential oil',
	' ', ' ', ' ', 	'Replace manual transmission oil',
	' ', ' ', ' ', 	'Replace PCV filter (4 cylinder Frontier/Xterra)',
	' ', ' ', ' ', 	'Replace radiator cap',
	' ', ' ', ' ', 	'Replace radiator hoses',
	' ', ' ', ' ', 	'Replace spark plugs',
	' ', ' ', ' ', 	'Replace transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Replace water pump',
	' ', ' ', ' ', 	'Replace wiper blades',
	' ', ' ', ' ', 	'Rotate tires (except 370Z)',
	' ', ' ', ' ', 	'Optional: flush automatic transmission (flush with ATF)',
	' ');			// LAST LINE

maint_003750_03_Inspect = new Array(
//	PM   S1   S2	//
	' ', ' ', ' ', 	'Air conditioning system',
	'x', ' ', ' ', 	'All lights',
	' ', ' ', ' ', 	'Automatic transmission/CVT fluid',
	' ', ' ', ' ', 	'Axle & suspension parts',
	' ', ' ', ' ', 	'Battery fluid level/terminals',
	' ', ' ', ' ', 	'Brake lines & cables',
	'x', ' ', ' ', 	'Brake fluid level',
	' ', ' ', ' ', 	'Brake pads, rotors, drums & linings',
	' ', ' ', ' ', 	'Charging/Starting system',
	'x', ' ', ' ', 	'Clutch fluid',
	' ', ' ', ' ', 	'Cruise control vacuum hoses',
	'x', ' ', ' ', 	'Differential oil <sup>2</sup>',
	' ', ' ', ' ', 	'Drive shaft boots',
	'x', ' ', ' ', 	'Engine air filter',
	'x', ' ', ' ', 	'Engine coolant level/top-off',
	'x', ' ', ' ', 	'Engine drive belts',
	' ', ' ', ' ', 	'Exhaust system',
	' ', ' ', ' ', 	'Free-running hub grease',
	' ', ' ', ' ', 	'Front suspension ball joints',
	' ', ' ', ' ', 	'Front wheel bearing grease (4WD only)',
	' ', ' ', ' ', 	'Fuel lines/connections',
	' ', ' ', ' ', 	'Fuel tank vapor vent system hoses',
	' ', ' ', ' ', 	'Headlights/adjust if necessary',
	' ', ' ', ' ', 	'Horn operation',
	' ', ' ', ' ', 	'Limited-slip differential oil',
	' ', ' ', ' ', 	'Manual transmission oil',
	'x', ' ', ' ', 	'Power steering fluid/top-off',
	' ', ' ', ' ', 	'Propeller shaft',
	'x', ' ', ' ', 	'Radiator hoses',
	' ', ' ', ' ', 	'Shock absorbers/struts',
	' ', ' ', ' ', 	'Steering gear and linkage',
	' ', ' ', ' ', 	'Steering linkage ball joints',
	'x', ' ', ' ', 	'Tires/adjust air pressure',
	'x', ' ', ' ', 	'Transmission fluid/oil',
	' ', ' ', ' ', 	'Transfer case oil (4WD/AWD)',
	'x', ' ', ' ', 	'Washer fluid level/top-off',
	'x', ' ', ' ', 	'Wiper blades',
	' ');			// LAST LINE

maint_003750_03_opt = '<table border="0"><tr valign="top"><td class="gInformationText"><i>1</i></td><td class="charttext"><i>Titan FFV and Armadam FFV only.</i></td></tr><tr valign="top"><td class="gInformationText"><i>2</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.<br /><br />Armada only: If towing a trailer during the first 3,750 miles or 3 months replace the rear differential oil at 3,750 miles or 3 months, whichever comes first.</i></td></tr></table>';

maint_007500_06_Replace = new Array(
//	PM   S1   S2	//
	'x', 'x', 'x',	'Replace engine oil and filter',
	' ', ' ', ' ',	'Lubricate all locks/hinges',
	'x', 'x', ' ',	'Lubricate propeller shaft (4WD) <sup>1</sup>',
	'x', ' ', ' ', 	'Road test vehicle',
	' ', ' ', ' ', 	'Replace automatic transmission/CVT fluid',
	' ', ' ', ' ', 	'Replace differential oil (limited-slip, conventional)',
	' ', ' ', ' ', 	'Replace engine air filter',
	' ', ' ', ' ', 	'Replace engine coolant/flush system',
	' ', ' ', ' ', 	'Replace engine coolant',
	' ', ' ', ' ', 	'Replace engine drive belts',
	' ', ' ', ' ', 	'Replace free-running hub grease',
	' ', ' ', ' ', 	'Replace front wheel bearing grease (4WD only)',
	' ', ' ', ' ', 	'Replace fuel filter',
	' ', ' ', ' ', 	'Replace in-cabin microfilter',
	' ', ' ', ' ', 	'Replace limited-slip differential oil',
	' ', ' ', ' ', 	'Replace manual transmission oil',
	' ', ' ', ' ', 	'Replace PCV filter (4 cylinder Frontier/Xterra)',
	' ', ' ', ' ', 	'Replace radiator cap',
	' ', ' ', ' ', 	'Replace radiator hoses',
	' ', ' ', ' ', 	'Replace spark plugs',
	' ', ' ', ' ', 	'Replace transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Replace water pump',
	' ', ' ', ' ', 	'Replace wiper blades',
	'x', 'x', 'x', 	'Rotate tires (except 370Z)',
	' ', ' ', ' ', 	'Optional: flush automatic transmission (flush with ATF)',
	' ');			// LAST LINE

maint_007500_06_Inspect = new Array(
//	PM   S1   S2	//
	' ', ' ', ' ', 	'Air conditioning system',
	'x', ' ', ' ', 	'All lights',
	'x', ' ', ' ', 	'Automatic transmission/CVT fluid',
	'x', 'x', ' ', 	'Axle & suspension parts',
	'x', ' ', ' ', 	'Battery fluid level/terminals',
	' ', ' ', ' ', 	'Brake lines & cables',
	'x', ' ', ' ', 	'Brake fluid level',
	'x', 'x', ' ', 	'Brake pads, rotors, drums & linings',
	'x', ' ', ' ', 	'Charging/Starting system',
	'x', ' ', ' ', 	'Clutch fluid',
	' ', ' ', ' ', 	'Cruise control vacuum hoses',
	'x', ' ', ' ', 	'Differential oil <sup>2</sup>',
	'x', 'x', ' ', 	'Drive shaft boots <sup>3</sup>',
	'x', ' ', ' ', 	'Engine air filter',
	'x', ' ', ' ', 	'Engine coolant level/top-off',
	'x', ' ', ' ', 	'Engine drive belts',
	'x', 'x', ' ', 	'Exhaust system',
	' ', ' ', ' ', 	'Free-running hub grease',
	'x', 'x', ' ', 	'Front suspension ball joints',
	' ', ' ', ' ', 	'Front wheel bearing grease (4WD only)',
	' ', ' ', ' ', 	'Fuel lines/connections',
	' ', ' ', ' ', 	'Fuel tank vapor vent system hoses',
	' ', ' ', ' ', 	'Headlights/adjust if necessary',
	'x', ' ', ' ', 	'Horn operation',
	'x', ' ', ' ', 	'Limited-slip differential oil <sup>4</sup>',
	'x', ' ', ' ', 	'Manual transmission oil',
	'x', ' ', ' ', 	'Power steering fluid/top-off',
	'x', 'x', ' ', 	'Propeller shaft <sup>2</sup>',
	'x', ' ', ' ', 	'Radiator hoses',
	'x', ' ', ' ', 	'Shock absorbers/struts',
	'x', 'x', ' ', 	'Steering gear and linkage',
	'x', 'x', ' ', 	'Steering linkage ball joints',
	' ', ' ', ' ', 	'Tires/adjust air pressure',
	' ', ' ', ' ', 	'Transmission fluid/oil',
	'x', ' ', ' ', 	'Transfer case oil (4WD/AWD)',
	'x', ' ', ' ', 	'Washer fluid level/top-off',
	'x', ' ', ' ', 	'Wiper blades',
	' ');			// LAST LINE

maint_007500_06_opt = '<table border="0"><tr valign="top"><td class="charttext"><i>1</i></td><td class="charttext"><i>Propeller shaft should be re-greased after being immersed in water.</i></td></tr><tr valign="top"><td class="charttext"><i>2</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>3</i></td><td class="charttext"><i>All models except 2WD versions of Frontier, Pathfinder, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>4</i></td><td class="charttext"><i>Optional equipment on Frontier, Xterra.</i></td></tr></table>';

maint_011250_09_Replace = maint_003750_03_Replace;
maint_011250_09_Inspect = maint_003750_03_Inspect;
maint_011250_09_opt = '<table border="0"><tr valign="top"><td class="charttext"><i>1</i></td><td class="charttext"><i>Titan FFV and Armada FFV only.</i></td></tr><tr valign="top"><td class="charttext"><i>2</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.</i></td></tr></table>';

maint_015000_12_Replace = new Array(
//	PM   S1   S2	//
	'x', 'x', 'x',	'Replace engine oil and filter',
	'x', ' ', ' ',	'Lubricate all locks/hinges',
	'x', 'x', 'x',	'Lubricate propeller shaft (4WD) <sup>1</sup>',
	' ', ' ', ' ', 	'Road test vehicle',
	' ', ' ', ' ', 	'Replace automatic transmission/CVT fluid',
	' ', ' ', ' ', 	'Replace differential oil (limited-slip, conventional)',
	'x', ' ', ' ', 	'Replace engine air filter',
	' ', ' ', ' ', 	'Replace engine coolant/flush system',
	' ', ' ', ' ', 	'Replace engine coolant',
	' ', ' ', ' ', 	'Replace engine drive belts',
	' ', ' ', ' ', 	'Replace free-running hub grease',
	' ', ' ', ' ', 	'Replace front wheel bearing grease (4WD only)',
	' ', ' ', ' ', 	'Replace fuel filter',
	'x', 'x', 'x', 	'Replace in-cabin microfilter <sup>2</sup>',
	' ', ' ', ' ', 	'Replace limited-slip differential oil',
	' ', ' ', ' ', 	'Replace manual transmission oil',
	' ', ' ', ' ', 	'Replace PCV filter (4 cylinder Frontier/Xterra)',
	' ', ' ', ' ', 	'Replace radiator cap',
	' ', ' ', ' ', 	'Replace radiator hoses',
	' ', ' ', ' ', 	'Replace spark plugs',
	' ', ' ', ' ', 	'Replace transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Replace water pump',
	'x', ' ', ' ', 	'Replace wiper blades',
	'x', 'x', 'x', 	'Rotate tires (except 370Z)',
	' ', ' ', ' ', 	'Optional: flush automatic transmission (flush with ATF)',
	' ');			// LAST LINE

maint_015000_12_Inspect = new Array(
//	PM   S1   S2	//
	'x', ' ', ' ', 	'Air conditioning system',
	'x', ' ', ' ', 	'All lights',
	'x', 'x', 'x', 	'Automatic transmission/CVT fluid (except 370Z)',
	'x', 'x', 'x', 	'eCVT fluid (Altima Hybrid only)',
	'x', 'x', ' ', 	'Axle & suspension parts',
	' ', ' ', ' ', 	'Battery fluid level/terminals',
	'x', 'x', 'x', 	'Brake lines & cables',
	' ', ' ', ' ', 	'Brake fluid level',
	'x', 'x', 'x', 	'Brake pads, rotors, drums & linings',
	' ', ' ', ' ', 	'Charging/Starting system',
	' ', ' ', ' ', 	'Clutch fluid',
	'x', 'x', 'x', 	'Cruise control vacuum hoses',
	'x', 'x', 'x', 	'Differential oil <sup>3</sup>',
	'x', 'x', 'x', 	'Drive shaft boots <sup>4</sup>',
	' ', ' ', ' ', 	'Engine air filter',
	' ', ' ', ' ', 	'Engine coolant level/top-off',
	'x', ' ', ' ', 	'Engine drive belts',
	'x', 'x', ' ', 	'Exhaust system',
	'x', 'x', 'x', 	'Free-running hub grease <sup>5</sup>',
	'x', 'x', ' ', 	'Front suspension ball joints',
	'x', 'x', 'x', 	'Front wheel bearing grease (4WD only) <sup>6</sup>',
	' ', ' ', ' ', 	'Fuel lines/connections',
	' ', ' ', ' ', 	'Fuel tank vapor vent system hoses',
	' ', ' ', ' ', 	'Headlights/adjust if necessary',
	' ', ' ', ' ', 	'Horn operation',
	'x', 'x', 'x', 	'Limited-slip differential oil <sup>7,8</sup>',
	'x', 'x', 'x', 	'Manual transmission oil',
	' ', ' ', ' ', 	'Power steering fluid/top-off',
	'x', 'x', 'x', 	'Propeller shaft <sup>3</sup>',
	' ', ' ', ' ', 	'Radiator hoses',
	' ', ' ', ' ', 	'Shock absorbers/struts',
	'x', 'x', ' ', 	'Steering gear and linkage',
	'x', 'x', ' ', 	'Steering linkage ball joints',
	' ', ' ', ' ', 	'Tires/adjust air pressure',
	' ', ' ', ' ', 	'Transmission fluid/oil',
	'x', 'x', 'x', 	'Transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Washer fluid level/top-off',
	' ', ' ', ' ', 	'Wiper blades',
	' ');			// LAST LINE

maint_015000_12_opt = '<table border="0"><tr valign="top"><td class="charttext"><i>1</i></td><td class="charttext"><i>Propeller shaft should be re-greased after being immersed in water.</i></td></tr><tr valign="top"><td class="charttext"><i>2</i></td><td class="charttext"><i>Standard equipment on Cube, Murano, Altima (except 2.5 Base), Altima Coupe, Pathfinder, Frontier LE and Pro-4X Off-Road, Maxima, Titan Crew Cab LE, Quest, Sentra, Versa (except 1.6 Entry) and Xterra (except X). Optional accessory on all other models.</i></td></tr><tr valign="top"><td class="charttext"><i>3</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>4</i></td><td class="charttext"><i>All Front wheel drive, 4WD and AWD models.</i></td></tr><tr valign="top"><td class="charttext"><i>5</i></td><td class="charttext"><i>4WD versions of Frontier, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>6</i></td><td class="charttext"><i>Frontier, Pathfinder, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>7</i></td><td class="charttext"><i>Optional equipment on Frontier, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>8</i></td><td class="charttext"><i>Replace (not just inspect) oil if towing a trailer, using a camper or a car-top carrier, or driving on rough or muddy roads.</i></td></tr></table>';

maint_018750_15_Replace = maint_003750_03_Replace;
maint_018750_15_Inspect = maint_003750_03_Inspect;
maint_018750_15_opt = maint_011250_09_opt;

maint_022500_18_Replace = maint_007500_06_Replace;
maint_022500_18_Inspect = maint_007500_06_Inspect;
maint_022500_18_opt = '<table border="0"><tr valign="top"><td class="charttext"><i>1</i></td><td class="charttext"><i>Propeller shaft should be re-greased after being immersed in water.</i></td></tr><tr valign="top"><td class="charttext"><i>2</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>3</i></td><td class="charttext"><i>All Front wheel drive, 4WD and AWD models.</i></td></tr><tr valign="top"><td class="charttext"><i>4</i></td><td class="charttext"><i>Optional equipment on Frontier, Xterra.</i></td></tr></table>';

maint_026250_21_Replace = maint_003750_03_Replace;
maint_026250_21_Inspect = maint_003750_03_Inspect;
maint_026250_21_opt = maint_011250_09_opt;

maint_030000_24_Replace = new Array(
//	PM   S1   S2	//
	'x', 'x', 'x',	'Replace engine oil and filter',
	'x', 'x', 'x',	'Replace climate-controlled seat filter (if so equipped)',
	'x', ' ', ' ',	'Lubricate all locks/hinges',
	'x', 'x', 'x',	'Lubricate propeller shaft (4WD) <sup>1</sup>',
	' ', ' ', ' ', 	'Road test vehicle',
	'x', ' ', ' ', 	'Replace automatic transmission/CVT fluid/eCVT fluid (except 370Z)',
	'x', ' ', ' ', 	'Replace differential oil (limited-slip, conventional) <sup>2</sup>',
	'x', 'x', 'x', 	'Replace engine air filter',
	'x', ' ', ' ', 	'Replace engine coolant/flush system',
	'x', ' ', ' ', 	'Replace engine coolant',
	'x', ' ', ' ', 	'Replace engine drive belts',
	'x', 'x', 'x', 	'Replace free-running hub grease <sup>3</sup>',
	'x', 'x', 'x', 	'Replace front wheel bearing grease (4WD only) <sup>4</sup>',
	'x', ' ', ' ', 	'Replace fuel filter <sup>4</sup>',
	'x', 'x', 'x', 	'Replace in-cabin microfilter <sup>5</sup>',
	'x', 'x', 'x', 	'Replace limited-slip differential oil',
	'x', ' ', ' ', 	'Replace manual transmission oil',
	'x', 'x', 'x', 	'Replace PCV filter (4 cylinder Frontier/Xterra)',
	'x', ' ', ' ', 	'Replace radiator cap',
	' ', ' ', ' ', 	'Replace radiator hoses',
	' ', ' ', ' ', 	'Replace spark plugs',
	'x', ' ', ' ', 	'Replace transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Replace water pump',
	'x', ' ', ' ', 	'Replace wiper blades',
	'x', 'x', 'x', 	'Rotate tires (except 370Z)',
	'x', ' ', ' ', 	'Optional: flush automatic transmission (flush with ATF)',
	' ');			// LAST LINE

maint_030000_24_Inspect = new Array(
//	PM   S1   S2	//
	' ', ' ', ' ', 	'Air conditioning system',
	'x', ' ', ' ', 	'All lights',
	' ', 'x', 'x', 	'Automatic transmission/CVT fluid <sup>6</sup>(except 370Z)',
	' ', 'x', 'x', 	'eCVT fluid <sup>6</sup>(Altima Hybrid only)',
	'x', 'x', 'x', 	'Axle & suspension parts',
	' ', ' ', ' ', 	'Battery fluid level/terminals',
	'x', 'x', 'x', 	'Brake lines & cables',
	' ', ' ', ' ', 	'Brake fluid level',
	'x', 'x', 'x', 	'Brake pads, rotors, drums & linings',
	' ', ' ', ' ', 	'Charging/Starting system',
	' ', ' ', ' ', 	'Clutch fluid',
	'x', 'x', 'x', 	'Cruise control vacuum hoses',
	' ', 'x', 'x', 	'CVT fluid (Murano)',
	' ', 'x', 'x', 	'Differential oil <sup>2,6</sup>',
	'x', 'x', 'x', 	'Drive shaft boots <sup>7</sup>',
	' ', ' ', ' ', 	'Engine air filter',
	' ', ' ', ' ', 	'Engine coolant level/top-off',
	' ', 'x', 'x', 	'Engine drive belts <sup>8</sup>',
	'x', 'x', 'x', 	'Exhaust system',
	' ', ' ', ' ', 	'Free-running hub grease',
	'x', 'x', 'x', 	'Front suspension ball joints',
	'x', 'x', 'x', 	'Front wheel bearing grease (2WD only)',
	'x', 'x', 'x', 	'Fuel lines/connections',
	'x', 'x', 'x', 	'Fuel tank vapor vent system hoses',
	'x', ' ', ' ', 	'Headlights/adjust if necessary',
	' ', ' ', ' ', 	'Horn operation',
	' ', ' ', ' ', 	'Limited-slip differential oil <sup>9</sup>',
	' ', 'x', 'x', 	'Manual transmission oil <sup>6</sup>',
	' ', ' ', ' ', 	'Power steering fluid/top-off',
	'x', 'x', 'x', 	'Propeller shaft <sup>2</sup>',
	' ', ' ', ' ', 	'Radiator hoses',
	' ', ' ', ' ', 	'Shock absorbers/struts',
	'x', 'x', 'x', 	'Steering gear and linkage',
	'x', 'x', 'x', 	'Steering linkage ball joints',
	' ', ' ', ' ', 	'Tires/adjust air pressure',
	' ', ' ', ' ', 	'Transmission fluid/oil',
	' ', 'x', 'x', 	'Transfer case oil (4WD/AWD) <sup>6</sup>',
	' ', ' ', ' ', 	'Washer fluid level/top-off',
	' ', ' ', ' ', 	'Wiper blades',
	' ');			// LAST LINE

maint_030000_24_opt = '<table border="0"><tr valign="top"><td class="charttext"><i>1</i></td><td class="charttext"><i>Propeller shaft should be re-greased after being immersed in water.</i></td></tr><tr valign="top"><td class="charttext"><i>2</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>3</i></td><td class="charttext"><i>4WD versions of Frontier, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>4</i></td><td class="charttext"><i>Frontier, Pathfinder, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>5</i></td><td class="charttext"><i>Standard equipment on Altima, Maxima, Murano, Armada LE, Quest SE, and Titan Crew Cab LE, SE. Optional accessory on all other models.</i></td></tr><tr valign="top"><td class="charttext"><i>6</i></td><td class="charttext"><i>Replace (not just inspect) oil if towing a trailer, using a camper or a car-top carrier, or driving on rough or muddy roads.</i></td></tr><tr valign="top"><td class="charttext"><i>7</i></td><td class="charttext"><i>All models except 2WD versions of Frontier, Pathfinder, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>8</i></td><td class="charttext"><i>Frontier, Pathfinder, Armada, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>9</i></td><td class="charttext"><i>Optional equipment on Frontier, Xterra.</i></td></tr></table>';


maint_033750_27_Replace = maint_003750_03_Replace;
maint_033750_27_Inspect = maint_003750_03_Inspect;
maint_033750_27_opt = maint_011250_09_opt;

maint_037500_30_Replace = maint_007500_06_Replace;
maint_037500_30_Inspect = maint_007500_06_Inspect;
maint_037500_30_opt = maint_007500_06_opt;

maint_041250_33_Replace = maint_003750_03_Replace;
maint_041250_33_Inspect = maint_003750_03_Inspect;
maint_041250_33_opt = maint_011250_09_opt;

maint_045000_36_Replace = maint_015000_12_Replace;
maint_045000_36_Inspect = new Array(
//	PM   S1   S2	//
	'x', ' ', ' ', 	'Air conditioning system',
	'x', ' ', ' ', 	'All lights',
	'x', 'x', 'x', 	'Automatic transmission/CVT fluid (except 370Z)',
	'x', 'x', 'x', 	'eCVT fluid (Altima Hybrid only)',
	'x', 'x', ' ', 	'Axle & suspension parts',
	' ', ' ', ' ', 	'Battery fluid level/terminals',
	'x', 'x', 'x', 	'Brake lines & cables',
	' ', ' ', ' ', 	'Brake fluid level',
	'x', 'x', 'x', 	'Brake pads, rotors, drums & linings',
	' ', ' ', ' ', 	'Charging/Starting system',
	' ', ' ', ' ', 	'Clutch fluid',
	'x', 'x', 'x', 	'Cruise control vacuum hoses',
	'x', 'x', 'x', 	'Differential oil <sup>3</sup>',
	'x', 'x', 'x', 	'Drive shaft boots <sup>4</sup>',
	' ', ' ', ' ', 	'Engine air filter',
	' ', ' ', ' ', 	'Engine coolant level/top-off',
	'x', ' ', ' ', 	'Engine drive belts',
	'x', 'x', ' ', 	'Exhaust system',
	'x', ' ', ' ', 	'Free-running hub grease',
	'x', 'x', ' ', 	'Front suspension ball joints',
	'x', ' ', ' ', 	'Front wheel bearing grease (4WD only)',
	' ', ' ', ' ', 	'Fuel lines/connections',
	' ', ' ', ' ', 	'Fuel tank vapor vent system hoses',
	' ', ' ', ' ', 	'Headlights/adjust if necessary',
	' ', ' ', ' ', 	'Horn operation',
	'x', ' ', ' ', 	'Limited-slip differential oil',
	'x', 'x', 'x', 	'Manual transmission oil',
	' ', ' ', ' ', 	'Power steering fluid/top-off',
	'x', 'x', 'x', 	'Propeller shaft (4WD, AWD, RWD)',
	' ', ' ', ' ', 	'Radiator hoses',
	' ', ' ', ' ', 	'Shock absorbers/struts',
	'x', 'x', ' ', 	'Steering gear and linkage',
	'x', 'x', ' ', 	'Steering linkage ball joints',
	' ', ' ', ' ', 	'Tires/adjust air pressure',
	' ', ' ', ' ', 	'Transmission fluid/oil',
	'x', 'x', 'x', 	'Transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Washer fluid level/top-off',
	' ', ' ', ' ', 	'Wiper blades',
	' ');			// LAST LINE

maint_045000_36_opt = '<table border="0"><tr valign="top"><td class="charttext"><i>1</i></td><td class="charttext"><i>Propeller shaft should be re-greased after being immersed in water.</i></td></tr><tr valign="top"><td class="charttext"><i>2</i></td><td class="charttext"><i>Standard equipment on Cube, Murano, Altima (except 2.5 Base), Altima Coupe, Pathfinder, Frontier LE and Pro-4X Off-Road, Maxima, Titan Crew Cab LE, Quest, Rogue, Sentra, Versa (except 1.6 Entry) and Xterra (except X). Optional accessory on all other models.</i></td></tr><tr valign="top"><td class="charttext"><i>3</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>4</i></td><td class="charttext"><i>All Front wheel drive, 4WD, AWD models.</i></td></tr></table>';

maint_048750_39_Replace = maint_003750_03_Replace;
maint_048750_39_Inspect = maint_003750_03_Inspect;
maint_048750_39_opt = maint_011250_09_opt;

maint_052500_42_Replace = maint_007500_06_Replace;
maint_052500_42_Inspect = maint_007500_06_Inspect;
maint_052500_42_opt = maint_007500_06_opt;

maint_056250_45_Replace = maint_003750_03_Replace;
maint_056250_45_Inspect = maint_003750_03_Inspect;
maint_056250_45_opt = maint_011250_09_opt;

maint_060000_48_Replace = new Array(
//	PM   S1   S2	//
	'x', 'x', 'x',	'Replace engine oil and filter',
	'x', 'x', 'x',	'Replace climate-controlled seat filter (if equipped)',
	'x', ' ', ' ',	'Lubricate all locks/hinges',
	'x', 'x', 'x',	'Lubricate propeller shaft (4WD) <sup>1</sup>',
	' ', ' ', ' ', 	'Road test vehicle',
	'x', ' ', ' ', 	'Replace automatic transmission/CVT fluid/eCVT fluid (except 370Z)',
	'x', ' ', ' ', 	'Replace differential oil (limited-slip, conventional) <sup>2</sup>',
	'x', 'x', 'x', 	'Replace engine air filter',
	'x', ' ', ' ', 	'Replace engine coolant/flush system',
	' ', 'x', 'x', 	'Replace engine coolant',
	'x', 'x', 'x', 	'Replace HEV inverter coolant (Altima Hybrid)',
	'x', ' ', ' ', 	'Replace engine drive belts',
	'x', 'x', 'x', 	'Replace free-running hub grease <sup>3</sup>',
	'x', 'x', 'x', 	'Replace front wheel bearing grease (4WD only) <sup>4</sup>',
	'x', ' ', ' ', 	'Replace fuel filter <sup>4</sup>',
	'x', 'x', 'x', 	'Replace in-cabin microfilter <sup>5</sup>',
	' ', 'x', 'x', 	'Replace limited-slip differential oil <sup>7</sup>',
	'x', ' ', ' ', 	'Replace manual transmission oil (if applicable)',
	' ', 'x', 'x', 	'Replace manual transmission oil (Frontier only)',
	'x', 'x', 'x', 	'Replace PCV filter (4 cylinder Frontier/Xterra)',
	'x', ' ', ' ', 	'Replace radiator cap',
	'x', ' ', ' ', 	'Replace radiator hoses',
	' ', ' ', ' ', 	'Replace spark plugs',
	'x', ' ', ' ', 	'Replace transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Replace water pump',
	'x', ' ', ' ', 	'Replace wiper blades',
	'x', 'x', 'x', 	'Rotate tires (where applicable)',
	'x', ' ', ' ', 	'Optional: flush automatic transmission (flush with ATF)',
	' ');			// LAST LINE

maint_060000_48_Inspect = new Array(
//	PM   S1   S2	//
	' ', ' ', ' ', 	'Air conditioning system',
	'x', ' ', ' ', 	'All lights',
	' ', 'x', 'x', 	'Automatic transmission/CVT fluid <sup>8</sup> (except 370Z)',
	' ', 'x', 'x', 	'eCVT fluid <sup>8</sup> (Altima Hybrid)',
	'x', 'x', 'x', 	'Axle & suspension parts',
	' ', ' ', ' ', 	'Battery fluid level/terminals',
	'x', 'x', 'x', 	'Brake lines & cables',
	' ', ' ', ' ', 	'Brake fluid level',
	'x', 'x', 'x', 	'Brake pads, rotors, drums & linings',
	' ', ' ', ' ', 	'Charging/Starting system',
	' ', ' ', ' ', 	'Clutch fluid',
	'x', 'x', 'x', 	'Cruise control vacuum hoses',
	' ', 'x', 'x', 	'Differential oil <sup>2,8</sup>',
	'x', 'x', 'x', 	'Drive shaft boots <sup>6</sup>',
	' ', ' ', ' ', 	'Engine air filter',
	' ', ' ', ' ', 	'Engine coolant level/top-off',
	' ', 'x', 'x', 	'Engine drive belts',
	'x', 'x', 'x', 	'Exhaust system',
	' ', ' ', ' ', 	'Free-running hub grease',
	'x', 'x', 'x', 	'Front suspension ball joints',
	'x', 'x', 'x', 	'Front wheel bearing grease (2WD only) <sup>4</sup>',
	'x', 'x', 'x', 	'Fuel lines/connections',
	'x', 'x', 'x', 	'Fuel tank vapor vent system hoses',
	'x', ' ', ' ', 	'Headlights/adjust if necessary',
	' ', ' ', ' ', 	'Horn operation',
	' ', ' ', ' ', 	'Limited-slip differential oil',
	' ', 'x', 'x', 	'Manual transmission oil <sup>8</sup>',
	' ', ' ', ' ', 	'Power steering fluid/top-off',
	'x', 'x', 'x', 	'Propeller shaft <sup>2</sup>',
	' ', ' ', ' ', 	'Radiator hoses',
	' ', ' ', ' ', 	'Shock absorbers/struts',
	'x', 'x', 'x', 	'Steering gear and linkage',
	'x', 'x', 'x', 	'Steering linkage ball joints',
	' ', ' ', ' ', 	'Tires/adjust air pressure',
	' ', ' ', ' ', 	'Transmission fluid/oil',
	' ', 'x', 'x', 	'Transfer case oil (4WD/AWD) <sup>8</sup>',
	' ', ' ', ' ', 	'Washer fluid level/top-off',
	' ', ' ', ' ', 	'Wiper blades',
	' ');			// LAST LINE

maint_060000_48_opt = '<table border="0"><tr valign="top"><td class="charttext"><i>1</i></td><td class="charttext"><i>Propeller shaft should be re-greased after being immersed in water.</i></td></tr><tr valign="top"><td class="charttext"><i>2</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>3</i></td><td class="charttext"><i>4WD versions of Frontier, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>4</i></td><td class="charttext"><i>Frontier, Pathfinder, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>5</i></td><td class="charttext"><i>Standard equipment on Cube, Murano, Altima (except 2.5 Base), Altima Coupe, Pathfinder, Frontier LE and Pro-4X Off-Road, Maxima, Titan Crew Cab LE, Quest, Rogue, Sentra, Versa (except 1.6 Entry) and Xterra (except X). Optional accessory on all other models.</i></td></tr><tr valign="top"><td class="charttext"><i>6</i></td><td class="charttext"><i>All models except 2WD versions of Frontier, Pathfinder, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>7</i></td><td class="charttext"><i>Optional equipment on Frontier, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>8</i></td><td class="charttext"><i>Replace (not just inspect) oil if towing a trailer, using a camper or a car-top carrier, or driving on rough or muddy roads.</i></td></tr></table>';

maint_063750_51_Replace = maint_003750_03_Replace;
maint_063750_51_Inspect = maint_003750_03_Inspect;
maint_063750_51_opt = maint_011250_09_opt;

maint_067500_54_Replace = maint_007500_06_Replace;
maint_067500_54_Inspect = maint_007500_06_Inspect;
maint_067500_54_opt = maint_007500_06_opt;

maint_071250_57_Replace = maint_003750_03_Replace;
maint_071250_57_Inspect = maint_003750_03_Inspect;
maint_071250_57_opt = maint_011250_09_opt;

maint_075000_60_Replace = maint_015000_12_Replace;
maint_075000_60_Inspect = new Array(
//	PM   S1   S2	//
	'x', ' ', ' ', 	'Air conditioning system',
	'x', ' ', ' ', 	'All lights',
	'x', 'x', 'x', 	'Automatic transmission/CVT fluid (except 370Z)',
	'x', 'x', 'x', 	'eCVT fluid (Altima Hybrid)',
	'x', 'x', ' ', 	'Axle & suspension parts',
	' ', ' ', ' ', 	'Battery fluid level/terminals',
	'x', 'x', 'x', 	'Brake lines & cables',
	' ', ' ', ' ', 	'Brake fluid level',
	'x', 'x', 'x', 	'Brake pads, rotors, drums & linings',
	' ', ' ', ' ', 	'Charging/Starting system',
	' ', ' ', ' ', 	'Clutch fluid',
	'x', 'x', 'x', 	'Cruise control vacuum hoses',
	'x', 'x', 'x', 	'Differential oil <sup>3</sup>',
	'x', 'x', 'x', 	'Drive shaft boots <sup>4</sup>',
	' ', ' ', ' ', 	'Engine air filter',
	' ', ' ', ' ', 	'Engine coolant level/top-off',
	'x', 'x', 'x', 	'Engine drive belts',
	'x', 'x', ' ', 	'Exhaust system',
	'x', 'x', 'x', 	'Free-running hub grease <sup>5</sup>',
	'x', 'x', ' ', 	'Front suspension ball joints',
	'x', 'x', 'x', 	'Front wheel bearing grease (4WD only) <sup>6</sup>',
	' ', ' ', ' ', 	'Fuel lines/connections',
	' ', ' ', ' ', 	'Fuel tank vapor vent system hoses',
	' ', ' ', ' ', 	'Headlights/adjust if necessary',
	' ', ' ', ' ', 	'Horn operation',
	'x', 'x', 'x', 	'Limited-slip differential oil <sup>7,8</sup>',
	'x', 'x', 'x', 	'Manual transmission oil',
	' ', ' ', ' ', 	'Power steering fluid/top-off',
	'x', 'x', 'x', 	'Propeller shaft <sup>3</sup>',
	' ', ' ', ' ', 	'Radiator hoses',
	' ', ' ', ' ', 	'Shock absorbers/struts',
	'x', 'x', ' ', 	'Steering gear and linkage',
	'x', 'x', ' ', 	'Steering linkage ball joints',
	' ', ' ', ' ', 	'Tires/adjust air pressure',
	' ', ' ', ' ', 	'Transmission fluid/oil',
	'x', 'x', 'x', 	'Transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Washer fluid level/top-off',
	' ', ' ', ' ', 	'Wiper blades',
	' ');			// LAST LINE

maint_075000_60_opt = '<table border="0"><tr valign="top"><td class="charttext"><i>1</i></td><td class="charttext"><i>Propeller shaft should be re-greased after being immersed in water.</i></td></tr><tr valign="top"><td class="charttext"><i>2</i></td><td class="charttext"><i>Standard equipment on Cube, Murano, Altima (except 2.5 Base), Altima Coupe, Pathfinder, Frontier LE and Pro-4X Off-Road, Maxima, Titan Crew Cab LE, Quest, Rogue, Sentra, Versa (except 1.6 Entry) and Xterra (except X). Optional accessory on all other models.</i></td></tr><tr valign="top"><td class="charttext"><i>3</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>4</i></td><td class="charttext"><i>All Front wheel drive, 4WD and AWD models.</i></td></tr><tr valign="top"><td class="charttext"><i>5</i></td><td class="charttext"><i>4WD versions of Frontier, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>6</i></td><td class="charttext"><i>Frontier, Pathfinder, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>7</i></td><td class="charttext"><i>Optional equipment on Frontier, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>8</i></td><td class="charttext"><i>Replace (not just inspect) oil if towing a trailer, using a camper or a car-top carrier, or driving on rough or muddy roads.</i></td></tr></table>';

maint_078750_63_Replace = maint_003750_03_Replace;
maint_078750_63_Inspect = maint_003750_03_Inspect;
maint_078750_63_opt = maint_011250_09_opt;

maint_082500_66_Replace = maint_007500_06_Replace;
maint_082500_66_Inspect = maint_007500_06_Inspect;
maint_082500_66_opt = maint_007500_06_opt;

maint_086250_69_Replace = maint_003750_03_Replace;
maint_086250_69_Inspect = maint_003750_03_Inspect;
maint_086250_69_opt = maint_011250_09_opt;

maint_090000_72_Replace = new Array(
//	PM   S1   S2	//
	'x', 'x', 'x',	'Replace engine oil and filter',
	'x', 'x', 'x',	'Replace climate-controlled seat (if equipped)',
	'x', ' ', ' ',	'Lubricate all locks/hinges',
	'x', 'x', 'x',	'Lubricate propeller shaft (4WD) <sup>1</sup>',
	' ', ' ', ' ', 	'Road test vehicle',
	'x', ' ', ' ', 	'Replace automatic transmission/CVT fluid/eCVT fluid (except 370Z)',
	'x', ' ', ' ', 	'Replace differential oil (limited-slip, conventional) <sup>2</sup>',
	'x', 'x', 'x', 	'Replace engine air filter',
	'x', ' ', ' ', 	'Replace engine coolant/flush system',
	' ', 'x', 'x', 	'Replace engine coolant',
	'x', 'x', 'x', 	'Replace HEV inverter coolant (Altima Hybrid)',
	'x', ' ', ' ', 	'Replace engine drive belts',
	'x', 'x', 'x', 	'Replace free-running hub grease <sup>3</sup>',
	'x', 'x', 'x', 	'Replace front wheel bearing grease (4WD only) <sup>4</sup>',
	'x', ' ', ' ', 	'Replace fuel filter <sup>4</sup>',
	'x', 'x', 'x', 	'Replace in-cabin microfilter <sup>5</sup>',
	' ', 'x', 'x', 	'Replace limited-slip differential oil',
	'x', ' ', ' ', 	'Replace manual transmission oil',
	'x', 'x', 'x', 	'Replace PCV filter (4 cylinder Frontier/Xterra)',
	'x', ' ', ' ', 	'Replace radiator cap',
	' ', ' ', ' ', 	'Replace radiator hoses',
	' ', ' ', ' ', 	'Replace spark plugs',
	'x', ' ', ' ', 	'Replace transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Replace water pump',
	'x', ' ', ' ', 	'Replace wiper blades',
	'x', 'x', 'x', 	'Rotate tires (where applicable)',
	'x', ' ', ' ', 	'Optional: flush automatic transmission (flush with ATF)',
	' ');			// LAST LINE
maint_090000_72_Inspect = new Array(
//	PM   S1   S2	//
	' ', ' ', ' ', 	'Air conditioning system',
	'x', ' ', ' ', 	'All lights',
	' ', 'x', 'x', 	'Automatic transmission/CVT fluid <sup>8</sup> (except 370Z)',
	' ', 'x', 'x', 	'eCVT fluid (Altima Hybrid)',
	'x', 'x', 'x', 	'Axle & suspension parts',
	' ', ' ', ' ', 	'Battery fluid level/terminals',
	'x', 'x', 'x', 	'Brake lines & cables',
	' ', ' ', ' ', 	'Brake fluid level',
	'x', 'x', 'x', 	'Brake pads, rotors, drums & linings',
	' ', ' ', ' ', 	'Charging/Starting system',
	' ', ' ', ' ', 	'Clutch fluid',
	'x', 'x', 'x', 	'Cruise control vacuum hoses',
	' ', 'x', 'x', 	'CVT fluid (Cube, Murano, Altima, Altima Coupe, Maxima, Rogue, Sentra, Versa)',
	' ', 'x', 'x', 	'Differential oil <sup>2,8</sup>',
	'x', 'x', 'x', 	'Drive shaft boots <sup>6</sup>',
	' ', ' ', ' ', 	'Engine air filter',
	' ', ' ', ' ', 	'Engine coolant level/top-off',
	' ', 'x', 'x', 	'Engine drive belts',
	'x', 'x', 'x', 	'Exhaust system',
	' ', ' ', ' ', 	'Free-running hub grease',
	'x', 'x', 'x', 	'Front suspension ball joints',
	'x', 'x', 'x', 	'Front wheel bearing grease (2WD only) <sup>4</sup>',
	'x', 'x', 'x', 	'Fuel lines/connections',
	'x', 'x', 'x', 	'Fuel tank vapor vent system hoses',
	'x', ' ', ' ', 	'Headlights/adjust if necessary',
	' ', ' ', ' ', 	'Horn operation',
	' ', ' ', ' ', 	'Limited-slip differential oil',
	' ', 'x', 'x', 	'Manual transmission oil <sup>8</sup>',
	' ', ' ', ' ', 	'Power steering fluid/top-off',
	'x', 'x', 'x', 	'Propeller shaft <sup>2</sup>',
	' ', ' ', ' ', 	'Radiator hoses',
	' ', ' ', ' ', 	'Shock absorbers/struts',
	'x', 'x', 'x', 	'Steering gear and linkage',
	'x', 'x', 'x', 	'Steering linkage ball joints',
	' ', ' ', ' ', 	'Tires/adjust air pressure',
	' ', ' ', ' ', 	'Transmission fluid/oil',
	' ', 'x', 'x', 	'Transfer case oil (4WD/AWD) <sup>8</sup>',
	' ', ' ', ' ', 	'Washer fluid level/top-off',
	' ', ' ', ' ', 	'Wiper blades',
	' ');			// LAST LINE
maint_090000_72_opt = maint_060000_48_opt;

maint_093750_75_Replace = maint_003750_03_Replace;
maint_093750_75_Inspect = maint_003750_03_Inspect;
maint_093750_75_opt = maint_011250_09_opt;

maint_097500_78_Replace = maint_007500_06_Replace;
maint_097500_78_Inspect = maint_007500_06_Inspect;
maint_097500_78_opt = maint_007500_06_opt;

maint_101250_81_Replace = maint_003750_03_Replace;
maint_101250_81_Inspect = maint_003750_03_Inspect;
maint_101250_81_opt = maint_011250_09_opt;


maint_105000_84_Replace = new Array(
//	PM   S1   S2	//
	'x', 'x', 'x',	'Replace engine oil and filter',
	'x', ' ', ' ',	'Lubricate all locks/hinges',
	'x', 'x', 'x',	'Lubricate propeller shaft (4WD) <sup>1</sup>',
	' ', ' ', ' ', 	'Road test vehicle',
	' ', ' ', ' ', 	'Replace automatic transmission/CVT fluid',
	' ', ' ', ' ', 	'Replace differential oil (limited-slip, conventional)',
	'x', ' ', ' ', 	'Replace engine air filter',
	' ', ' ', ' ', 	'Replace engine coolant/flush system',
	' ', ' ', ' ', 	'Replace engine coolant',
	' ', ' ', ' ', 	'Replace engine drive belts',
	' ', ' ', ' ', 	'Replace free-running hub grease',
	' ', ' ', ' ', 	'Replace front wheel bearing grease (4WD only)',
	' ', ' ', ' ', 	'Replace fuel filter',
	'x', 'x', 'x', 	'Replace in-cabin microfilter <sup>2</sup>',
	' ', ' ', ' ', 	'Replace limited-slip differential oil',
	' ', ' ', ' ', 	'Replace manual transmission oil',
	' ', ' ', ' ', 	'Replace PCV filter (4 cylinder Frontier/Xterra)',
	' ', ' ', ' ', 	'Replace radiator cap',
	' ', ' ', ' ', 	'Replace radiator hoses',
	'x', 'x', 'x', 	'Replace spark plugs',
	' ', ' ', ' ', 	'Replace transfer case oil (4WD/AWD)',
	'x', ' ', ' ', 	'Replace water pump <sup>3</sup>',
	'x', ' ', ' ', 	'Replace wiper blades',
	'x', 'x', 'x', 	'Rotate tires (except 370Z)',
	' ', ' ', ' ', 	'Optional: flush automatic transmission (flush with ATF)',
	' ');			// LAST LINE

maint_105000_84_Inspect = new Array(
//	PM   S1   S2	//
	'x', ' ', ' ', 	'Air conditioning system',
	'x', ' ', ' ', 	'All lights',
	'x', 'x', 'x', 	'Automatic transmission/CVT fluid (except 370Z)',
	'x', 'x', 'x', 	'eCVT fluid (Altima Hybrid)',
	'x', 'x', ' ', 	'Axle & suspension parts',
	' ', ' ', ' ', 	'Battery fluid level/terminals',
	'x', 'x', 'x', 	'Brake lines & cables',
	' ', ' ', ' ', 	'Brake fluid level',
	'x', 'x', 'x', 	'Brake pads, rotors, drums & linings',
	' ', ' ', ' ', 	'Charging/Starting system',
	' ', ' ', ' ', 	'Clutch fluid',
	'x', 'x', 'x', 	'Cruise control vacuum hoses',
	'x', 'x', 'x', 	'Differential oil <sup>4</sup>',
	'x', 'x', 'x', 	'Drive shaft boots <sup>5</sup>',
	' ', ' ', ' ', 	'Engine air filter',
	' ', ' ', ' ', 	'Engine coolant level/top-off',
	'x', 'x', 'x', 	'Engine drive belts <sup>10</sup>',
	'x', 'x', ' ', 	'Exhaust system',
	'x', 'x', 'x', 	'Free-running hub grease <sup>6</sup>',
	'x', 'x', ' ', 	'Front suspension ball joints',
	'x', 'x', 'x', 	'Front wheel bearing grease (4WD only) <sup>7</sup>',
	' ', ' ', ' ', 	'Fuel lines/connections',
	' ', ' ', ' ', 	'Fuel tank vapor vent system hoses',
	' ', ' ', ' ', 	'Headlights/adjust if necessary',
	' ', ' ', ' ', 	'Horn operation',
	'x', 'x', 'x', 	'Limited-slip differential oil <sup>8,9</sup>',
	'x', 'x', 'x', 	'Manual transmission oil',
	' ', ' ', ' ', 	'Power steering fluid/top-off',
	'x', 'x', 'x', 	'Propeller shaft <sup>4</sup>',
	' ', ' ', ' ', 	'Radiator hoses',
	' ', ' ', ' ', 	'Shock absorbers/struts',
	'x', 'x', ' ', 	'Steering gear and linkage',
	'x', 'x', ' ', 	'Steering linkage ball joints',
	' ', ' ', ' ', 	'Tires/adjust air pressure',
	' ', ' ', ' ', 	'Transmission fluid/oil',
	'x', 'x', 'x', 	'Transfer case oil (4WD/AWD)',
	' ', ' ', ' ', 	'Washer fluid level/top-off',
	' ', ' ', ' ', 	'Wiper blades',
	' ');			// LAST LINE

maint_105000_84_opt = '<table border="0"><tr valign="top"><td class="charttext"><i>1</i></td><td class="charttext"><i>Propeller shaft should be re-greased after being immersed in water.</i></td></tr><tr valign="top"><td class="charttext"><i>2</i></td><td class="charttext"><i>Standard equipment on Cube, Murano, Altima (except 2.5 Base), Altima Coupe, Pathfinder, Frontier LE and Pro-4X Off-Road, Maxima, Titan Crew Cab LE, Quest, Rogue, Sentra, Versa (except 1.6 Entry) and Xterra (except X). Optional accessory on all other models.</i></td></tr><tr valign="top"><td class="charttext"><i>3</i></td><td class="charttext"><i>Frontier V-6, Xterra V-6.</i></td></tr><tr valign="top"><td class="charttext"><i>4</i></td><td class="charttext"><i>370Z, Frontier, Murano AWD, Pathfinder, Rogue AWD, Armada, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>5</i></td><td class="charttext"><i>All models except 2WD versions of Frontier, Pathfinder, Titan, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>6</i></td><td class="charttext"><i>4WD versions of Frontier, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>7</i></td><td class="charttext"><i>Frontier, Pathfinder, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>8</i></td><td class="charttext"><i>Optional equipment on Frontier, Xterra.</i></td></tr><tr valign="top"><td class="charttext"><i>9</i></td><td class="charttext"><i>Replace (not just inspect) oil if towing a trailer, using a camper or a car-top carrier, or driving on rough or muddy roads.</i></td></tr><tr valign="top"><td class="charttext"><i>10</i></td><td class="charttext"><i>370Z, Altima, Maxima, Murano, Quest, Sentra.</i></td></tr></table>';

maint_108750_87_Replace = maint_003750_03_Replace;
maint_108750_87_Inspect = maint_003750_03_Inspect;
maint_108750_87_opt = maint_011250_09_opt;

maint_112500_90_Replace = maint_007500_06_Replace;
maint_112500_90_Inspect = maint_007500_06_Inspect;
maint_112500_90_opt = maint_007500_06_opt;

maint_116250_93_Replace = maint_003750_03_Replace;
maint_116250_93_Inspect = maint_003750_03_Inspect;
maint_116250_93_opt = maint_011250_09_opt;

maint_120000_96_Replace = maint_060000_48_Replace;
maint_120000_96_Inspect = maint_060000_48_Inspect;
maint_120000_96_opt = maint_060000_48_opt;


function populateText(maintArray) {

//	headingContent2 = '45,000 Miles or 36 Months';
//	headingContent2 = '&nbsp;<b>' + parseFloat(maintArray.substring(6,9)) + ',' + maintArray.substring(9,12) + ' Miles or ' + parseFloat(maintArray.substring(13,15)) + ' Months</b>';
	headingContent2 = '<table width="100%" cellpadding=0 cellspacing=0><tr><td class="tTableText" valign="bottom">Recommended Services: ' + parseFloat(maintArray.substring(6,9)) + ',' + maintArray.substring(9,12) + ' Miles or ' + parseFloat(maintArray.substring(13,15)) + ' Months</td>';
//	headingContent2 += '<td style="text-align:right;"><a href="#" target="_blank"><img src="/img/supp/common/btn_print.gif" alt="Print"  onload="setOverSrc(this);" /></a></td>'
	headingContent2 += '</tr></table>';
	updateContent('heading2', headingContent2);  // update heading2

  optionalText2 = eval(maintArray + '_opt');
  optionalText2 += '<br /><div class="gInformationText">Equipment varies by model. Perform only those operations that apply to your vehicle.</div>';
	updateContent('optionaltext', optionalText2);  // update optional text on bottom.

	buildChart('Replace', maintArray);
	buildChart('Inspect', maintArray);

}

function buildChart(CHART, MAINTARRAY){
	MAINTARRAY = eval(MAINTARRAY+'_'+CHART);
	content = "";
//	content += '<table border=0 cellpadding=0 cellspacing=0><tr><td width=5></td><td width=318 height=20 class="charttext"><b>'+ CHART +'</b></td><td width=1></td><td width=25 align="center"></td><td width=1></td></tr>';
//	content += '<table width="100%" cellpadding=0 cellspacing=0><tr><td width=5></td><td height=20 class="charttext"><b>'+ CHART +'</b></td><td width=1></td><td width=25 align="center" class="charttext"><b>PM</b></td><td width=1></td><td width=25 align="center" class="charttext"><b>S1</b></td><td width=1></td><td width=25 align="center" class="charttext"><b>S2</b></td><td width=1></td></tr>';
	content += '<table width="100%" cellpadding=0 cellspacing=0 class="tSuppTable"><tr><td class="tTabularHeader tTableColumnLeft">'+ CHART +'</b></td><td width="60" class="tTabularHeader tTableColumnLeft" style="text-align:center;font-weight:normal;padding-left:0;">Premium</td><td width="60" class="tTabularHeader tTableColumnLeft" style="text-align:center;font-weight:normal;padding-left:0;">Schedule 1</td><td width="60" class="tTabularHeader" style="text-align:center;font-weight:normal;padding-left:0;">Schedule 2</td></tr>';
	for (var i=0; i<MAINTARRAY.length-1; i=i+4){
		if (i%8 == 0) oddEven = "tTabularGreyRow";
		else oddEven = "tTabularWhiteRow"
		content += '<tr>';
		content += '<td class="tTableText '+oddEven+' tTableColumnLeft">'+MAINTARRAY[i+3]+'<sup>&nbsp;</sup></td>';
		content += '<td align="center" class="tTableText '+oddEven+' tTableColumnLeft" style="padding-left:0;">'+checkDot(MAINTARRAY, i);
		content += '<td align="center" class="tTableText '+oddEven+' tTableColumnLeft" style="padding-left:0;">'+checkDot(MAINTARRAY, i+1);
		content += '<td align="center" class="tTableText '+oddEven+'" style="padding-left:0;">'+checkDot(MAINTARRAY, i+2);
		content += '</tr>';
	}
	content += '</table>';
	updateContent(CHART, content);
}

function checkDot(ARRAYNAME, N) {
	maintArray = eval(ARRAYNAME);
	if (maintArray[N] == 'x' || maintArray[N] == 'X'){
		return '<b>&#149;</b>';
	}
	else if (maintArray[N] == 'x1' || maintArray[N] == 'X1'){
		return '<b>&#149;<sup>1</sup></b>';
	}
	else {
		return '&nbsp;';
	}
}

function updateContent(lyrName, content){
	var lyrObj = (sniff.bw.ns)?document[lyrName].document:sniff.bw.ie?d.all[lyrName]:d.getElementById(lyrName);
	if (sniff.bw.ns) {
		lyrObj.close();
		lyrObj.write(content);
		lyrObj.close();
	} else {
		lyrObj.innerHTML = content;
	}
	SOAAdjustHeight();
}