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 (LeadingZeros33376 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33376(secs) { if (secs < 0) { document.getElementById("cntdwns33376").innerHTML = FinishMessages33376; return; } DisplayStrs33376 = DisplayFormats33376.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33376 = DisplayStrs33376.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33376 = DisplayStrs33376.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33376 = DisplayStrs33376.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33376").innerHTML = DisplayStrs33376; if (CountActives33376) //alert(SetTimeOutPeriods33376); setTimeout("CountBacks33376(" + (secs+CountSteppers33376) + ")", SetTimeOutPeriods33376); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33376)=="undefined") BackColors33376 = ""; if (typeof(ForeColors33376)=="undefined") ForeColors33376= "white"; if (typeof(TargetDates33376)=="undefined") TargetDates33376 = "03/07/2026 10:00:00 PM"; if (typeof(DisplayFormats33376)=="undefined") DisplayFormats33376 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33376)=="undefined") CountActives33376 = true; if (typeof(FinishMessages33376)=="undefined") FinishMessages33376 = ""; if (typeof(CountSteppers33376)!="number") CountSteppers33376 = -1; if (typeof(LeadingZeros33376)=="undefined") LeadingZeros33376 = true; CountSteppers33376 = Math.ceil(CountSteppers33376); if (CountSteppers33376 == 0) CountActives33376 = false; var SetTimeOutPeriods33376 = (Math.abs(CountSteppers33376)-1)*1000 + 990; puti(BackColors33376, ForeColors33376); var dthens33376 = new Date(TargetDates33376); var dnows33376 = new Date("03/04/2026 3:06:48 AM"); if(CountSteppers33376>0) ddiffs33376 = new Date(dnows33376-dthens33376); else ddiffs33376 = new Date(dthens33376-dnows33376); gsecss33376 = Math.floor(ddiffs33376.valueOf()/1000); CountBacks33376(gsecss33376);