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 (LeadingZeros31576 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks31576(secs) {
if (secs < 0) {
document.getElementById("cntdwns31576").innerHTML = FinishMessages31576;
return;
}
DisplayStrs31576 = DisplayFormats31576.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs31576 = DisplayStrs31576.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs31576 = DisplayStrs31576.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs31576 = DisplayStrs31576.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns31576").innerHTML = DisplayStrs31576;
if (CountActives31576)
//alert(SetTimeOutPeriods31576);
setTimeout("CountBacks31576(" + (secs+CountSteppers31576) + ")", SetTimeOutPeriods31576);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors31576)=="undefined")
BackColors31576 = "";
if (typeof(ForeColors31576)=="undefined")
ForeColors31576= "white";
if (typeof(TargetDates31576)=="undefined")
TargetDates31576 = "03/28/2025 10:00:00 PM";
if (typeof(DisplayFormats31576)=="undefined")
DisplayFormats31576 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives31576)=="undefined")
CountActives31576 = true;
if (typeof(FinishMessages31576)=="undefined")
FinishMessages31576 = "";
if (typeof(CountSteppers31576)!="number")
CountSteppers31576 = -1;
if (typeof(LeadingZeros31576)=="undefined")
LeadingZeros31576 = true;
CountSteppers31576 = Math.ceil(CountSteppers31576);
if (CountSteppers31576 == 0)
CountActives31576 = false;
var SetTimeOutPeriods31576 = (Math.abs(CountSteppers31576)-1)*1000 + 990;
puti(BackColors31576, ForeColors31576);
var dthens31576 = new Date(TargetDates31576);
var dnows31576 = new Date("03/30/2025 10:50:56 PM");
if(CountSteppers31576>0)
ddiffs31576 = new Date(dnows31576-dthens31576);
else
ddiffs31576 = new Date(dthens31576-dnows31576);
gsecss31576 = Math.floor(ddiffs31576.valueOf()/1000);
CountBacks31576(gsecss31576);