function showNav(ShowNavID, NavLeft)
{
	hideNav(document.getElementById('ShownNav').value);
	document.getElementById('ShownNav').value = ShowNavID;
	var ShowNavObj = document.getElementById(ShowNavID);
	var NavTop = 92;
	
	if(navigator.userAgent.indexOf('MSIE') != -1)
	{
		screenWidth = document.documentElement.clientWidth;
		if(navigator.userAgent.indexOf('MSIE 6.') != -1 || navigator.userAgent.indexOf('MSIE 7.') != -1)
			NavTop = 95;
	}
	else
	{
		screenWidth = self.innerWidth;
	}

	ShowNavObj.style.top = NavTop + 'px';
	ShowNavObj.style.left = (((parseInt(screenWidth) - 840) / 2) + parseInt(NavLeft)) + 'px';
	ShowNavObj.style.display = 'inline';
}

function hideNav()
{
	var HideNavID = document.getElementById('ShownNav').value;
	if(HideNavID != '')
	{
		var HideNavObj = document.getElementById(HideNavID);
		HideNavObj.style.display = 'none';
	}
}

function placeTWPLogo()
{
	if(navigator.userAgent.indexOf('MSIE') != -1)
	{
		screenWidth = document.documentElement.clientWidth;
	}
	else
	{
		screenWidth = self.innerWidth;
	}
	document.getElementById('divTopWorkPlaceLogo').style.left = (((parseInt(screenWidth) - 840) / 2) + 110) + 'px';
	document.getElementById('divTopWorkPlaceLogo').style.display = 'inline';
}
