


var tituloPagina = "AtlantisBPnet Best Practices Observatory"; 
var ventanaNueva;
var cont=0;

function Nventana(imagen,titulo)
{
if(cont==1){ventanaNueva.close();ventanaNueva=null}
ventanaNueva=window.open('','ventana','resizable=yes,scrollbars=no')
if(titulo==null){titulo=tituloPagina}
ventanaNueva.document.write('<html><head><title>' + titulo + '</title></head><body style="overflow:hidden" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0"><img src="' + imagen + '" onLoad="opener.ajuste(this.width, this.height+15)">');
ventanaNueva.document.close();
cont++;
}

function ajuste(ancho, alto)
{
ventanaNueva.resizeTo(ancho,alto);
ventanaNueva.moveTo((screen.width-ancho)/2,(screen.height-alto)/2);
}
function NClausulas(strUrl, w_width, w_height) {
	if(w_width==null){w_width = 630;}
	if(w_height==null){w_height = 250;}
	 
     var w_left = ((screen.width - w_width)/2);
     var w_top = ((screen.height - w_height)/2);
     var strOptions = "location=no";
     strOptions += ",toolbar=no";
     strOptions += ",menubar=no";
     strOptions += ",status=no";
     strOptions += ",scrollbars=yes";
     strOptions += ",resizable=yes";
     strOptions += ",left=" + w_left;
     strOptions += ",top=" + w_top;
     strOptions += ",width=" + w_width;
     strOptions += ",height=" + w_height;
     strOptions += ";";
     newWin = window.open(strUrl, "newWin", strOptions);
     newWin.document.close();
     newWin.focus();
}/*usada en claúsulas confidencialidad y en condiciones de uso*/

