var re=/mac/i;
var mac=re.test(navigator.platform);
startY = 30;
var leDiv = "menu_footer";
var DivRef = document.getElementById('menu_footer');

if(!window.BI)
	BI=new Object();

if(!BI.bw)
	BI.bw = new Object();

if(navigator.appName.indexOf("Netscape") != -1)
{
	BI.bw.getCanvasWidth	= function() {return innerWidth;}
	BI.bw.getCanvasHeight	= function() {return innerHeight;}
	BI.bw.getWindowWidth 	= function() {return outerWidth;}
	BI.bw.getWindowHeight	= function() {return outerHeight;}
	BI.bw.getScreenWidth 	= function() {return screen.width;}
	BI.bw.getScreenHeight	= function() {return screen.height;}
	BI.bw.getMinX		= function() {return(pageXOffset);}
	BI.bw.getMinY		= function() {return(pageYOffset);}
	BI.bw.getMaxX		= function() {return(pageXOffset+innerWidth);}
	BI.bw.getMaxY		= function() {return(pageYOffset+innerHeight);}

}
else 
{
	BI.bw.getCanvasWidth	= function() {return document.body.clientWidth;}
	BI.bw.getCanvasHeight	= function() {return document.body.clientHeight;}
	BI.bw.getWindowWidth 	= function() {return document.body.clientWidth;}
	BI.bw.getWindowHeight	= function() {return document.body.clientHeight;}
	BI.bw.getScreenWidth	= function() {return screen.width;}
	BI.bw.getScreenHeight	= function() {return screen.height;}
	BI.bw.getMinX		= function() {return(document.body.scrollLeft);}
	BI.bw.getMinY		= function() {return(document.body.scrollTop);}
	BI.bw.getMaxX		= function() {return(document.body.scrollLeft + document.body.clientWidth);}
	BI.bw.getMaxY 		= function() {return(document.body.scrollTop + document.body.clientHeight);}
}


function stayTopLeft()
{
	var hWin = BI.bw.getCanvasHeight();
	var scrollWin = BI.bw.getMinY();
	var pY = hWin + scrollWin - startY;
	
	DivRef.style.top =pY+"px";
	window.setTimeout("stayTopLeft()", 10);
}


function menuBottom()
{
stayTopLeft();
}

menuBottom();