function abrirventana2(pagina, nombreventana, width, height, windowfeatures) {
	var winl = (screen.width - width) / 2;
	var wint = (screen.height - height) / 2;
	windowfeatures += ', width='+width+',height='+height+',top='+wint+',left='+winl;
	window.open(pagina, nombreventana, windowfeatures);
}
function abrirventana(url,x,y) {
	remote = window.open(url,'nombre','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,menubar=no,left = 100%,top = 100,width='+x+',height='+y)
}
