function showTime(){
  var now = new Date();
  var hours = now.getHours();
  var minutes = now.getMinutes();
  var seconds = now.getSeconds();
  //var timeValue = "" + ((hours > 12) ? hours - 12 : hours);
  var timeValue = ((hours < 10) ? '0' : '') + hours;
  timeValue  += ((minutes < 10) ? ":0" : ":") + minutes;
  timeValue  += ((seconds < 10) ? ":0" : ":") + seconds;
  document.getElementById('clock').innerHTML = timeValue;
  timerID = setTimeout("showTime()", 1000);
  timerRunning = true;
}

function alignVertical() {
  var t = 0;
  var l = 0;
  
  $$('span.vertical').each(function(s1, index1) {

    s1.classNames().each(function(s, index) {
      if(s.substr(0,2) == 'h-') {
        t = ((s.substr(2) / 2 ) - (xHeight(s1) / 2 ));
        s1.style.top = t+'px';
      }
      
      if(s.substr(0,2) == 'w-') {
        s1.style.width = s.substr(2) + 'px';
        s1.style.left = 0;
      }
      
    });
  });
}