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 (LeadingZeros32244 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32244(secs) {
if (secs < 0) {
document.getElementById("cntdwns32244").innerHTML = FinishMessages32244;
return;
}
DisplayStrs32244 = DisplayFormats32244.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32244 = DisplayStrs32244.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32244 = DisplayStrs32244.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32244 = DisplayStrs32244.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32244").innerHTML = DisplayStrs32244;
if (CountActives32244)
//alert(SetTimeOutPeriods32244);
setTimeout("CountBacks32244(" + (secs+CountSteppers32244) + ")", SetTimeOutPeriods32244);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32244)=="undefined")
BackColors32244 = "";
if (typeof(ForeColors32244)=="undefined")
ForeColors32244= "white";
if (typeof(TargetDates32244)=="undefined")
TargetDates32244 = "06/25/2025 10:00:00 PM";
if (typeof(DisplayFormats32244)=="undefined")
DisplayFormats32244 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32244)=="undefined")
CountActives32244 = true;
if (typeof(FinishMessages32244)=="undefined")
FinishMessages32244 = "";
if (typeof(CountSteppers32244)!="number")
CountSteppers32244 = -1;
if (typeof(LeadingZeros32244)=="undefined")
LeadingZeros32244 = true;
CountSteppers32244 = Math.ceil(CountSteppers32244);
if (CountSteppers32244 == 0)
CountActives32244 = false;
var SetTimeOutPeriods32244 = (Math.abs(CountSteppers32244)-1)*1000 + 990;
puti(BackColors32244, ForeColors32244);
var dthens32244 = new Date(TargetDates32244);
var dnows32244 = new Date("07/20/2025 4:09:06 AM");
if(CountSteppers32244>0)
ddiffs32244 = new Date(dnows32244-dthens32244);
else
ddiffs32244 = new Date(dthens32244-dnows32244);
gsecss32244 = Math.floor(ddiffs32244.valueOf()/1000);
CountBacks32244(gsecss32244);