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 (LeadingZeros33326 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33326(secs) { if (secs < 0) { document.getElementById("cntdwns33326").innerHTML = FinishMessages33326; return; } DisplayStrs33326 = DisplayFormats33326.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33326 = DisplayStrs33326.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33326 = DisplayStrs33326.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33326 = DisplayStrs33326.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33326").innerHTML = DisplayStrs33326; if (CountActives33326) //alert(SetTimeOutPeriods33326); setTimeout("CountBacks33326(" + (secs+CountSteppers33326) + ")", SetTimeOutPeriods33326); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33326)=="undefined") BackColors33326 = ""; if (typeof(ForeColors33326)=="undefined") ForeColors33326= "white"; if (typeof(TargetDates33326)=="undefined") TargetDates33326 = "02/15/2026 10:00:00 PM"; if (typeof(DisplayFormats33326)=="undefined") DisplayFormats33326 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33326)=="undefined") CountActives33326 = true; if (typeof(FinishMessages33326)=="undefined") FinishMessages33326 = ""; if (typeof(CountSteppers33326)!="number") CountSteppers33326 = -1; if (typeof(LeadingZeros33326)=="undefined") LeadingZeros33326 = true; CountSteppers33326 = Math.ceil(CountSteppers33326); if (CountSteppers33326 == 0) CountActives33326 = false; var SetTimeOutPeriods33326 = (Math.abs(CountSteppers33326)-1)*1000 + 990; puti(BackColors33326, ForeColors33326); var dthens33326 = new Date(TargetDates33326); var dnows33326 = new Date("02/13/2026 3:15:58 AM"); if(CountSteppers33326>0) ddiffs33326 = new Date(dnows33326-dthens33326); else ddiffs33326 = new Date(dthens33326-dnows33326); gsecss33326 = Math.floor(ddiffs33326.valueOf()/1000); CountBacks33326(gsecss33326);