//
// Javascript code for Spring countdown
//
function showCountdown () {
  var globalTimezone = -5;
  spring = new Date("March 21, 2010 00:00:00");
  now = new Date();
  var countdown;
  var secstil = Math.round((spring.getTime() - now.getTime())/1000);
  secstil = secstil + (globalTimezone * 60 * 60 * -1);
  var daystil = Math.ceil(((secstil/60)/60)/24);
  
  // Generate display text
  if (daystil > 1) {
    countdown = 'Only <strong>' + daystil + '</strong> days \'til Spring...';
  } else if (daystil == 1) {
    countdown = 'Only <strong>' + daystil + '</strong> day \'til Spring!';
  } else if (daystil == 0) {
    countdown = '<strong>It\'s Spring!</strong>';
  } else if (daystil < 0) {
    countdown = ' ';
  }
  return countdown;
}



