
function nuevaventana(url, nombre, ancho, alto) {
	mgtop = ((screen.height / 2) - (alto / 2)) - 10;
	mgleft = (screen.width / 2) - (ancho / 2);
	
	window.open(url, nombre, 'width='+ancho+',height='+alto+',top='+mgtop+',left='+mgleft+',scrollbars=yes,status=1');
}

function cierra() {
	window.close();	
}
