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 (LeadingZeros31816 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks31816(secs) {
if (secs < 0) {
document.getElementById("cntdwns31816").innerHTML = FinishMessages31816;
return;
}
DisplayStrs31816 = DisplayFormats31816.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs31816 = DisplayStrs31816.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs31816 = DisplayStrs31816.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs31816 = DisplayStrs31816.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns31816").innerHTML = DisplayStrs31816;
if (CountActives31816)
//alert(SetTimeOutPeriods31816);
setTimeout("CountBacks31816(" + (secs+CountSteppers31816) + ")", SetTimeOutPeriods31816);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors31816)=="undefined")
BackColors31816 = "";
if (typeof(ForeColors31816)=="undefined")
ForeColors31816= "white";
if (typeof(TargetDates31816)=="undefined")
TargetDates31816 = "03/28/2025 10:00:00 PM";
if (typeof(DisplayFormats31816)=="undefined")
DisplayFormats31816 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives31816)=="undefined")
CountActives31816 = true;
if (typeof(FinishMessages31816)=="undefined")
FinishMessages31816 = "";
if (typeof(CountSteppers31816)!="number")
CountSteppers31816 = -1;
if (typeof(LeadingZeros31816)=="undefined")
LeadingZeros31816 = true;
CountSteppers31816 = Math.ceil(CountSteppers31816);
if (CountSteppers31816 == 0)
CountActives31816 = false;
var SetTimeOutPeriods31816 = (Math.abs(CountSteppers31816)-1)*1000 + 990;
puti(BackColors31816, ForeColors31816);
var dthens31816 = new Date(TargetDates31816);
var dnows31816 = new Date("03/30/2025 7:03:18 PM");
if(CountSteppers31816>0)
ddiffs31816 = new Date(dnows31816-dthens31816);
else
ddiffs31816 = new Date(dthens31816-dnows31816);
gsecss31816 = Math.floor(ddiffs31816.valueOf()/1000);
CountBacks31816(gsecss31816);