function countdown(CNT_TAG)
{
   var counter = document.getElementById(CNT_TAG);
   var secs = parseInt(counter.innerHTML);
   setInterval(function()
   {
      if( secs>0 ){
         counter.innerHTML = --secs;
      }
   }, 1000);
}
