function BlockHilite(button)
{
	button.style.border = '1px solid silver';
}
function BlockLolite(button)
{
	button.style.border = '1px solid white';
}
function vNavBtnHilite(button)
{
	button.style.backgroundImage = 'url(images/vnavbar_btn_over.gif)';
}
function vNavBtnLolite(button)
{
	button.style.backgroundImage = 'url(images/vnavbar_btn.gif)';
}
function bgButtonHilite(button)
{
	button.style.color = 'black';
}
function bgButtonLolite(button)
{
	button.style.color = 'white';
}
function BYOButtonHilite(button)
{
	button.style.backgroundColor = '#ffc889';
	button.style.color = 'black';
}
function BYOButtonLolite(button)
{
	button.style.backgroundColor = '#e7edbb';
	button.style.color = '#686836';
}
function TopNav(url)
{
	window.location.href = url
}
function vertButtonHilite(button,url)
{
	button.style.color = 'black';
	button.style.backgroundImage = 'url(images/'+url+')';
}
function vertButtonLolite(button,url)
{
	button.style.color = '#686836';
	button.style.backgroundImage = 'url(images/'+url+')';
}
function getTextBlock(blockA)
{
	for(var i=1;i<=7;i++)
	{
		if(document.getElementById('block'+i))
		{
			if(document.getElementById('block'+i).id == blockA)
			{
				document.getElementById('block'+i).style.display = 'block';
			}
			else
			{
				document.getElementById('block'+i).style.display = 'none';
			}
		}
		else
		{
			break;
		}
	}
}
function getBYOBlocks(blockA)
{
	for(var i=1;i<=12;i++)
	{
		if(document.getElementById('BYODesc'+i))
		{
			if(i == blockA)
			{
				if(document.getElementById('BYODesc'+i).style.display == 'block')
				{
					document.getElementById('BYODesc'+i).style.display = 'none';
				}
				else
				{
					document.getElementById('BYODesc'+i).style.display = 'block';
				}
			}
			else
			{
				document.getElementById('BYODesc'+i).style.display = 'none';
			}
		}
		else
		{
			break;
		}
	}
}