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 (LeadingZeros31238 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks31238(secs) {
if (secs < 0) {
document.getElementById("cntdwns31238").innerHTML = FinishMessages31238;
return;
}
DisplayStrs31238 = DisplayFormats31238.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs31238 = DisplayStrs31238.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs31238 = DisplayStrs31238.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs31238 = DisplayStrs31238.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns31238").innerHTML = DisplayStrs31238;
if (CountActives31238)
//alert(SetTimeOutPeriods31238);
setTimeout("CountBacks31238(" + (secs+CountSteppers31238) + ")", SetTimeOutPeriods31238);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors31238)=="undefined")
BackColors31238 = "";
if (typeof(ForeColors31238)=="undefined")
ForeColors31238= "white";
if (typeof(TargetDates31238)=="undefined")
TargetDates31238 = "06/21/2025 10:00:00 PM";
if (typeof(DisplayFormats31238)=="undefined")
DisplayFormats31238 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives31238)=="undefined")
CountActives31238 = true;
if (typeof(FinishMessages31238)=="undefined")
FinishMessages31238 = "";
if (typeof(CountSteppers31238)!="number")
CountSteppers31238 = -1;
if (typeof(LeadingZeros31238)=="undefined")
LeadingZeros31238 = true;
CountSteppers31238 = Math.ceil(CountSteppers31238);
if (CountSteppers31238 == 0)
CountActives31238 = false;
var SetTimeOutPeriods31238 = (Math.abs(CountSteppers31238)-1)*1000 + 990;
puti(BackColors31238, ForeColors31238);
var dthens31238 = new Date(TargetDates31238);
var dnows31238 = new Date("06/22/2025 5:30:08 PM");
if(CountSteppers31238>0)
ddiffs31238 = new Date(dnows31238-dthens31238);
else
ddiffs31238 = new Date(dthens31238-dnows31238);
gsecss31238 = Math.floor(ddiffs31238.valueOf()/1000);
CountBacks31238(gsecss31238);