// JavaScript Document
function AddEventListener(element, eventType, handler, capture)
{
	if (element.addEventListener)
		element.addEventListener(eventType, handler, capture);
	else if (element.attachEvent)
		element.attachEvent("on" + eventType, handler);
}
//the changed copy for the left bar
homeHTML='<p>The Historic Division of Mars was established in 2006, with the vision of becoming the undisputed leader in chocolate history.  Our mission is to relentlessly pursue and share chocolate\'s rich past, by creating authentically historic chocolate experiences that allow our consumers to enjoy the fusion of chocolate history and Mars Chocolate excellence.</p>'
window.onload = function() {
	// saves the height of the original Links area
	origH = document.getElementById('lLinks').offsetHeight;
	//saves the HTML in the side bar
	var origHTML = document.getElementById('lLinks').innerHTML;
	//the logo
	homeLink=document.getElementById("logo");
	//Assigns rollovers to the logo to show the home copy
	AddEventListener(homeLink, "mouseover", function(e)
	{
		document.getElementById('lLinks').innerHTML=homeHTML;
		document.getElementById("lLinks").style.minHeight=origH-24+"px";
	}, false);
	AddEventListener(homeLink, "mouseout", function(e)
	{
		document.getElementById('lLinks').innerHTML=origHTML;
	}, false);
};
