
function hilite (id) {
	document.getElementById(id).style.color = "black";
}

function unhilite (id) {
	document.getElementById(id).style.color = "#666";
}

function getHeight () {
	var h;
	if (self.innerHeight) // all except Explorer
		h = self.innerHeight;
	else if (document.documentElement && document.documentElement.clientHeight)	// Explorer 6 Strict Mode
		h = document.documentElement.clientHeight;
	else if (document.body) // other Explorers
		h = document.body.clientHeight;
	
	return h;
}

function center () {
	var box = document.getElementById("homeBox");
	box.style.top = ((getHeight() - box.clientHeight) / 2) + "px";
}

function initHome () {
	center();
	document.getElementById("homeBox").style.visibility = "visible";
}

