var beveled;
function expandIt(ArrayName)
{
	if(typeof(ArrayName) == "object")
	{
		for (i = 1; i < ArrayName.length; i++)
		{
			document.all.item(ArrayName[i]).style.display = (document.all.item(ArrayName[i]).style.display == "none" ) ? "" : "none";	
		}
		
		itemImage = document.all.item(ArrayName[0]);
		itemImage.alt = (document.all.item(ArrayName[1]).style.display == "none" ) ? "Show Section" : "Hide Section";
		itemImage.src = (document.all.item(ArrayName[1]).style.display == "none" ) ? "images/downarrow.gif" : "images/uparrow.gif";
	}
	else
	{
		document.all.item(ArrayName).style.display = (document.all.item(ArrayName).style.display == "none" ) ? "" : "none";	
		itemImage = document.all.item(ArrayName + "Img");
		itemImage.alt = (document.all.item(ArrayName).style.display == "none" ) ? "Show Section" : "Hide Section";
		itemImage.src = (document.all.item(ArrayName).style.display == "none" ) ? "images/downarrow.gif" : "images/uparrow.gif";
	}
}

function bevel(srcCell)
{
	beveled = true;
	setTimeout("beveled=false", 1)
	srcCell.style.borderLeft="1 solid gray";
	srcCell.style.borderRight="1 solid white";
	srcCell.style.borderTop="1 solid gray";
	srcCell.style.borderBottom="1 solid white";
	srcCell.style.cursor="hand";
}

function unbevel(srcCell)
{
	beveled = false;
	emboss(srcCell);
}

function emboss(srcCell)
{
	if(!beveled == true)
	{
		srcCell.style.borderLeft="1 solid white";
		srcCell.style.borderRight="1 solid gray";
		srcCell.style.borderTop="1 solid white";
		srcCell.style.borderBottom="1 solid gray";
		srcCell.style.cursor="hand";
	}
}

function unemboss(srcCell)
{
	srcCell.style.borderLeft="1 solid #AAAAAA";
	srcCell.style.borderRight="1 solid #AAAAAA";
	srcCell.style.borderTop="1 solid #AAAAAA";
	srcCell.style.borderBottom="1 solid #AAAAAA";
	srcCell.style.cursor="";
}