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 (LeadingZeros31760 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks31760(secs) {
if (secs < 0) {
document.getElementById("cntdwns31760").innerHTML = FinishMessages31760;
return;
}
DisplayStrs31760 = DisplayFormats31760.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs31760 = DisplayStrs31760.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs31760 = DisplayStrs31760.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs31760 = DisplayStrs31760.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns31760").innerHTML = DisplayStrs31760;
if (CountActives31760)
//alert(SetTimeOutPeriods31760);
setTimeout("CountBacks31760(" + (secs+CountSteppers31760) + ")", SetTimeOutPeriods31760);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors31760)=="undefined")
BackColors31760 = "";
if (typeof(ForeColors31760)=="undefined")
ForeColors31760= "white";
if (typeof(TargetDates31760)=="undefined")
TargetDates31760 = "04/28/2025 5:00:00 PM";
if (typeof(DisplayFormats31760)=="undefined")
DisplayFormats31760 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives31760)=="undefined")
CountActives31760 = true;
if (typeof(FinishMessages31760)=="undefined")
FinishMessages31760 = "";
if (typeof(CountSteppers31760)!="number")
CountSteppers31760 = -1;
if (typeof(LeadingZeros31760)=="undefined")
LeadingZeros31760 = true;
CountSteppers31760 = Math.ceil(CountSteppers31760);
if (CountSteppers31760 == 0)
CountActives31760 = false;
var SetTimeOutPeriods31760 = (Math.abs(CountSteppers31760)-1)*1000 + 990;
puti(BackColors31760, ForeColors31760);
var dthens31760 = new Date(TargetDates31760);
var dnows31760 = new Date("05/10/2025 2:18:50 AM");
if(CountSteppers31760>0)
ddiffs31760 = new Date(dnows31760-dthens31760);
else
ddiffs31760 = new Date(dthens31760-dnows31760);
gsecss31760 = Math.floor(ddiffs31760.valueOf()/1000);
CountBacks31760(gsecss31760);