/*
* bottomBars.js
*
* ==============================================================================
*
* License: Licencia de desarrollo de software.
*
* Copyright (c) 2004 iQual ingenieros S.L.L. All rights reserved.
*
* This file is part of the PAbierto Web application.
* (Cultural Heritage Management System)
*
* You should have received a copy of the License along with this program;
* if not, write to the iQual Ingenieros S.L.L.
*
* support@iqualingenieros.com
*
*/

/*
window.onload = function()
{
    if (window.winOnLoad) window.winOnLoad();
}
*/

function winOnResize() 
{
	/* WIDTH */
	
	// Barra de estado
	xWidth('StatusBarFrame', getWindowWidth());
	
	// Barra de navegación
	xWidth('NavegationBar', getWindowWidth());
	
	// Barra de botones
	xWidth('ButtonsBar', getWindowWidth());  
	  
	/* TOP */	
	var y;
	
	// Barra de estado
	y = getWindowHeight() - xHeight('StatusBarFrame');
	xTop('StatusBarFrame',y);
	  
	// Barra de navegación
	y = getWindowHeight() - xHeight('StatusBarFrame') - xHeight('NavegationBar');
	xTop('NavegationBar',y);
	  
	// Barra de botones
	y = getWindowHeight() - xHeight('StatusBarFrame') - xHeight('ButtonsBar');
	xTop('ButtonsBar',y);
}

/*
function initScrollLayer() 
{
	// arguments: id of layer containing scrolling layers (clipped layer), id of layer to scroll, 
	// if horizontal scrolling, id of element containing scrolling content (table?)
	var wndo = new dw_scrollObj('ContentFrame', 'Content', 'TabPage');
	  
	// pass id('s) of scroll area(s) if inside table(s)
	dw_scrollObj.GeckoTableBugFix('ContentFrame'); 
}
*/