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 (LeadingZeros31995 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks31995(secs) {
if (secs < 0) {
document.getElementById("cntdwns31995").innerHTML = FinishMessages31995;
return;
}
DisplayStrs31995 = DisplayFormats31995.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs31995 = DisplayStrs31995.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs31995 = DisplayStrs31995.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs31995 = DisplayStrs31995.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns31995").innerHTML = DisplayStrs31995;
if (CountActives31995)
//alert(SetTimeOutPeriods31995);
setTimeout("CountBacks31995(" + (secs+CountSteppers31995) + ")", SetTimeOutPeriods31995);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors31995)=="undefined")
BackColors31995 = "";
if (typeof(ForeColors31995)=="undefined")
ForeColors31995= "white";
if (typeof(TargetDates31995)=="undefined")
TargetDates31995 = "05/30/2025 11:00:00 PM";
if (typeof(DisplayFormats31995)=="undefined")
DisplayFormats31995 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives31995)=="undefined")
CountActives31995 = true;
if (typeof(FinishMessages31995)=="undefined")
FinishMessages31995 = "";
if (typeof(CountSteppers31995)!="number")
CountSteppers31995 = -1;
if (typeof(LeadingZeros31995)=="undefined")
LeadingZeros31995 = true;
CountSteppers31995 = Math.ceil(CountSteppers31995);
if (CountSteppers31995 == 0)
CountActives31995 = false;
var SetTimeOutPeriods31995 = (Math.abs(CountSteppers31995)-1)*1000 + 990;
puti(BackColors31995, ForeColors31995);
var dthens31995 = new Date(TargetDates31995);
var dnows31995 = new Date("06/04/2025 11:55:18 PM");
if(CountSteppers31995>0)
ddiffs31995 = new Date(dnows31995-dthens31995);
else
ddiffs31995 = new Date(dthens31995-dnows31995);
gsecss31995 = Math.floor(ddiffs31995.valueOf()/1000);
CountBacks31995(gsecss31995);