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 (LeadingZeros33523 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33523(secs) { if (secs < 0) { document.getElementById("cntdwns33523").innerHTML = FinishMessages33523; return; } DisplayStrs33523 = DisplayFormats33523.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33523 = DisplayStrs33523.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33523 = DisplayStrs33523.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33523 = DisplayStrs33523.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33523").innerHTML = DisplayStrs33523; if (CountActives33523) //alert(SetTimeOutPeriods33523); setTimeout("CountBacks33523(" + (secs+CountSteppers33523) + ")", SetTimeOutPeriods33523); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33523)=="undefined") BackColors33523 = ""; if (typeof(ForeColors33523)=="undefined") ForeColors33523= "white"; if (typeof(TargetDates33523)=="undefined") TargetDates33523 = "02/08/2026 10:00:00 PM"; if (typeof(DisplayFormats33523)=="undefined") DisplayFormats33523 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33523)=="undefined") CountActives33523 = true; if (typeof(FinishMessages33523)=="undefined") FinishMessages33523 = ""; if (typeof(CountSteppers33523)!="number") CountSteppers33523 = -1; if (typeof(LeadingZeros33523)=="undefined") LeadingZeros33523 = true; CountSteppers33523 = Math.ceil(CountSteppers33523); if (CountSteppers33523 == 0) CountActives33523 = false; var SetTimeOutPeriods33523 = (Math.abs(CountSteppers33523)-1)*1000 + 990; puti(BackColors33523, ForeColors33523); var dthens33523 = new Date(TargetDates33523); var dnows33523 = new Date("02/05/2026 3:42:47 PM"); if(CountSteppers33523>0) ddiffs33523 = new Date(dnows33523-dthens33523); else ddiffs33523 = new Date(dthens33523-dnows33523); gsecss33523 = Math.floor(ddiffs33523.valueOf()/1000); CountBacks33523(gsecss33523);