var bottomNav;
var cpright;
		
var bottomNavHeight;
			
function initBottomNav()
{
	bottomNav = new Div("bottomNav");
	cpright = new Div("cpright");
			
	bottomNav.setVisible(1);
}
		
function showHideBottomNav(status)
{
	if(ie)
	{
		bottomNavHeight = document.all['bottomNav'].offsetHeight;
	}
	else
	{				
		bottomNavHeight = bottomNav.getHeight();
	}
			
	if((status == 1) || (bottomNav.isVisible() == false))
	{
		bottomNav.setVisible(1);
		cpright.setTop(bottomNavHeight);
		
		document.cookie = "mocaFooter="+1+";expires="+expireDate.toGMTString();
	}
	else if((status == 0) || (bottomNav.isVisible() == true))
	{
		bottomNav.setVisible(0);
		cpright.setTop(0);
		
		document.cookie = "mocaFooter="+0+";expires="+expireDate.toGMTString();
	}
}

