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 (LeadingZeros32112 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32112(secs) {
if (secs < 0) {
document.getElementById("cntdwns32112").innerHTML = FinishMessages32112;
return;
}
DisplayStrs32112 = DisplayFormats32112.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32112 = DisplayStrs32112.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32112 = DisplayStrs32112.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32112 = DisplayStrs32112.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32112").innerHTML = DisplayStrs32112;
if (CountActives32112)
//alert(SetTimeOutPeriods32112);
setTimeout("CountBacks32112(" + (secs+CountSteppers32112) + ")", SetTimeOutPeriods32112);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32112)=="undefined")
BackColors32112 = "";
if (typeof(ForeColors32112)=="undefined")
ForeColors32112= "white";
if (typeof(TargetDates32112)=="undefined")
TargetDates32112 = "06/03/2025 10:00:00 PM";
if (typeof(DisplayFormats32112)=="undefined")
DisplayFormats32112 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32112)=="undefined")
CountActives32112 = true;
if (typeof(FinishMessages32112)=="undefined")
FinishMessages32112 = "";
if (typeof(CountSteppers32112)!="number")
CountSteppers32112 = -1;
if (typeof(LeadingZeros32112)=="undefined")
LeadingZeros32112 = true;
CountSteppers32112 = Math.ceil(CountSteppers32112);
if (CountSteppers32112 == 0)
CountActives32112 = false;
var SetTimeOutPeriods32112 = (Math.abs(CountSteppers32112)-1)*1000 + 990;
puti(BackColors32112, ForeColors32112);
var dthens32112 = new Date(TargetDates32112);
var dnows32112 = new Date("06/05/2025 12:05:53 AM");
if(CountSteppers32112>0)
ddiffs32112 = new Date(dnows32112-dthens32112);
else
ddiffs32112 = new Date(dthens32112-dnows32112);
gsecss32112 = Math.floor(ddiffs32112.valueOf()/1000);
CountBacks32112(gsecss32112);