function show2()
{
  if (!document.all&&!document.getElementById)
  return
  thelement=document.getElementById? document.getElementById("tick2"): document.all.tick2
  var Digital=new Date()
  var hours=Digital.getHours()
  var minutes=Digital.getMinutes()
 var seconds=Digital.getSeconds()

  if (minutes<=9)
    minutes="0"+minutes
  if (seconds<=9)
     seconds="0"+seconds
  var ctime=hours+":"+minutes+":"+seconds
  //var ctime=hours+":"+minutes
  thelement.innerHTML=ctime
  setTimeout("show2()",1000)
}
function setheightel()
{
  var actual_obj = document.getElementById("actual");
  var actualH = actual_obj.clientHeight;

  var anons_obj = document.getElementById("anons");
  var anonsH = anons_obj.clientHeight;

  var lastnews_obj = document.getElementById("lastnews");
  var lastnewsH = lastnews_obj.clientHeight;

  var maxH = 0;
  if(actualH > anonsH)
  {
    if(actualH > lastnewsH)
    {
      maxH=actualH;
    }
    else
    {
      maxH=lastnewsH;
    }
  }
  else
  {
    if(anonsH > lastnewsH)
    {
      maxH=anonsH;
    }
    else
    {
      maxH=lastnewsH;
    }
  }
  //alert(maxH)

  actual_obj.style.height=maxH;
  anons_obj.style.height=maxH;
  lastnews_obj.style.height=maxH;
}

function zapusk()
{
  show2();
  //setheightel();
}

window.onload=zapusk
