function updateHomeView(page) {

	var title = '';
	var text = '';
	var pictures = '';
	var picname = '';
	var additionalpictures = '0';

	if (page == 1) {
		title = "What's all the fuss about brakes";
		text = "The principle of braking is very simple. Transforming kinetic energy (car movement) into caloric energy (heat). This process is achieved thru friction between the rotors and the pads. Good brake systems have several specificities. Among others, ability to sustain high heat bursts, ability to dissipate this heat before it gets thru the brake pads and boils the brake fluid, and ability to offer as much modulation to the brake pedal, which is achieved through caliper stiffness.";
		picname = "1_Fuss";
		document.getElementById("homenav1").className = "selected";
		document.getElementById("homenav2").className = "";
		document.getElementById("homenav3").className = "";
		document.getElementById("homenav4").className = "";
		document.getElementById("homenav5").className = "";
		document.getElementById("homenav6").className = "";
		document.getElementById("homenav7").className = "";
		document.getElementById("homenav8").className = "";	}

	if (page == 2) {
		title = "Aren't stock BMW brakes adequate?";
		text = "Most OEM sliding calipers and rotors are perfectly adequate for daily driving and light track duty. They might show their weaknesses when used hard. Narrow rotors can't evacuate as much heat as needed. Calipers may show some flex when medium to high hydraulic pressures are applied. A soft caliper reduces modulation and often requires longer application of the brakes to achieve the same reduction in speed, which also leads to longer friction and more heat. Excessive heat is the enemy of a brake system. Massive brake systems are superb at evacuating heat. Wilwood rotors are of very high quality and also are less expensive to replace than what competitors will charge you. Maintenance of a Wilwood-based brake kit is very cost effective.";
		picname = "2_StockBrakes";
		additionalpictures = 3;
		document.getElementById("homenav1").className = "";
		document.getElementById("homenav2").className = "selected";
		document.getElementById("homenav3").className = "";
		document.getElementById("homenav4").className = "";
		document.getElementById("homenav5").className = "";
		document.getElementById("homenav6").className = "";
		document.getElementById("homenav7").className = "";
		document.getElementById("homenav8").className = "";
	}

	if (page == 3) {
		title = "What components are used in a Massive kit?";
		text = "Massive has designed brake systems around components from Wilwood, which has a proven record when it comes to making brake systems both for racing and street applications. Wilwood products are widely available, so whatever race track you attend, there is always a Wilwood dealer nearby. Being widely represented thru its retail network, it allows you to obtain Wilwood products at the most convenient price as possible. Which is not always the case when a brand has only a few distributors in the country.";
		picname = "3_WilwoodProducts";
		document.getElementById("homenav1").className = "";
		document.getElementById("homenav2").className = "";
		document.getElementById("homenav3").className = "selected";
		document.getElementById("homenav4").className = "";
		document.getElementById("homenav5").className = "";
		document.getElementById("homenav6").className = "";
		document.getElementById("homenav7").className = "";
		document.getElementById("homenav8").className = "";
	}

	if (page == 4) {
		title = "Friction and heat dissipation";
		text = "Rotors are usually the most visible element of a brake system. We use Wilwood's GT rotors in 13\" x 1.25\" (332mm x 32mm) and 14\" x 1.25\" (360mm x 32mm) as they are lighter rotors than most competition, thanks to a 1.75\" tall brake pad that concentrates all the friction closer to the outer circumference of the rotors, where it is most efficient. We also use the extra enduring HD series rotors in 11.75\" x 1.25\" (300mm x 32mm) as well as UL Serie 12.2\" x 1.25\" (310mm x 32mm) and 11.75\" x 0.81\" (300mm x 21mm).";
		picname = "4_FrictionSurfaces";
		document.getElementById("homenav1").className = "";
		document.getElementById("homenav2").className = "";
		document.getElementById("homenav3").className = "";
		document.getElementById("homenav4").className = "selected";
		document.getElementById("homenav5").className = "";
		document.getElementById("homenav6").className = "";
		document.getElementById("homenav7").className = "";
		document.getElementById("homenav8").className = "";
	}

	if (page == 5) {
		title = "Clamping power";
		text = "Wilwood has been famous for years with their Superlite calipers from various generations. We use the stiff but light and affordable lug mounted 4-pistons Superlite Forged caliper as well as the newer radially mounted 6-pistons SL6R caliper for kits up to 13\". 14\" rotors will see the new W6A and SL6R-14 calipers. Superlite and SL6R calipers use thick 21mm pads.";
		picname = "5_ClampingPower";
		additionalpictures = 6;
		document.getElementById("homenav1").className = "";
		document.getElementById("homenav2").className = "";
		document.getElementById("homenav3").className = "";
		document.getElementById("homenav4").className = "";
		document.getElementById("homenav5").className = "selected";
		document.getElementById("homenav6").className = "";
		document.getElementById("homenav7").className = "";
		document.getElementById("homenav8").className = "";
	}

	if (page == 6) {
		title = "A safer hat design";
		text = "Massive uses a proprietary design to ensure that whatever the conditions, the rotors will always be centered with the wheel, therefore eliminating any vibration that could be caused by discs moving around after several heat cycles or expansion/contraction caused by heat. Every Massive hat sports a ridge around which the rotor presses and centers, at any temp and any condition. Relieving, at the same time, stress from the mounting bolts located on the perimeter of those hats. This allows a safer and trouble-free operation. All hats are also anodized to tastefull colors, reflecting the high level of production that you can expect from a Massive brake product.";
		picname = "6_Safer";
		additionalpictures = 1;
		document.getElementById("homenav1").className = "";
		document.getElementById("homenav2").className = "";
		document.getElementById("homenav3").className = "";
		document.getElementById("homenav4").className = "";
		document.getElementById("homenav5").className = "";
		document.getElementById("homenav6").className = "selected";
		document.getElementById("homenav7").className = "";
		document.getElementById("homenav8").className = "";
	}

	if (page == 7) {
		title = "Caliper mounts and brackets";
		text = "Depending on the type of caliper installed in your kit, we either use sturdy CNC'd and anodized aluminum radial mounts or laser cut stainless steel brackets to perfectly fit and center the caliper and rotor for your specific application. There is no one-size-fits-all brackets or mounts. ";
		picname = "7_Mounts";
		additionalpictures = 2;
		document.getElementById("homenav1").className = "";
		document.getElementById("homenav2").className = "";
		document.getElementById("homenav3").className = "";
		document.getElementById("homenav4").className = "";
		document.getElementById("homenav5").className = "";
		document.getElementById("homenav6").className = "";
		document.getElementById("homenav7").className = "selected";
		document.getElementById("homenav8").className = "";
	}

	if (page == 8) {
		title = "Brake pads";
		text = "We carry Wilwood's Polymatrix brake pads and recommend the ceramic-based Q compound for a daily driver, and the E compound for the track, both compounds being very kind on the discs. But we also recognize that depending on how and where you drive your car, you may have specific tastes. Which is why we also suggest to use brake pads from Performance Friction, Hawks and Carbotech. They all have pads to fit Superlite and SL6R calipers, which share the same pad shape. Please take note that Performance Friction brake pads miss about 2mm of material on the pad perimeter.";
		picname = "8_BrakePads";
		document.getElementById("homenav1").className = "";
		document.getElementById("homenav2").className = "";
		document.getElementById("homenav3").className = "";
		document.getElementById("homenav4").className = "";
		document.getElementById("homenav5").className = "";
		document.getElementById("homenav6").className = "";
		document.getElementById("homenav7").className = "";
		document.getElementById("homenav8").className = "selected";
	}


		pictures = '<table cellspacing="0" cellpadding="0" border="0" width="446"><tr><td width="148" align="left"><a href="/pictures/' + picname + '_1.jpg" rel="lightbox[home]"><img src="/pictures/' + picname + '_1_th.jpg" width="140" height="105" border="0" alt=""></a></td><td width="150" align="center"><a href="/pictures/' + picname + '_2.jpg" rel="lightbox[home]"><img src="/pictures/' + picname + '_2_th.jpg" width="140" height="105" border="0" alt=""></a></td><td width="148" align="right"><a href="/pictures/' + picname + '_3.jpg" rel="lightbox[home]"><img src="/pictures/' + picname + '_3_th.jpg" width="140" height="105" border="0" alt=""></a></td></tr></table>';

		for (var i = 1; i <= additionalpictures; i++) {		
			pictures = pictures + '<a href="/pictures/' + picname + '_' + parseInt(i+3) +'.jpg" rel="lightbox[home]"></a>';
		}

	document.getElementById("hometitle").innerHTML = title;
	document.getElementById("hometext").innerHTML = text;
	document.getElementById("homepictures").innerHTML = pictures;

}