    function moveNav()
    {
        var navBoxHeight = document.getElementById('navBox').offsetHeight - 30;
        var navTop = document.getElementById('navBox').style.top;
        if (navBoxHeight > 0)
            document.getElementById('navBox').style.top = parseInt(navTop) - navBoxHeight;
        //alert(parseInt(navTop));
        //alert(parseInt(navBoxHeight));
    }

    function getHeight(totalHeight, headerHeight, shadow)
    {
        if (totalHeight < document.body.clientHeight)
        {
            document.getElementById('bodyDiv').style.height = document.body.clientHeight;
            document.getElementById('bodyContent').style.height = document.body.clientHeight - headerHeight;
            if(shadow == 'Y')
            {
                document.getElementById('shadowLeft').style.height = document.body.clientHeight;            
                document.getElementById('shadowRight').style.height = document.body.clientHeight;
            }
			// try for blog pages
			try
			{
				document.getElementById('blogFrame').style.height = document.body.clientHeight - headerHeight;
			}catch(err){};
        }
    }
