function stopClock (){
if(stat)
  clearTimeout(timerID)
}
function clock() {
  if (seconds>=59){
    seconds=0
    if (minutes>=59){
	  minutes=0
	  if (hours>=23){hours=0}else{hours++}
	} else {
	  minutes++
	}
  } else {
	seconds++
  }
  tmp = ((hours < 10) ? "0" : "") + hours;
  tmp += ((minutes < 10) ? ":0" : ":") + minutes;
  tmp += ((seconds < 10) ? ":0" : ":") + seconds;
  document.all("clock").innerHTML = tmp;
  timerID = setTimeout("clock()",1000);
  stat = true;
}
function startClock() {
  stopClock();
  clock();
}
function clickHandler(listItemNumber)
{
  var targetId, targetElement;
  targetId = listItemNumber + "Details";
  targetElement = document.all(targetId);
  if (targetElement.style.display == "none")
	targetElement.style.display = "";
  else
	targetElement.style.display = "none";
  return true;
}