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 (LeadingZeros31224 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks31224(secs) {
if (secs < 0) {
document.getElementById("cntdwns31224").innerHTML = FinishMessages31224;
return;
}
DisplayStrs31224 = DisplayFormats31224.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs31224 = DisplayStrs31224.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs31224 = DisplayStrs31224.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs31224 = DisplayStrs31224.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns31224").innerHTML = DisplayStrs31224;
if (CountActives31224)
//alert(SetTimeOutPeriods31224);
setTimeout("CountBacks31224(" + (secs+CountSteppers31224) + ")", SetTimeOutPeriods31224);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors31224)=="undefined")
BackColors31224 = "";
if (typeof(ForeColors31224)=="undefined")
ForeColors31224= "white";
if (typeof(TargetDates31224)=="undefined")
TargetDates31224 = "02/11/2025 9:00:00 PM";
if (typeof(DisplayFormats31224)=="undefined")
DisplayFormats31224 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives31224)=="undefined")
CountActives31224 = true;
if (typeof(FinishMessages31224)=="undefined")
FinishMessages31224 = "";
if (typeof(CountSteppers31224)!="number")
CountSteppers31224 = -1;
if (typeof(LeadingZeros31224)=="undefined")
LeadingZeros31224 = true;
CountSteppers31224 = Math.ceil(CountSteppers31224);
if (CountSteppers31224 == 0)
CountActives31224 = false;
var SetTimeOutPeriods31224 = (Math.abs(CountSteppers31224)-1)*1000 + 990;
puti(BackColors31224, ForeColors31224);
var dthens31224 = new Date(TargetDates31224);
var dnows31224 = new Date("03/14/2025 6:16:49 AM");
if(CountSteppers31224>0)
ddiffs31224 = new Date(dnows31224-dthens31224);
else
ddiffs31224 = new Date(dthens31224-dnows31224);
gsecss31224 = Math.floor(ddiffs31224.valueOf()/1000);
CountBacks31224(gsecss31224);