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 (LeadingZeros33336 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33336(secs) { if (secs < 0) { document.getElementById("cntdwns33336").innerHTML = FinishMessages33336; return; } DisplayStrs33336 = DisplayFormats33336.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33336 = DisplayStrs33336.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33336 = DisplayStrs33336.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33336 = DisplayStrs33336.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33336").innerHTML = DisplayStrs33336; if (CountActives33336) //alert(SetTimeOutPeriods33336); setTimeout("CountBacks33336(" + (secs+CountSteppers33336) + ")", SetTimeOutPeriods33336); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33336)=="undefined") BackColors33336 = ""; if (typeof(ForeColors33336)=="undefined") ForeColors33336= "white"; if (typeof(TargetDates33336)=="undefined") TargetDates33336 = "01/10/2026 10:00:00 PM"; if (typeof(DisplayFormats33336)=="undefined") DisplayFormats33336 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33336)=="undefined") CountActives33336 = true; if (typeof(FinishMessages33336)=="undefined") FinishMessages33336 = ""; if (typeof(CountSteppers33336)!="number") CountSteppers33336 = -1; if (typeof(LeadingZeros33336)=="undefined") LeadingZeros33336 = true; CountSteppers33336 = Math.ceil(CountSteppers33336); if (CountSteppers33336 == 0) CountActives33336 = false; var SetTimeOutPeriods33336 = (Math.abs(CountSteppers33336)-1)*1000 + 990; puti(BackColors33336, ForeColors33336); var dthens33336 = new Date(TargetDates33336); var dnows33336 = new Date("01/09/2026 1:41:19 PM"); if(CountSteppers33336>0) ddiffs33336 = new Date(dnows33336-dthens33336); else ddiffs33336 = new Date(dthens33336-dnows33336); gsecss33336 = Math.floor(ddiffs33336.valueOf()/1000); CountBacks33336(gsecss33336);