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 (LeadingZeros27536 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks27536(secs) {
if (secs < 0) {
document.getElementById("cntdwns27536").innerHTML = FinishMessages27536;
return;
}
DisplayStrs27536 = DisplayFormats27536.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs27536 = DisplayStrs27536.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs27536 = DisplayStrs27536.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs27536 = DisplayStrs27536.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns27536").innerHTML = DisplayStrs27536;
if (CountActives27536)
//alert(SetTimeOutPeriods27536);
setTimeout("CountBacks27536(" + (secs+CountSteppers27536) + ")", SetTimeOutPeriods27536);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors27536)=="undefined")
BackColors27536 = "";
if (typeof(ForeColors27536)=="undefined")
ForeColors27536= "white";
if (typeof(TargetDates27536)=="undefined")
TargetDates27536 = "06/06/2023 11:00:00 PM";
if (typeof(DisplayFormats27536)=="undefined")
DisplayFormats27536 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives27536)=="undefined")
CountActives27536 = true;
if (typeof(FinishMessages27536)=="undefined")
FinishMessages27536 = "";
if (typeof(CountSteppers27536)!="number")
CountSteppers27536 = -1;
if (typeof(LeadingZeros27536)=="undefined")
LeadingZeros27536 = true;
CountSteppers27536 = Math.ceil(CountSteppers27536);
if (CountSteppers27536 == 0)
CountActives27536 = false;
var SetTimeOutPeriods27536 = (Math.abs(CountSteppers27536)-1)*1000 + 990;
puti(BackColors27536, ForeColors27536);
var dthens27536 = new Date(TargetDates27536);
var dnows27536 = new Date("06/09/2025 4:20:38 AM");
if(CountSteppers27536>0)
ddiffs27536 = new Date(dnows27536-dthens27536);
else
ddiffs27536 = new Date(dthens27536-dnows27536);
gsecss27536 = Math.floor(ddiffs27536.valueOf()/1000);
CountBacks27536(gsecss27536);