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 (LeadingZeros32394 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32394(secs) {
if (secs < 0) {
document.getElementById("cntdwns32394").innerHTML = FinishMessages32394;
return;
}
DisplayStrs32394 = DisplayFormats32394.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32394 = DisplayStrs32394.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32394 = DisplayStrs32394.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32394 = DisplayStrs32394.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32394").innerHTML = DisplayStrs32394;
if (CountActives32394)
//alert(SetTimeOutPeriods32394);
setTimeout("CountBacks32394(" + (secs+CountSteppers32394) + ")", SetTimeOutPeriods32394);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32394)=="undefined")
BackColors32394 = "";
if (typeof(ForeColors32394)=="undefined")
ForeColors32394= "white";
if (typeof(TargetDates32394)=="undefined")
TargetDates32394 = "06/21/2025 10:00:00 PM";
if (typeof(DisplayFormats32394)=="undefined")
DisplayFormats32394 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32394)=="undefined")
CountActives32394 = true;
if (typeof(FinishMessages32394)=="undefined")
FinishMessages32394 = "";
if (typeof(CountSteppers32394)!="number")
CountSteppers32394 = -1;
if (typeof(LeadingZeros32394)=="undefined")
LeadingZeros32394 = true;
CountSteppers32394 = Math.ceil(CountSteppers32394);
if (CountSteppers32394 == 0)
CountActives32394 = false;
var SetTimeOutPeriods32394 = (Math.abs(CountSteppers32394)-1)*1000 + 990;
puti(BackColors32394, ForeColors32394);
var dthens32394 = new Date(TargetDates32394);
var dnows32394 = new Date("06/22/2025 5:04:22 AM");
if(CountSteppers32394>0)
ddiffs32394 = new Date(dnows32394-dthens32394);
else
ddiffs32394 = new Date(dthens32394-dnows32394);
gsecss32394 = Math.floor(ddiffs32394.valueOf()/1000);
CountBacks32394(gsecss32394);