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 (LeadingZeros32158 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32158(secs) {
if (secs < 0) {
document.getElementById("cntdwns32158").innerHTML = FinishMessages32158;
return;
}
DisplayStrs32158 = DisplayFormats32158.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32158 = DisplayStrs32158.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32158 = DisplayStrs32158.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32158 = DisplayStrs32158.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32158").innerHTML = DisplayStrs32158;
if (CountActives32158)
//alert(SetTimeOutPeriods32158);
setTimeout("CountBacks32158(" + (secs+CountSteppers32158) + ")", SetTimeOutPeriods32158);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32158)=="undefined")
BackColors32158 = "";
if (typeof(ForeColors32158)=="undefined")
ForeColors32158= "white";
if (typeof(TargetDates32158)=="undefined")
TargetDates32158 = "04/26/2025 10:00:00 PM";
if (typeof(DisplayFormats32158)=="undefined")
DisplayFormats32158 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32158)=="undefined")
CountActives32158 = true;
if (typeof(FinishMessages32158)=="undefined")
FinishMessages32158 = "";
if (typeof(CountSteppers32158)!="number")
CountSteppers32158 = -1;
if (typeof(LeadingZeros32158)=="undefined")
LeadingZeros32158 = true;
CountSteppers32158 = Math.ceil(CountSteppers32158);
if (CountSteppers32158 == 0)
CountActives32158 = false;
var SetTimeOutPeriods32158 = (Math.abs(CountSteppers32158)-1)*1000 + 990;
puti(BackColors32158, ForeColors32158);
var dthens32158 = new Date(TargetDates32158);
var dnows32158 = new Date("05/18/2025 3:20:49 AM");
if(CountSteppers32158>0)
ddiffs32158 = new Date(dnows32158-dthens32158);
else
ddiffs32158 = new Date(dthens32158-dnows32158);
gsecss32158 = Math.floor(ddiffs32158.valueOf()/1000);
CountBacks32158(gsecss32158);