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 (LeadingZeros34296 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks34296(secs) { if (secs < 0) { document.getElementById("cntdwns34296").innerHTML = FinishMessages34296; return; } DisplayStrs34296 = DisplayFormats34296.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs34296 = DisplayStrs34296.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs34296 = DisplayStrs34296.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs34296 = DisplayStrs34296.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns34296").innerHTML = DisplayStrs34296; if (CountActives34296) //alert(SetTimeOutPeriods34296); setTimeout("CountBacks34296(" + (secs+CountSteppers34296) + ")", SetTimeOutPeriods34296); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors34296)=="undefined") BackColors34296 = ""; if (typeof(ForeColors34296)=="undefined") ForeColors34296= "white"; if (typeof(TargetDates34296)=="undefined") TargetDates34296 = "11/06/2026 9:00:00 AM"; if (typeof(DisplayFormats34296)=="undefined") DisplayFormats34296 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives34296)=="undefined") CountActives34296 = true; if (typeof(FinishMessages34296)=="undefined") FinishMessages34296 = ""; if (typeof(CountSteppers34296)!="number") CountSteppers34296 = -1; if (typeof(LeadingZeros34296)=="undefined") LeadingZeros34296 = true; CountSteppers34296 = Math.ceil(CountSteppers34296); if (CountSteppers34296 == 0) CountActives34296 = false; var SetTimeOutPeriods34296 = (Math.abs(CountSteppers34296)-1)*1000 + 990; puti(BackColors34296, ForeColors34296); var dthens34296 = new Date(TargetDates34296); var dnows34296 = new Date("11/04/2026 2:20:13 AM"); if(CountSteppers34296>0) ddiffs34296 = new Date(dnows34296-dthens34296); else ddiffs34296 = new Date(dthens34296-dnows34296); gsecss34296 = Math.floor(ddiffs34296.valueOf()/1000); CountBacks34296(gsecss34296);