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 (LeadingZeros32291 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32291(secs) {
if (secs < 0) {
document.getElementById("cntdwns32291").innerHTML = FinishMessages32291;
return;
}
DisplayStrs32291 = DisplayFormats32291.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32291 = DisplayStrs32291.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32291 = DisplayStrs32291.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32291 = DisplayStrs32291.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32291").innerHTML = DisplayStrs32291;
if (CountActives32291)
//alert(SetTimeOutPeriods32291);
setTimeout("CountBacks32291(" + (secs+CountSteppers32291) + ")", SetTimeOutPeriods32291);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32291)=="undefined")
BackColors32291 = "";
if (typeof(ForeColors32291)=="undefined")
ForeColors32291= "white";
if (typeof(TargetDates32291)=="undefined")
TargetDates32291 = "05/31/2025 10:00:00 PM";
if (typeof(DisplayFormats32291)=="undefined")
DisplayFormats32291 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32291)=="undefined")
CountActives32291 = true;
if (typeof(FinishMessages32291)=="undefined")
FinishMessages32291 = "";
if (typeof(CountSteppers32291)!="number")
CountSteppers32291 = -1;
if (typeof(LeadingZeros32291)=="undefined")
LeadingZeros32291 = true;
CountSteppers32291 = Math.ceil(CountSteppers32291);
if (CountSteppers32291 == 0)
CountActives32291 = false;
var SetTimeOutPeriods32291 = (Math.abs(CountSteppers32291)-1)*1000 + 990;
puti(BackColors32291, ForeColors32291);
var dthens32291 = new Date(TargetDates32291);
var dnows32291 = new Date("06/05/2025 12:05:53 AM");
if(CountSteppers32291>0)
ddiffs32291 = new Date(dnows32291-dthens32291);
else
ddiffs32291 = new Date(dthens32291-dnows32291);
gsecss32291 = Math.floor(ddiffs32291.valueOf()/1000);
CountBacks32291(gsecss32291);