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 (LeadingZeros33279 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33279(secs) { if (secs < 0) { document.getElementById("cntdwns33279").innerHTML = FinishMessages33279; return; } DisplayStrs33279 = DisplayFormats33279.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33279 = DisplayStrs33279.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33279 = DisplayStrs33279.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33279 = DisplayStrs33279.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33279").innerHTML = DisplayStrs33279; if (CountActives33279) //alert(SetTimeOutPeriods33279); setTimeout("CountBacks33279(" + (secs+CountSteppers33279) + ")", SetTimeOutPeriods33279); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33279)=="undefined") BackColors33279 = ""; if (typeof(ForeColors33279)=="undefined") ForeColors33279= "white"; if (typeof(TargetDates33279)=="undefined") TargetDates33279 = "02/04/2026 10:00:00 PM"; if (typeof(DisplayFormats33279)=="undefined") DisplayFormats33279 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33279)=="undefined") CountActives33279 = true; if (typeof(FinishMessages33279)=="undefined") FinishMessages33279 = ""; if (typeof(CountSteppers33279)!="number") CountSteppers33279 = -1; if (typeof(LeadingZeros33279)=="undefined") LeadingZeros33279 = true; CountSteppers33279 = Math.ceil(CountSteppers33279); if (CountSteppers33279 == 0) CountActives33279 = false; var SetTimeOutPeriods33279 = (Math.abs(CountSteppers33279)-1)*1000 + 990; puti(BackColors33279, ForeColors33279); var dthens33279 = new Date(TargetDates33279); var dnows33279 = new Date("02/02/2026 6:49:57 PM"); if(CountSteppers33279>0) ddiffs33279 = new Date(dnows33279-dthens33279); else ddiffs33279 = new Date(dthens33279-dnows33279); gsecss33279 = Math.floor(ddiffs33279.valueOf()/1000); CountBacks33279(gsecss33279);