// Funciones para hacer emerger divisiones
if (document.all)    {n=0;ie=1;ns6=0;fShow="visible";fHide="hidden";}
if (document.getElementById&&!document.all)    {n=0;ie=0;ns6=1;fShow="visible";fHide="hidden";}
if (document.layers) {n=1;ie=0;ns6=0;fShow="show";fHide="hide";}
divDegradado = 0; velocidad = 2;
function divEstilos(DivObjeto,DivValEstilo) {
  if (ie) { document.all(DivObjeto).filters.alpha.opacity = DivValEstilo }
  else    { document.getElementById(DivObjeto).style.MozOpacity = DivValEstilo/100 }
}
function DivSlowShow(nDiv) {
  divDegradado +=  velocidad;
  if (divDegradado < 200) {
    divEstilos(nDiv,divDegradado);
    setTimeout("DivSlowShow('"+nDiv+"')",1);
  }
}
function DivShow(nDiv) {
  if (ie) { 
    if (document.all(nDiv+"b")) { document.all(nDiv+"b").style.visibility = fShow; }
	if (document.all(nDiv))     { document.all(nDiv).style.visibility = fShow; } }
  else {
    if (document.getElementById(nDiv+"b")) { document.getElementById(nDiv+"b").style.visibility = fShow; }
	if (document.getElementById(nDiv))     { document.getElementById(nDiv).style.visibility = fShow; } }
}
function DivSSLoop(Div2Show,limite) {
  for (i=0; i<=limite; i++) {
    if (ie) { 
	  if (document.all(Div2Show+i+"b")) { DivSlowShow(Div2Show+i+"b"); }
	  if (document.all(Div2Show+i)) { DivSlowShow(Div2Show+i); }
    }
    else { 
	  if (document.getElementById(Div2Show+i+"b")) { DivSlowShow(Div2Show+i+"b"); }
	  if (document.getElementById(Div2Show+i)) { DivSlowShow(Div2Show+i); }
	}
  }
}