var flotante;var mundooleo;function ventana2(URL,caracteristicas,alto2,ancho2){	var ancho = ancho2;	var alto = alto2;	var iMyWidth = (window.screen.width - ancho) /2;	var iMyHeight = (window.screen.height - alto) / 2;	if (flotante){		if (flotante.closed){			flotante = open(URL,'MADRIGAL','' + caracteristicas + ',width='+ ancho2 +',height='+ alto2 +',top=' + iMyHeight + ',left=' + iMyWidth + '');		}else{			flotante.close();			flotante = open(URL,'MADRIGAL','' + caracteristicas + ',width='+ ancho2 +',height='+ alto2 +',top=' + iMyHeight + ',left=' + iMyWidth + '');		}	}else{		flotante = open(URL,'MADRIGAL','' + caracteristicas + ',width='+ ancho2 +',height='+ alto2 +',top=' + iMyHeight + ',left=' + iMyWidth + '');	}	flotante.focus();	flotante.focus();		}function ventana(URL,caracteristicas,alto2,ancho2){	var ancho = ancho2;	var alto = alto2;	var iMyWidth = (window.screen.width - ancho) /2;	var iMyHeight = (window.screen.height - alto) / 2;	if (mundooleo){		if (mundooleo.closed){			mundooleo = open(URL,'MADRIGAL','' + caracteristicas + ',width='+ ancho2 +',height='+ alto2 +',top=' + iMyHeight + ',left=' + iMyWidth + '');		}else{			mundooleo.close();			mundooleo = open(URL,'MADRIGAL','' + caracteristicas + ',width='+ ancho2 +',height='+ alto2 +',top=' + iMyHeight + ',left=' + iMyWidth + '');		}	}else{		mundooleo = open(URL,'MADRIGAL','' + caracteristicas + ',width='+ ancho2 +',height='+ alto2 +',top=' + iMyHeight + ',left=' + iMyWidth + '');	}	mundooleo.focus();	mundooleo.focus();		}
