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 (LeadingZeros34256 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks34256(secs) { if (secs < 0) { document.getElementById("cntdwns34256").innerHTML = FinishMessages34256; return; } DisplayStrs34256 = DisplayFormats34256.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs34256 = DisplayStrs34256.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs34256 = DisplayStrs34256.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs34256 = DisplayStrs34256.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns34256").innerHTML = DisplayStrs34256; if (CountActives34256) //alert(SetTimeOutPeriods34256); setTimeout("CountBacks34256(" + (secs+CountSteppers34256) + ")", SetTimeOutPeriods34256); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors34256)=="undefined") BackColors34256 = ""; if (typeof(ForeColors34256)=="undefined") ForeColors34256= "white"; if (typeof(TargetDates34256)=="undefined") TargetDates34256 = "11/21/2026 11:00:00 AM"; if (typeof(DisplayFormats34256)=="undefined") DisplayFormats34256 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives34256)=="undefined") CountActives34256 = true; if (typeof(FinishMessages34256)=="undefined") FinishMessages34256 = ""; if (typeof(CountSteppers34256)!="number") CountSteppers34256 = -1; if (typeof(LeadingZeros34256)=="undefined") LeadingZeros34256 = true; CountSteppers34256 = Math.ceil(CountSteppers34256); if (CountSteppers34256 == 0) CountActives34256 = false; var SetTimeOutPeriods34256 = (Math.abs(CountSteppers34256)-1)*1000 + 990; puti(BackColors34256, ForeColors34256); var dthens34256 = new Date(TargetDates34256); var dnows34256 = new Date("09/27/2026 8:10:40 AM"); if(CountSteppers34256>0) ddiffs34256 = new Date(dnows34256-dthens34256); else ddiffs34256 = new Date(dthens34256-dnows34256); gsecss34256 = Math.floor(ddiffs34256.valueOf()/1000); CountBacks34256(gsecss34256);