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 (LeadingZeros32087 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32087(secs) {
if (secs < 0) {
document.getElementById("cntdwns32087").innerHTML = FinishMessages32087;
return;
}
DisplayStrs32087 = DisplayFormats32087.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32087 = DisplayStrs32087.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32087 = DisplayStrs32087.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32087 = DisplayStrs32087.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32087").innerHTML = DisplayStrs32087;
if (CountActives32087)
//alert(SetTimeOutPeriods32087);
setTimeout("CountBacks32087(" + (secs+CountSteppers32087) + ")", SetTimeOutPeriods32087);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32087)=="undefined")
BackColors32087 = "";
if (typeof(ForeColors32087)=="undefined")
ForeColors32087= "white";
if (typeof(TargetDates32087)=="undefined")
TargetDates32087 = "04/21/2025 10:00:00 PM";
if (typeof(DisplayFormats32087)=="undefined")
DisplayFormats32087 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32087)=="undefined")
CountActives32087 = true;
if (typeof(FinishMessages32087)=="undefined")
FinishMessages32087 = "";
if (typeof(CountSteppers32087)!="number")
CountSteppers32087 = -1;
if (typeof(LeadingZeros32087)=="undefined")
LeadingZeros32087 = true;
CountSteppers32087 = Math.ceil(CountSteppers32087);
if (CountSteppers32087 == 0)
CountActives32087 = false;
var SetTimeOutPeriods32087 = (Math.abs(CountSteppers32087)-1)*1000 + 990;
puti(BackColors32087, ForeColors32087);
var dthens32087 = new Date(TargetDates32087);
var dnows32087 = new Date("05/01/2025 11:48:51 PM");
if(CountSteppers32087>0)
ddiffs32087 = new Date(dnows32087-dthens32087);
else
ddiffs32087 = new Date(dthens32087-dnows32087);
gsecss32087 = Math.floor(ddiffs32087.valueOf()/1000);
CountBacks32087(gsecss32087);