function calcage(secs, num1, num2, addDay, seconds) { if (addDay == 1){ s = ((Math.floor(secs/num1))).toString(); } else{ s = ((Math.floor(secs/num1))%num2).toString(); } if (LeadingZeros34044 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks34044(secs) { if (secs < 0) { document.getElementById("cntdwns34044").innerHTML = FinishMessages34044; return; } DisplayStrs34044 = DisplayFormats34044.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs34044 = DisplayStrs34044.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs34044 = DisplayStrs34044.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs34044 = DisplayStrs34044.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns34044").innerHTML = DisplayStrs34044; if (CountActives34044) //alert(SetTimeOutPeriods34044); setTimeout("CountBacks34044(" + (secs+CountSteppers34044) + ")", SetTimeOutPeriods34044); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors34044)=="undefined") BackColors34044 = ""; if (typeof(ForeColors34044)=="undefined") ForeColors34044= "white"; if (typeof(TargetDates34044)=="undefined") TargetDates34044 = "10/05/2026 9:00:00 AM"; if (typeof(DisplayFormats34044)=="undefined") DisplayFormats34044 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives34044)=="undefined") CountActives34044 = true; if (typeof(FinishMessages34044)=="undefined") FinishMessages34044 = ""; if (typeof(CountSteppers34044)!="number") CountSteppers34044 = -1; if (typeof(LeadingZeros34044)=="undefined") LeadingZeros34044 = true; CountSteppers34044 = Math.ceil(CountSteppers34044); if (CountSteppers34044 == 0) CountActives34044 = false; var SetTimeOutPeriods34044 = (Math.abs(CountSteppers34044)-1)*1000 + 990; puti(BackColors34044, ForeColors34044); var dthens34044 = new Date(TargetDates34044); var dnows34044 = new Date("10/03/2026 2:33:19 AM"); if(CountSteppers34044>0) ddiffs34044 = new Date(dnows34044-dthens34044); else ddiffs34044 = new Date(dthens34044-dnows34044); gsecss34044 = Math.floor(ddiffs34044.valueOf()/1000); CountBacks34044(gsecss34044);