function nav_mouse_over(sNmoverId)
{
	if(sNmoverId.match("_text"))
	{
		sNmoverImageId = sNmoverId.slice(0, -5);
		sNmoverTextId = sNmoverId;
	}
	else
	{
		sNmoverImageId = sNmoverId;
		sNmoverTextId = sNmoverId + "_text";
	}
	document.getElementById(sNmoverId).style.cursor = 'pointer';
	sNmoverName = "/images/shell/nav_" + document.getElementById(sNmoverId).name + "_over.gif";
	document.getElementById(sNmoverImageId).src = sNmoverName;
	document.getElementById(sNmoverTextId).style.color = '#ffffff';
	document.getElementById(sNmoverTextId).style.textDecoration = 'underline';
}

function nav_mouse_out(sNmoutId)
{
	if(sNmoutId.match("_text"))
	{
		sNmoutImageId = sNmoutId.slice(0, -5);
		sNmoutTextId = sNmoutId;
	}
	else
	{
		sNmoutImageId = sNmoutId;
		sNmoutTextId = sNmoutId + "_text";
	}
	document.getElementById(sNmoutId).style.cursor = 'default';
	sNmoutName = "/images/shell/nav_" + document.getElementById(sNmoutId).name + ".gif";
	document.getElementById(sNmoutImageId).src = sNmoutName;
	document.getElementById(sNmoutTextId).style.color = '#e4b803';
	document.getElementById(sNmoutTextId).style.textDecoration = 'none';
}

function get_height()
{
	if(document.getElementById('article_section') != null)
	{
		sArticleHeight = document.getElementById('article_section').offsetHeight;
		sSidebarHeight = document.getElementById('sidebar_section').offsetHeight;
	
		if(sArticleHeight > sSidebarHeight)
		{
			sArticleTableHeight = sArticleHeight;
		}
		else
		{
			sArticleTableHeight = sSidebarHeight;
		}
	}
	else
	{
		sArticleTableHeight = 1025;
	}
	
	sArticleTableHeight = sArticleTableHeight - 948;
	document.getElementById('article_table').style.height = sArticleTableHeight + "px";
	nBodyHeight = document.getElementById('mainbody').offsetHeight;
   document.getElementById('slideshowdiv1').style.height = nBodyHeight + "px";
   document.getElementById('slideshowdiv2').style.height = nBodyHeight + "px";
}

function slide_show_people()
{
	document.getElementById('slideshowdiv1').style.display = "block";
	document.getElementById('slideshowdiv2').style.display = "block";
	sType = "people";
	nPhotoCounter = 1;
	slide_show_display();
}

function slide_show_equipment()
{
	document.getElementById('slideshowdiv1').style.display = "block";
	document.getElementById('slideshowdiv2').style.display = "block";
	sType = "equipment";
	nPhotoCounter = 1;
	slide_show_display();
}