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 (LeadingZeros34369 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks34369(secs) { if (secs < 0) { document.getElementById("cntdwns34369").innerHTML = FinishMessages34369; return; } DisplayStrs34369 = DisplayFormats34369.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs34369 = DisplayStrs34369.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs34369 = DisplayStrs34369.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs34369 = DisplayStrs34369.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns34369").innerHTML = DisplayStrs34369; if (CountActives34369) //alert(SetTimeOutPeriods34369); setTimeout("CountBacks34369(" + (secs+CountSteppers34369) + ")", SetTimeOutPeriods34369); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors34369)=="undefined") BackColors34369 = ""; if (typeof(ForeColors34369)=="undefined") ForeColors34369= "white"; if (typeof(TargetDates34369)=="undefined") TargetDates34369 = "11/08/2026 2:00:00 PM"; if (typeof(DisplayFormats34369)=="undefined") DisplayFormats34369 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives34369)=="undefined") CountActives34369 = true; if (typeof(FinishMessages34369)=="undefined") FinishMessages34369 = ""; if (typeof(CountSteppers34369)!="number") CountSteppers34369 = -1; if (typeof(LeadingZeros34369)=="undefined") LeadingZeros34369 = true; CountSteppers34369 = Math.ceil(CountSteppers34369); if (CountSteppers34369 == 0) CountActives34369 = false; var SetTimeOutPeriods34369 = (Math.abs(CountSteppers34369)-1)*1000 + 990; puti(BackColors34369, ForeColors34369); var dthens34369 = new Date(TargetDates34369); var dnows34369 = new Date("11/06/2026 1:21:59 PM"); if(CountSteppers34369>0) ddiffs34369 = new Date(dnows34369-dthens34369); else ddiffs34369 = new Date(dthens34369-dnows34369); gsecss34369 = Math.floor(ddiffs34369.valueOf()/1000); CountBacks34369(gsecss34369);