// JavaScript Document


  var OpacidadInicial=0

function MostrarTexto(TextoAMostrar){
  if (!document.getElementById)
  return
  textcontainerobj=document.getElementById("DescripcionLink")
  browserdetect=textcontainerobj.filters? "ie" : typeof textcontainerobj.style.MozOpacity=="string"? "mozilla" : ""
  instantset(OpacidadInicial)
  document.getElementById("DescripcionLink").innerHTML=TextoAMostrar
  highlighting=setInterval("gradualfade(textcontainerobj)",70)
}

function OcultarTexto(){
  LimpiarTiempo()
  instantset(OpacidadInicial)
}

function instantset(degree){
  if (browserdetect=="mozilla")
  textcontainerobj.style.MozOpacity=degree/100
  else if (browserdetect=="ie")
	  textcontainerobj.filters.alpha.opacity=degree
  else if (document.getElementById && OpacidadInicial==0)
	  document.getElementById("DescripcionLink").innerHTML=""
}
function LimpiarTiempo(){
  if (window.highlighting) clearInterval(highlighting)
}

function gradualfade(cur2){
  if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
	  cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)+0.2, 0.99)
  else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
	  cur2.filters.alpha.opacity+=45
  else if (window.highlighting)
	clearInterval(highlighting)
}

