My Countdown is not working... its show just 10.. I am trying run countdown timer on a click, under H5 heading, it will replace Open by timer,Clear by Reserved and Transparent background by orange color. and when it comes to less than 1, it will change change back again to default. abc() is function for onClick...

```
function abc() {
  if (firstTimer = "Open") {

    firstHeading.innerHTML = "Reserved";
    firstT.style.backgroundColor = "#D27900";

    function countDown(secs, elem) {
      var element = document.getElementById(elem);
      element.innerHTML = secs;
      if (secs < 1) {
        clearTimeout(timer);
        element.innerHTML = "Open";
        firstHeading.innerHTML = "Clear";
      }
      secs--;
      var timer = setTimeout('countDown(' + secs + ',"' + elem + '")', 10000);
    }
    countDown(10, "firstTblImageTimer");
  }
}

```