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 (LeadingZeros31466 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks31466(secs) {
if (secs < 0) {
document.getElementById("cntdwns31466").innerHTML = FinishMessages31466;
return;
}
DisplayStrs31466 = DisplayFormats31466.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs31466 = DisplayStrs31466.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs31466 = DisplayStrs31466.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs31466 = DisplayStrs31466.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns31466").innerHTML = DisplayStrs31466;
if (CountActives31466)
//alert(SetTimeOutPeriods31466);
setTimeout("CountBacks31466(" + (secs+CountSteppers31466) + ")", SetTimeOutPeriods31466);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors31466)=="undefined")
BackColors31466 = "";
if (typeof(ForeColors31466)=="undefined")
ForeColors31466= "white";
if (typeof(TargetDates31466)=="undefined")
TargetDates31466 = "04/20/2025 11:00:00 PM";
if (typeof(DisplayFormats31466)=="undefined")
DisplayFormats31466 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives31466)=="undefined")
CountActives31466 = true;
if (typeof(FinishMessages31466)=="undefined")
FinishMessages31466 = "";
if (typeof(CountSteppers31466)!="number")
CountSteppers31466 = -1;
if (typeof(LeadingZeros31466)=="undefined")
LeadingZeros31466 = true;
CountSteppers31466 = Math.ceil(CountSteppers31466);
if (CountSteppers31466 == 0)
CountActives31466 = false;
var SetTimeOutPeriods31466 = (Math.abs(CountSteppers31466)-1)*1000 + 990;
puti(BackColors31466, ForeColors31466);
var dthens31466 = new Date(TargetDates31466);
var dnows31466 = new Date("05/04/2025 4:38:10 AM");
if(CountSteppers31466>0)
ddiffs31466 = new Date(dnows31466-dthens31466);
else
ddiffs31466 = new Date(dthens31466-dnows31466);
gsecss31466 = Math.floor(ddiffs31466.valueOf()/1000);
CountBacks31466(gsecss31466);