// travis gratton EPT technology
function countdownRedirect(url)
{
   var TARG_ID = "COUNTDOWN_REDIRECT";
   var DEF_MSG = ""; // if you want a message in between the transition here is the paramater

 
   if( ! url )
   {
      throw new Error('You didn\'t include the "url" parameter');
   }


   var e = document.getElementById(TARG_ID);

   if( ! e )
   {
      throw new Error('"COUNTDOWN_REDIRECT" element id not found');
   }

   var cTicks = 25;   // here is where you set the timer "the time before it goes to the website"

   var timer = setInterval(function()
   {
      if( cTicks )
      {
       
		 --cTicks;
      }
      else
      {
         clearInterval(timer);
         location = url;	  
      }

   }, 1000);
}