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 (LeadingZeros27450 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks27450(secs) {
if (secs < 0) {
document.getElementById("cntdwns27450").innerHTML = FinishMessages27450;
return;
}
DisplayStrs27450 = DisplayFormats27450.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs27450 = DisplayStrs27450.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs27450 = DisplayStrs27450.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs27450 = DisplayStrs27450.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns27450").innerHTML = DisplayStrs27450;
if (CountActives27450)
//alert(SetTimeOutPeriods27450);
setTimeout("CountBacks27450(" + (secs+CountSteppers27450) + ")", SetTimeOutPeriods27450);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors27450)=="undefined")
BackColors27450 = "";
if (typeof(ForeColors27450)=="undefined")
ForeColors27450= "white";
if (typeof(TargetDates27450)=="undefined")
TargetDates27450 = "04/01/2023 11:00:00 PM";
if (typeof(DisplayFormats27450)=="undefined")
DisplayFormats27450 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives27450)=="undefined")
CountActives27450 = true;
if (typeof(FinishMessages27450)=="undefined")
FinishMessages27450 = "";
if (typeof(CountSteppers27450)!="number")
CountSteppers27450 = -1;
if (typeof(LeadingZeros27450)=="undefined")
LeadingZeros27450 = true;
CountSteppers27450 = Math.ceil(CountSteppers27450);
if (CountSteppers27450 == 0)
CountActives27450 = false;
var SetTimeOutPeriods27450 = (Math.abs(CountSteppers27450)-1)*1000 + 990;
puti(BackColors27450, ForeColors27450);
var dthens27450 = new Date(TargetDates27450);
var dnows27450 = new Date("06/08/2025 3:33:15 AM");
if(CountSteppers27450>0)
ddiffs27450 = new Date(dnows27450-dthens27450);
else
ddiffs27450 = new Date(dthens27450-dnows27450);
gsecss27450 = Math.floor(ddiffs27450.valueOf()/1000);
CountBacks27450(gsecss27450);