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 (LeadingZeros33364 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33364(secs) { if (secs < 0) { document.getElementById("cntdwns33364").innerHTML = FinishMessages33364; return; } DisplayStrs33364 = DisplayFormats33364.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33364 = DisplayStrs33364.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33364 = DisplayStrs33364.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33364 = DisplayStrs33364.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33364").innerHTML = DisplayStrs33364; if (CountActives33364) //alert(SetTimeOutPeriods33364); setTimeout("CountBacks33364(" + (secs+CountSteppers33364) + ")", SetTimeOutPeriods33364); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33364)=="undefined") BackColors33364 = ""; if (typeof(ForeColors33364)=="undefined") ForeColors33364= "white"; if (typeof(TargetDates33364)=="undefined") TargetDates33364 = "02/27/2026 10:00:00 PM"; if (typeof(DisplayFormats33364)=="undefined") DisplayFormats33364 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33364)=="undefined") CountActives33364 = true; if (typeof(FinishMessages33364)=="undefined") FinishMessages33364 = ""; if (typeof(CountSteppers33364)!="number") CountSteppers33364 = -1; if (typeof(LeadingZeros33364)=="undefined") LeadingZeros33364 = true; CountSteppers33364 = Math.ceil(CountSteppers33364); if (CountSteppers33364 == 0) CountActives33364 = false; var SetTimeOutPeriods33364 = (Math.abs(CountSteppers33364)-1)*1000 + 990; puti(BackColors33364, ForeColors33364); var dthens33364 = new Date(TargetDates33364); var dnows33364 = new Date("02/25/2026 1:48:09 PM"); if(CountSteppers33364>0) ddiffs33364 = new Date(dnows33364-dthens33364); else ddiffs33364 = new Date(dthens33364-dnows33364); gsecss33364 = Math.floor(ddiffs33364.valueOf()/1000); CountBacks33364(gsecss33364);