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 (LeadingZeros32051 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32051(secs) {
if (secs < 0) {
document.getElementById("cntdwns32051").innerHTML = FinishMessages32051;
return;
}
DisplayStrs32051 = DisplayFormats32051.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32051 = DisplayStrs32051.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32051 = DisplayStrs32051.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32051 = DisplayStrs32051.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32051").innerHTML = DisplayStrs32051;
if (CountActives32051)
//alert(SetTimeOutPeriods32051);
setTimeout("CountBacks32051(" + (secs+CountSteppers32051) + ")", SetTimeOutPeriods32051);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32051)=="undefined")
BackColors32051 = "";
if (typeof(ForeColors32051)=="undefined")
ForeColors32051= "white";
if (typeof(TargetDates32051)=="undefined")
TargetDates32051 = "03/28/2025 10:00:00 PM";
if (typeof(DisplayFormats32051)=="undefined")
DisplayFormats32051 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32051)=="undefined")
CountActives32051 = true;
if (typeof(FinishMessages32051)=="undefined")
FinishMessages32051 = "";
if (typeof(CountSteppers32051)!="number")
CountSteppers32051 = -1;
if (typeof(LeadingZeros32051)=="undefined")
LeadingZeros32051 = true;
CountSteppers32051 = Math.ceil(CountSteppers32051);
if (CountSteppers32051 == 0)
CountActives32051 = false;
var SetTimeOutPeriods32051 = (Math.abs(CountSteppers32051)-1)*1000 + 990;
puti(BackColors32051, ForeColors32051);
var dthens32051 = new Date(TargetDates32051);
var dnows32051 = new Date("03/30/2025 2:09:47 PM");
if(CountSteppers32051>0)
ddiffs32051 = new Date(dnows32051-dthens32051);
else
ddiffs32051 = new Date(dthens32051-dnows32051);
gsecss32051 = Math.floor(ddiffs32051.valueOf()/1000);
CountBacks32051(gsecss32051);