function showSubContent (id)
{
	hideSubContents();
	var obj = document.getElementById(id);
	obj.style.display = 'block';
}

function hideSubContents ()
{
	var obj;
	var i = 1;
	while (obj = document.getElementById(i++)) {
		obj.style.display = 'none';
	}
}
