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 (LeadingZeros31880 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks31880(secs) {
if (secs < 0) {
document.getElementById("cntdwns31880").innerHTML = FinishMessages31880;
return;
}
DisplayStrs31880 = DisplayFormats31880.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs31880 = DisplayStrs31880.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs31880 = DisplayStrs31880.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs31880 = DisplayStrs31880.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns31880").innerHTML = DisplayStrs31880;
if (CountActives31880)
//alert(SetTimeOutPeriods31880);
setTimeout("CountBacks31880(" + (secs+CountSteppers31880) + ")", SetTimeOutPeriods31880);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors31880)=="undefined")
BackColors31880 = "";
if (typeof(ForeColors31880)=="undefined")
ForeColors31880= "white";
if (typeof(TargetDates31880)=="undefined")
TargetDates31880 = "05/12/2025 11:00:00 PM";
if (typeof(DisplayFormats31880)=="undefined")
DisplayFormats31880 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives31880)=="undefined")
CountActives31880 = true;
if (typeof(FinishMessages31880)=="undefined")
FinishMessages31880 = "";
if (typeof(CountSteppers31880)!="number")
CountSteppers31880 = -1;
if (typeof(LeadingZeros31880)=="undefined")
LeadingZeros31880 = true;
CountSteppers31880 = Math.ceil(CountSteppers31880);
if (CountSteppers31880 == 0)
CountActives31880 = false;
var SetTimeOutPeriods31880 = (Math.abs(CountSteppers31880)-1)*1000 + 990;
puti(BackColors31880, ForeColors31880);
var dthens31880 = new Date(TargetDates31880);
var dnows31880 = new Date("06/08/2025 6:48:30 PM");
if(CountSteppers31880>0)
ddiffs31880 = new Date(dnows31880-dthens31880);
else
ddiffs31880 = new Date(dthens31880-dnows31880);
gsecss31880 = Math.floor(ddiffs31880.valueOf()/1000);
CountBacks31880(gsecss31880);