var currentVBVSection = "";
window.onload = function() { ToggleVBVSection("recent", true); }

function ToggleVBVSection(id) {
	if (currentVBVSection != id && currentVBVSection != "") ShowHide(currentVBVSection, false);
	ShowHide(id, true);
	currentVBVSection = id;
}

function ShowHide(id, show) {
	//alert("attempting: "+ id +", "+ show);
	var e = GetRef(id);
	if (e == null) return;
	//alert("found");
	var display = (show) ? "block" : "none";
	e.style.display = display;
	//alert(id +" : "+ e.style.display);
}

function GetRef(id) {
	return (document.all) ? document.all[id] : (document.getElementById) ? document.getElementById(id) : null;
}


