//
// Javascript code for RCSCPA.com's countdown
//
function showCountdown () {
  var globalTimezone = -5;
  tax = new Date("April 15, 2004 00:00:00");
  now = new Date();
  var countdown;
  var secstil = Math.round((tax.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 April 15th..';
  } else if (daystil == 1) {
    countdown = 'Only <strong>' + daystil + '</strong> day \'til April 15th!';
  } else if (daystil == 0) {
    countdown = '<strong>It\'s April 15th! The End of Tax Season. Extentions are DUE</strong>';
  } else if (daystil < 0) {
    countdown = '<strong>Call Early For Your Appointment...RCSCPA.com!</strong>';
  }
  return countdown;
}





