function jsClock24hr(){
  var time   = new Date();
  var hour   = time.getHours();
  var minute = time.getMinutes();
  var second = time.getSeconds();
  var temp   = '' + ((hour < 10) ? '0' : '') + hour;
  temp      += ((minute < 10) ? ':0' : ':') + minute;
  temp      += ((second < 10) ? ':0' : ':') + second;

  document.getElementById('clocks').innerHTML = temp;
  id = setTimeout('jsClock24hr()', 1000);
}

$(document).ready(function(){
  $('a[rel^=lightbox]').colorbox({maxWidth:'98%', maxHeight:'98%', scalePhotos:true})
  jsClock24hr();
});


