function StartUp(){
getNav();
//getBodyContent('hive/bee_homepage.cfm?NavID='+NavID);
	if(CheckforContainer('WhatsNew'))
		{
			WhatsNewFade.start();
		}

//BodyConentFadeIn.start();
}

function getNav(){
/*
<!--- GetNectar('NavContainer','/hive/bee_nav_maker.cfm');
 --->*/
}


function getNav2(n2URL){
	GetNectar('Nav2Container',n2URL);
}


function getBodyContent(sURL){
BodyConentFadeOut.start();


	if(document.getElementById('EventBee') !=null)
	
		{
			SquashBee('EventBee');
		};
	GetNectar('BodyContainer',sURL);


}



function getHeaderContent(hURL){
	//GetNectar('HeaderContainer',hURL );
}

function getFooterContent(fURL){
	//GetNectar('FooterContainer',fURL);
}


function getWhatsNewContent(wURL){
	GetNectar('WhatsNewContainer',wURL);
}

function getPDFContent(pURL){
		GetNectar('pdfContainer',pURL);	
}

function bodyClose(){
	//document.getElementById('ContentBody').innerHTML='';

	if(CheckforContainer('WhatsNew'))
		{
			WhatsNewFade.start();
		}
   BodyConentFade.start();
}

function footerClose(){
//document.getElementById('FooterContainer').innerHTML='';
				
}

function headerClose(){
//document.getElementById('HeaderContainer').innerHTML='';
				
}

function CheckforContainer(sElmId)
{
	var bReturnValue=false;
		if(document.getElementById(sElmId) != null)
			{
		 bReturnValue=true;
			}
	return bReturnValue;
}

var oMenu = new Spry.Data.XMLDataSet("/hive/bee_nav_maker.cfm", "nav/menu");
var oSubmenu = new Spry.Data.NestedXMLDataSet(oMenu, "link",{distinctOnLoad:true});
var oSub2menu = new Spry.Data.NestedXMLDataSet(oSubmenu, "sublink",{distinctOnLoad:true});