/*
 FLA 14/8/2003: funciones utilitarias para hacer ciertas acciones
				por defecto en el browser.
 */


if(!window.saveInnerWidth) {
  window.onresize = resizeMaximizar;
  window.saveInnerWidth = window.innerWidth;
  window.saveInnerHeight = window.innerHeight;
}

function resizeMaximizar() {
    if (saveInnerWidth < window.innerWidth ||
        saveInnerWidth > window.innerWidth ||
        saveInnerHeight > window.innerHeight ||
        saveInnerHeight < window.innerHeight )
    {
        window.history.go(0);
    }
}


/* FUNCION: maximizarBrowser()
   DECRIPCION: maximizar la ventana al maximo posible segun el monitor cliente.
*/
function maximizarBrowser()
{
	self.moveTo(0,0);
	self.resizeTo(screen.availWidth,screen.availHeight);
}
