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 (LeadingZeros32081 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32081(secs) {
if (secs < 0) {
document.getElementById("cntdwns32081").innerHTML = FinishMessages32081;
return;
}
DisplayStrs32081 = DisplayFormats32081.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32081 = DisplayStrs32081.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32081 = DisplayStrs32081.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32081 = DisplayStrs32081.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32081").innerHTML = DisplayStrs32081;
if (CountActives32081)
//alert(SetTimeOutPeriods32081);
setTimeout("CountBacks32081(" + (secs+CountSteppers32081) + ")", SetTimeOutPeriods32081);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32081)=="undefined")
BackColors32081 = "";
if (typeof(ForeColors32081)=="undefined")
ForeColors32081= "white";
if (typeof(TargetDates32081)=="undefined")
TargetDates32081 = "04/25/2025 10:00:00 PM";
if (typeof(DisplayFormats32081)=="undefined")
DisplayFormats32081 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32081)=="undefined")
CountActives32081 = true;
if (typeof(FinishMessages32081)=="undefined")
FinishMessages32081 = "";
if (typeof(CountSteppers32081)!="number")
CountSteppers32081 = -1;
if (typeof(LeadingZeros32081)=="undefined")
LeadingZeros32081 = true;
CountSteppers32081 = Math.ceil(CountSteppers32081);
if (CountSteppers32081 == 0)
CountActives32081 = false;
var SetTimeOutPeriods32081 = (Math.abs(CountSteppers32081)-1)*1000 + 990;
puti(BackColors32081, ForeColors32081);
var dthens32081 = new Date(TargetDates32081);
var dnows32081 = new Date("05/12/2025 11:36:03 PM");
if(CountSteppers32081>0)
ddiffs32081 = new Date(dnows32081-dthens32081);
else
ddiffs32081 = new Date(dthens32081-dnows32081);
gsecss32081 = Math.floor(ddiffs32081.valueOf()/1000);
CountBacks32081(gsecss32081);