title: document.write is killing page
body: <p>I created a timer and did not notice the document.write was killing the page because everything was working great. However, when the timer goes to 0, it only displays what is in the document.write function rather than everything else in my page.</p>
  
  <p>This is what is killing the page and only the text in ()'s is what is showing..</p>
  
  <pre><code>document.write("The NFL Season is here!!");
  </code></pre>
  
  <p>How can I make this so that the timer would stop and this text displays or this text can display on my page without killing the rest of the code?</p>
  
  <p>Here is my full code to demonstrate how I am doing this.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          function cdtd () {
              var nflSeason = new Date ("September 10, 2015 08:30:00");
              var now = new Date();
              var timeDiff = nflSeason.getTime() - now.getTime();
              if (timeDiff &lt; 0) {
                  clearTimeout(timer);
                  document.write("The NFL Season is here!!");
                  //Run any code needed for countdown completion here.
              }
  
              var seconds = Math.floor(timeDiff / 1000);
              var minutes = Math.floor(seconds / 60);
              var hours = Math.floor(minutes / 60);
              var days = Math.floor(hours / 24);
              hours %= 24;
              minutes %= 60;
              seconds %= 60;
  
              document.getElementById("daysBox").innerHTML = days;
              document.getElementById("hoursBox").innerHTML = hours;
              document.getElementById("minsBox").innerHTML = minutes;
              document.getElementById("secsBox").innerHTML = seconds;
  
              var timer = setTimeout('cdtd()',1000);
          }
  &lt;/script&gt;
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="countdown_out"&gt;
  &lt;div id="countdown_title"&gt;NFL Season Opener Countdown&lt;/div&gt;
  &lt;div class="countdown_position"&gt;
      &lt;div class="countdownBox"&gt;
          &lt;div class="countdown_time_category"&gt;Days&lt;/div&gt;
          &lt;div id="daysBox" class="countdown_time"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="countdownBox"&gt;
          &lt;div class="countdown_time_category"&gt;Hours&lt;/div&gt;
          &lt;div id="hoursBox" class="countdown_time"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="countdownBox"&gt;
          &lt;div class="countdown_time_category"&gt;Minutes&lt;/div&gt;
          &lt;div id="minsBox" class="countdown_time"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="countdownBox"&gt;
          &lt;div class="countdown_time_category"&gt;Seconds&lt;/div&gt;
          &lt;div id="secsBox" class="countdown_time"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>