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 (LeadingZeros31934 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks31934(secs) {
if (secs < 0) {
document.getElementById("cntdwns31934").innerHTML = FinishMessages31934;
return;
}
DisplayStrs31934 = DisplayFormats31934.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs31934 = DisplayStrs31934.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs31934 = DisplayStrs31934.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs31934 = DisplayStrs31934.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns31934").innerHTML = DisplayStrs31934;
if (CountActives31934)
//alert(SetTimeOutPeriods31934);
setTimeout("CountBacks31934(" + (secs+CountSteppers31934) + ")", SetTimeOutPeriods31934);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors31934)=="undefined")
BackColors31934 = "";
if (typeof(ForeColors31934)=="undefined")
ForeColors31934= "white";
if (typeof(TargetDates31934)=="undefined")
TargetDates31934 = "05/10/2025 11:00:00 PM";
if (typeof(DisplayFormats31934)=="undefined")
DisplayFormats31934 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives31934)=="undefined")
CountActives31934 = true;
if (typeof(FinishMessages31934)=="undefined")
FinishMessages31934 = "";
if (typeof(CountSteppers31934)!="number")
CountSteppers31934 = -1;
if (typeof(LeadingZeros31934)=="undefined")
LeadingZeros31934 = true;
CountSteppers31934 = Math.ceil(CountSteppers31934);
if (CountSteppers31934 == 0)
CountActives31934 = false;
var SetTimeOutPeriods31934 = (Math.abs(CountSteppers31934)-1)*1000 + 990;
puti(BackColors31934, ForeColors31934);
var dthens31934 = new Date(TargetDates31934);
var dnows31934 = new Date("06/09/2025 7:11:19 PM");
if(CountSteppers31934>0)
ddiffs31934 = new Date(dnows31934-dthens31934);
else
ddiffs31934 = new Date(dthens31934-dnows31934);
gsecss31934 = Math.floor(ddiffs31934.valueOf()/1000);
CountBacks31934(gsecss31934);