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 (LeadingZeros34353 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks34353(secs) { if (secs < 0) { document.getElementById("cntdwns34353").innerHTML = FinishMessages34353; return; } DisplayStrs34353 = DisplayFormats34353.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs34353 = DisplayStrs34353.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs34353 = DisplayStrs34353.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs34353 = DisplayStrs34353.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns34353").innerHTML = DisplayStrs34353; if (CountActives34353) //alert(SetTimeOutPeriods34353); setTimeout("CountBacks34353(" + (secs+CountSteppers34353) + ")", SetTimeOutPeriods34353); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors34353)=="undefined") BackColors34353 = ""; if (typeof(ForeColors34353)=="undefined") ForeColors34353= "white"; if (typeof(TargetDates34353)=="undefined") TargetDates34353 = "11/10/2026 11:00:00 PM"; if (typeof(DisplayFormats34353)=="undefined") DisplayFormats34353 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives34353)=="undefined") CountActives34353 = true; if (typeof(FinishMessages34353)=="undefined") FinishMessages34353 = ""; if (typeof(CountSteppers34353)!="number") CountSteppers34353 = -1; if (typeof(LeadingZeros34353)=="undefined") LeadingZeros34353 = true; CountSteppers34353 = Math.ceil(CountSteppers34353); if (CountSteppers34353 == 0) CountActives34353 = false; var SetTimeOutPeriods34353 = (Math.abs(CountSteppers34353)-1)*1000 + 990; puti(BackColors34353, ForeColors34353); var dthens34353 = new Date(TargetDates34353); var dnows34353 = new Date("11/25/2026 1:02:44 PM"); if(CountSteppers34353>0) ddiffs34353 = new Date(dnows34353-dthens34353); else ddiffs34353 = new Date(dthens34353-dnows34353); gsecss34353 = Math.floor(ddiffs34353.valueOf()/1000); CountBacks34353(gsecss34353);