// showdiv.js
// Author: Jeffrey Cartagena
// Date: Tuesday, July 1, 2008
// Purpose: Function that reads the current url and displays 
// 			one of the divs and hidden the other ones

var last_div;

function showdiv()
{
	var arg = location.search;
	arg = arg.substring(5, arg.length);
	document.getElementById(arg).style.display="block";
	last_div = arg;
}

function ChangeDiv(div_name)
{
	document.getElementById(last_div).style.display="none";	
	document.getElementById(div_name).style.display="block";
	last_div = div_name;
}
