// JavaScript Document
function showPic (whichpic) {
 if (document.getElementById) {
  document.getElementById('placeholder').src = "funcs/muestraimagen.php?imagen="+whichpic.rel+"&modo=maximoBi&tamMaxH=500&tamMaxV=500";
 // cargando();
  if (whichpic.title) {
   //document.getElementById('desc').childNodes[0].nodeValue = whichpic.title;
   document.getElementById('desc').innerHTML = whichpic.title;
  }/* else {
   document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
  }*/
  return false;
 } else {
  return true;
 }
}

function showInfo (whichpic, index,listaCont) {
 if (document.getElementById) {
  document.getElementById('placeholder').src = "funcs/muestraimagen.php?imagen="+whichpic.rel+"&modo=maximoBi&tamMaxH=250&tamMaxV=350";
 // cargando();
  if (listaCont[index]) {
   //document.getElementById('desc').childNodes[0].nodeValue = whichpic.title;
   document.getElementById('desc').innerHTML = listaCont[index];
  }/* else {
   document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
  }*/
  return false;
 } else {
  return true;
 }
}

function cargando()
{
	 document.getElementById('divCargando').display='block';
}

function stopCargando()
{
	document.getElementById('divCargando').visibility="none";
}
