
var ancho
var alto
var fin
var x
var y

function abreventana(laruta) 
{
ancho=50
alto=34
fin=800
x=10
y=10
ventana = window.open(laruta, "_blank", "resizable,height=1,width=1,top=x,left=y,screenX=x,screenY=y,scrollbars");
	abre();
}
function abre()
{
	if (ancho<=fin) {
		if (x>10) {
			ventana.moveTo(x,y);
			x-=3;
			y-=3;
			}
		ventana.resizeTo(ancho,alto);
		
		ancho+=8
		alto+=8
		timer= setTimeout("abre()",1)
	}
	else {
		clearTimeout(timer)
		}
}

//-->
