// JavaScript Document
function inferior() 
{
	new Effect.Grow($("divinf"),{duration:1});
	new Effect.Grow($("tblinf"),{duration:2});
}

function bursatil(lenguaje) {
    if (lenguaje == '_Ingles') {
        top.document.getElementById("divbursatil").innerHTML = '<table cellpadding="0" cellspacing="0" border="0"><tr><td><iframe src="bmv_ingles/homeing.html" width="800" height="600" frameborder="no"></iframe></td><td valign="top"><div id="divcerrar"><img onclick="cierrabur();" src="imagenes/cerrar.jpg" /></div></td></tr></table>';
    }
    else {
        top.document.getElementById("divbursatil").innerHTML = '<table cellpadding="0" cellspacing="0" border="0"><tr><td><iframe src="bmv/homeesp.html" width="800" height="600" frameborder="no"></iframe></td><td valign="top"><div id="divcerrar"><img onclick="cierrabur();" src="imagenes/cerrar.jpg" /></div></td></tr></table>';
    }
	new Effect.Opacity(top.document.getElementById("fondotransp"), {duration:3, from: 1, to: 0.5}); 
	new Effect.Opacity(top.document.getElementById("divbursatil"), {duration:3, from: 0, to: 1}); 
	top.document.getElementById("fondotransp").style.display="block";
	top.document.getElementById("divbursatil").style.display="block";
}

function cierrabur()
{
	top.document.getElementById("divbursatil").style.display="none";
	top.document.getElementById("fondotransp").style.display="none";
}