<!--
var idSelected="InitialText";
var aMonthName = new Array("January","February","March","April","May","June","July","August","September","October","November","December");

function DrawCalBut( nMonth, nYear, bSel )
{
	var str="index.php?page=calmthsum&month="+nMonth+"&year="+nYear;
	var strText = '<div id="calsumbut"><a href="'+str+'" id=\"idBut'+nMonth+'\" class=\"';
	if ( bSel == 1 )
		strText += "calButSel";
	else
		strText += "calButton";
	strText += "\" style=\"width: 90px; height: 19px\" name=\"" + aMonthName[nMonth-1] + "\">";
	strText += aMonthName[nMonth-1];
	strText += "</a></div>";
	document.write( strText );
}

function Navigate(page)
{
	window.location=page;
}
function DisplayFull(i)
{
	if (document.getElementById("full"+i) != null)
		window.document.getElementById("full"+i).style.display = "inline";

	if (document.getElementById("brief"+i) != null)
		window.document.getElementById("brief"+i).style.display = "none";
}

function DisplayBrief(i)
{
	if (window.document.getElementById("full"+i) != null)
		window.document.getElementById("full"+i).style.display = "none";

	if (window.document.getElementById("brief"+i) != null)
		window.document.getElementById("brief"+i).style.display = "inline";
}
