var okay=0;
bNombre = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ( (bNombre == "Netscape" && bVer >= 3 ) ||
(bNombre == "Microsoft Internet Explorer" && bVer >= 4))
br = "n3";
else br = "n2";
function imgActf(par1,par2) {
if (br == "n3")
document.images['f_f'].src = eval('f_'+par1+''+ par2 + 'on.src');
}
function cargaDefault(imagen) {
imagen.src="http://www.viabcp.com/inversiones/gifs/nochart.gif";
}
function MM_findObj0(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i< d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i < d.layers.length;i++) x=MM_findObj0(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function tmt_findObj(n) {
var x,t; if((n.indexOf("?"))>0&&parent.frames.length){t=n.split("?");
x=eval("parent.frames['"+t[1]+"'].document.getElementById('"+t[0]+"')");
}else{x=document.getElementById(n)}return x;
}
function MM_setTextOfLayer(objName,x,newText) { //v3.0
var obj=(document.getElementById) ? tmt_findObj(objName) : MM_findObj0(objName);
if (obj!=null) with (obj)
if (document.layers) {
//document.layers[objName+'Interna'].document.open();
document.layers[objName].document.write(newText);
document.layers[objName].document.close();
}
else innerHTML = newText;
}
function MM_setTextOfLayer1(objName,xx,newText) { //v3.0
var obj=(document.getElementById) ? tmt_findObj(objName) : MM_findObj0(objName);
if (obj!=null) {with (obj)
if (document.layers) {
//document.layers[objName].document.layers[objName+'Interna'].document.open();
document.layers[objName+'Interna'].document.write(newText);
document.layers[objName+'Interna'].document.close();
}
else innerHTML = newText;
}
}
function InicializaCuadro(valorradio,valorboton) {
if (okay==1){
indx=parseInt((parseInt(valorradio)-1)*4 + parseInt(valorboton));
MM_setTextOfLayer1('LayerTitulos','LayerTitulosInterna',eval('s'+indx));
MM_setTextOfLayer1('LayerTendencias','LayerTendenciasInterna',eval('tabla'+valorradio));
imgActf(valorboton,valorradio);
}
}
document.write('
');
document.write('');
document.write('| INFORMACIÓN DEL MERCADO | ');
document.write('
');
document.write('');
document.write(' | ');
document.write('
');
document.write('');
document.write(' | ');
document.write('
');
document.write('');
document.write('');
document.write('');
document.write(' | ');
document.write(' ');
document.write('');
document.write(' | ');
document.write(' ');
document.write('');
document.write(' | ');
document.write(' ');
document.write(' |
');