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 (LeadingZeros33292 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33292(secs) { if (secs < 0) { document.getElementById("cntdwns33292").innerHTML = FinishMessages33292; return; } DisplayStrs33292 = DisplayFormats33292.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33292 = DisplayStrs33292.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33292 = DisplayStrs33292.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33292 = DisplayStrs33292.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33292").innerHTML = DisplayStrs33292; if (CountActives33292) //alert(SetTimeOutPeriods33292); setTimeout("CountBacks33292(" + (secs+CountSteppers33292) + ")", SetTimeOutPeriods33292); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33292)=="undefined") BackColors33292 = ""; if (typeof(ForeColors33292)=="undefined") ForeColors33292= "white"; if (typeof(TargetDates33292)=="undefined") TargetDates33292 = "02/05/2026 10:00:00 PM"; if (typeof(DisplayFormats33292)=="undefined") DisplayFormats33292 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33292)=="undefined") CountActives33292 = true; if (typeof(FinishMessages33292)=="undefined") FinishMessages33292 = ""; if (typeof(CountSteppers33292)!="number") CountSteppers33292 = -1; if (typeof(LeadingZeros33292)=="undefined") LeadingZeros33292 = true; CountSteppers33292 = Math.ceil(CountSteppers33292); if (CountSteppers33292 == 0) CountActives33292 = false; var SetTimeOutPeriods33292 = (Math.abs(CountSteppers33292)-1)*1000 + 990; puti(BackColors33292, ForeColors33292); var dthens33292 = new Date(TargetDates33292); var dnows33292 = new Date("02/03/2026 2:32:56 PM"); if(CountSteppers33292>0) ddiffs33292 = new Date(dnows33292-dthens33292); else ddiffs33292 = new Date(dthens33292-dnows33292); gsecss33292 = Math.floor(ddiffs33292.valueOf()/1000); CountBacks33292(gsecss33292);