function initMenu()
{
	var nodes = document.getElementById("splits").getElementsByTagName("div");
	for (var i=0; i<nodes.length; i++)
	{
		nodes[i].onmouseover = function()
		{
			this.className += " hover";
		}
		nodes[i].onmouseout = function()
		{
			this.className = this.className.replace(" hover", "");
		}
	}
}
if (document.all && !window.opera) attachEvent("onload", initMenu);

function initRollover()
{
	var nodes = document.getElementById("splits").getElementsByTagName("div");
	for (var i=0; i<nodes.length; i++)
	{
		nodes[i].onclick = function()
		{
			links = this.getElementsByTagName("a");
			for (var m=0; m<links.length; m++)
			window.location.href = links[m].href;
		}
	}
}
if (window.addEventListener) window.addEventListener("load", initRollover, false);
else if (window.attachEvent) window.attachEvent("onload", initRollover);

function sizeHolder()
{
	if((document.getElementById("content").offsetHeight) < (document.getElementById("container").offsetHeight - 50)) {
		document.getElementById("content").style.height = document.getElementById("container").offsetHeight + "px";		
	}
	
}
if (window.addEventListener) window.addEventListener("load", sizeHolder, false);
else if (window.attachEvent) window.attachEvent("onload", sizeHolder);

