// toggle show / hide of articles in topics
function toggleLayer( whichLayer )
{
  var elem, vis;
  if( document.getElementById ) // this is the way the standards work
    elem = document.getElementById( whichLayer );
  else if( document.all ) // this is the way old msie versions work
      elem = document.all[whichLayer];
  else if( document.layers ) // this is the way nn4 works
    elem = document.layers[whichLayer];
  vis = elem.style;
  // if the style.display value is blank we try to figure it out here
  if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
    vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
  vis.display = (vis.display==''||vis.display=='block')?'none':'block';
}


<!--
h = H.getHours()
m = H.getMinutes()
s = H.getSeconds()
d = H.getDate()
mm = H.getMonth()
y = H.getFullYear()
function laHora(){
H2 = new Date(y,d,mm,h,m,s+1)
h = H2.getHours(); h2 = h
m = H2.getMinutes(); m2 = m
s = H2.getSeconds();s2 = s
if(s<10){s2 = "0" + s}
if(m<10){m2 = "0" + m}
if(h<10){h2 = "0" + h}
if(mm==1){mmm="Enero"}
if(mm==2){mmm="Febrero"}
if(mm==3){mmm="Marzo"}
if(mm==4){mmm="Abril"}
if(mm==5){mmm="Mayo"}
if(mm==6){mmm="Junio"}
if(mm==7){mmm="Julio"}
if(mm==8){mmm="Agosto"}
if(mm==9){mmm="Septiembre"}
if(mm==10){mmm="Octubre"}
if(mm==11){mmm="Noviembre"}
if(mm==12){mmm="Diciembre"}
if(y==1910){yy="2010"}
if(y==1911){yy="2011"}
if(y==1912){yy="2012"}
if(y==1913){yy="2013"}

document.getElementById('reloj').firstChild.nodeValue = 
"Valladolid, " + d + " de " + mmm + " " + yy + ", " + h2 + ":" + m2 + ":" + s2
}
onload = function(){laHora();setInterval('laHora()',1000)
}
//-->

