var base = "/";
var explorer= (document.all) ? 1 : 0;
var documento= (explorer) ? "document.all." : "document.";
var IE4 = (document.all && !document.getElementById) ? true : false;
var IE5 = (document.all && document.getElementById) ? true : false;
var IE = IE4 || IE5;
var NS4 = (document.layers) ? true : false;
var NS5 = (!document.all && document.getElementById) ? true : false;
var NS6 = NS5;
var NS = NS4||NS5;
if (NS5) document.all = new Function("n", "return document.getElementById(n);");
//-------------- Opciones de configuración varia para hipotecas ----------------
var paramC, paramN, paramKtxt, paramK, paramPi, paramI, paramIF, paramCa, paramCe, paramCc, paramH;
var paramL=35;
var paramFc, paramR, paramFcv;
var ayudaC="Importe Hipoteca";
var ayudaIF="Interés Anual Periodo Final en % (de 0 a 100)";
var ayudaN="Plazo en años";
var ayudaCa="Comisión de Apertura en % (de 0 a 100)";
var ayudaCe="Comisión de Estudio en % (de 0 a 100)";
var ayudaCc="Comisión de Cancelación en % (de 0 a 100)";
var ayudaK="Periocidad de Pago";
var ayudaPi="Duración periodo inicial en años";
var ayudaI="Interés Periodo Inicial en % (de 0 a 100)";
//-------------- Opciones de configuración para los TIP tools ------------------
var borderTIP = 1;
var borderColorTIP = "#000000";
var bgColorTIP = "#FFFFFF";
var widthTIP = 100;
var textColorTIP = "#000000";
var fontTIP = "Verdana";
var fontSizeTIP = "10px";
var fontWeightTIP = "normal";
var hAlignTIP = "center";
var vAlignTIP = "top";
var moveTIP = false;
var offsetXTIP = 10;
var offsetYTIP = 10;
var paddingTIP = 2;
//------------------------------------------------------------------------------
function objCapa(idCapa)
{
if (document.layers) return document.layers[idCapa];
else return document.all(idCapa);
}
//------------------------------------------------------------------------------
function abrirWnd(url)
{
var tmp = url.substr(0, 5).toUpperCase();
if (tmp != 'HTTP:' && tmp != 'HTTPS') url = base + url;
window.open(url);
}
//------------------------------------------------------------------------------
function abrirWnd2(url, ancho, alto, nombreVentana)
{
var w;
var h;
if (ancho == null) w = 625;
else w = ancho;
if (alto == null) h = 400;
else h = alto;
var tmp = url.substr(0, 5).toUpperCase();
if (tmp != 'HTTP:' && tmp != 'HTTPS') url = base + url;
venta=window.open(url, nombreVentana, "top=0,left=0,toolbar=no,directories=no,location=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width="+ w +",height="+ h);
}
//------------------------------------------------------------------------------
function abrirWnd3(url)
{
venta=window.open(base+"wvio004m_documentos.asp?fich="+url,"", "top=0,left=0,toolbar=no,directories=no,location=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width=500,height=400");
}
//------------------------------------------------------------------------------
function abrirWnd4(url, ancho, alto)
{
var w;
var h;
if (ancho == null) w = 790;
else w = ancho;
if (alto == null) h = 590;
else h = alto;
var tmp = url.substr(0, 5).toUpperCase();
if (tmp != 'HTTP:' && tmp != 'HTTPS') url = base + url;
venta=window.open(url,"", "top=0,left=0,toolbar=no,directories=no,location=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no, width="+ w +",height="+ h);
}
//------------------------------------------------------------------------------
function abrirWnd5(url, ancho, alto)
{
var w;
var h;
if (ancho == null) w = 790;
else w = ancho;
if (alto == null) h = 590;
else h = alto;
var tmp = url.substr(0, 5).toUpperCase();
if (tmp != 'HTTP:' && tmp != 'HTTPS') url = base + url;
venta=window.open(url,"", "top=0,left=0,toolbar=yes,directories=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,copyhistory=no, width="+ w +",height="+ h);
}
//------------------------------------------------------------------------------
//-- Ventana nueva sin botones a 800x600
function abrirWnd6(url)
{
abrirWnd2(url, 790, 553,'');
}
//------------------------------------------------------------------------------
function abrir_ventana(url, titulo)
{
venta=window.open(url,titulo);
venta.focus();
}
//------------------------------------------------------------------------------
function abrir_ventana_cdr(url, titulo)
{
venta=window.open(url,titulo,"toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, hotkeys=no, copyhistory=no,width=790,height=553,top=0,left=0",true);
venta.focus();
}
//------------------------------------------------------------------------------
function abrir_ventana4(url, titulo, ancho, alto)
{
var w;
if (ancho == null) w = 500;
else w = ancho;
if (alto == null) h = 400;
else h = alto;
venta=window.open(url,titulo, "top=0,left=0,toolbar=no,directories=no,location=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width="+ w +",height="+ h);
}
//------------------------------------------------------------------------------
function crearPiePagina()
{
var cad;
var cont = (document.layers) ? 1 : 0;
cad = '
';
if (history.length>cont) cad += ' ';
cad +=' | '+
'![]() |
![]() | |
| 2002 Caixa Galicia. Todos los derechos reservados. | |