function ventanaPrint(pagina,w,h)
{
	x=(screen.width/2)-(w/2);
	y=(screen.height/2)-(h/2);								
	window.open(pagina,"flota","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,copyhistory=0,width="+w+",height="+h+",left="+x+",top="+y);
}


function ventana(pagina,w,h)
{
	x=(screen.width/2)-(w/2);
	y=(screen.height/2)-(h/2);								
	window.open(pagina,"flota","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0,copyhistory=0,width="+w+",height="+h+",left="+x+",top="+y);
}

function ventanaScroll(pagina,w,h)
{
	x=(screen.width/2)-(w/2);
	y=(screen.height/2)-(h/2);								
	window.open(pagina,"flota","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,copyhistory=0,width="+w+",height="+h+",left="+x+",top="+y);
}

function maximizeWin()
{
	top.window.moveTo(0,0);
	if (document.all) 
	{
		top.window.resizeTo(screen.availWidth,screen.availHeight);
	}
	else if (document.layers||document.getElementById) 
	{
		if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
		{
			top.window.outerHeight = screen.availHeight;
			top.window.outerWidth = screen.availWidth;
		}
	}
}
