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 (LeadingZeros28219 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks28219(secs) {
if (secs < 0) {
document.getElementById("cntdwns28219").innerHTML = FinishMessages28219;
return;
}
DisplayStrs28219 = DisplayFormats28219.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs28219 = DisplayStrs28219.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs28219 = DisplayStrs28219.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs28219 = DisplayStrs28219.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns28219").innerHTML = DisplayStrs28219;
if (CountActives28219)
//alert(SetTimeOutPeriods28219);
setTimeout("CountBacks28219(" + (secs+CountSteppers28219) + ")", SetTimeOutPeriods28219);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors28219)=="undefined")
BackColors28219 = "";
if (typeof(ForeColors28219)=="undefined")
ForeColors28219= "white";
if (typeof(TargetDates28219)=="undefined")
TargetDates28219 = "03/30/2023 9:00:00 PM";
if (typeof(DisplayFormats28219)=="undefined")
DisplayFormats28219 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives28219)=="undefined")
CountActives28219 = true;
if (typeof(FinishMessages28219)=="undefined")
FinishMessages28219 = "";
if (typeof(CountSteppers28219)!="number")
CountSteppers28219 = -1;
if (typeof(LeadingZeros28219)=="undefined")
LeadingZeros28219 = true;
CountSteppers28219 = Math.ceil(CountSteppers28219);
if (CountSteppers28219 == 0)
CountActives28219 = false;
var SetTimeOutPeriods28219 = (Math.abs(CountSteppers28219)-1)*1000 + 990;
puti(BackColors28219, ForeColors28219);
var dthens28219 = new Date(TargetDates28219);
var dnows28219 = new Date("06/04/2025 7:17:32 PM");
if(CountSteppers28219>0)
ddiffs28219 = new Date(dnows28219-dthens28219);
else
ddiffs28219 = new Date(dthens28219-dnows28219);
gsecss28219 = Math.floor(ddiffs28219.valueOf()/1000);
CountBacks28219(gsecss28219);