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 (LeadingZeros32200 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32200(secs) {
if (secs < 0) {
document.getElementById("cntdwns32200").innerHTML = FinishMessages32200;
return;
}
DisplayStrs32200 = DisplayFormats32200.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32200 = DisplayStrs32200.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32200 = DisplayStrs32200.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32200 = DisplayStrs32200.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32200").innerHTML = DisplayStrs32200;
if (CountActives32200)
//alert(SetTimeOutPeriods32200);
setTimeout("CountBacks32200(" + (secs+CountSteppers32200) + ")", SetTimeOutPeriods32200);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32200)=="undefined")
BackColors32200 = "";
if (typeof(ForeColors32200)=="undefined")
ForeColors32200= "white";
if (typeof(TargetDates32200)=="undefined")
TargetDates32200 = "05/09/2025 10:00:00 PM";
if (typeof(DisplayFormats32200)=="undefined")
DisplayFormats32200 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32200)=="undefined")
CountActives32200 = true;
if (typeof(FinishMessages32200)=="undefined")
FinishMessages32200 = "";
if (typeof(CountSteppers32200)!="number")
CountSteppers32200 = -1;
if (typeof(LeadingZeros32200)=="undefined")
LeadingZeros32200 = true;
CountSteppers32200 = Math.ceil(CountSteppers32200);
if (CountSteppers32200 == 0)
CountActives32200 = false;
var SetTimeOutPeriods32200 = (Math.abs(CountSteppers32200)-1)*1000 + 990;
puti(BackColors32200, ForeColors32200);
var dthens32200 = new Date(TargetDates32200);
var dnows32200 = new Date("06/09/2025 3:35:55 AM");
if(CountSteppers32200>0)
ddiffs32200 = new Date(dnows32200-dthens32200);
else
ddiffs32200 = new Date(dthens32200-dnows32200);
gsecss32200 = Math.floor(ddiffs32200.valueOf()/1000);
CountBacks32200(gsecss32200);