// JavaScript Document
			
	function placeFooter(){
		mdcol= document.getElementById('middleCol');
		rhcol= document.getElementById('rightCol');
		saFooter=document.getElementById('saFooterRow');
		mdcolbot = mdcol.offsetHeight + mdcol.offsetTop;
		rhcolbot = rhcol.offsetHeight+ rhcol.offsetTop;
		bot = Math.max(mdcolbot,rhcolbot ) + 5;
		if(bot>100){
			saFooter.style.top=bot+"px";
			saFooter.style.visibility='visible';
			// dummy=window.resizeBy(0,1);	
		}
	}
	
	function balanceColumnHeights(){
		maxHeight = 1;
		colIDs = balanceColumnHeights.arguments;
		columnObj = new Array();
		for(i=0;i<colIDs.length;i++){
			columnObj[i] = document.getElementById(colIDs[i]);
			maxHeight = Math.max(maxHeight,columnObj[i].offsetHeight);
		}
		for(i=0;i<colIDs.length;i++){
			columnObj[i].style.height=maxHeight+"px";
		}
	}
	
	// Set defaults
	var saLoVars= new Array();
	saLoVars["footer"]=1;
	
	function doLayout(){
		if(saLoVars["footer"]){
			placeFooter();
		}
		balanceColumnHeights('middleCol', 'rightCol');
		// dummy=window.resizeBy(0,1);
	}
