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 (LeadingZeros32256 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks32256(secs) {
if (secs < 0) {
document.getElementById("cntdwns32256").innerHTML = FinishMessages32256;
return;
}
DisplayStrs32256 = DisplayFormats32256.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs32256 = DisplayStrs32256.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs32256 = DisplayStrs32256.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs32256 = DisplayStrs32256.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns32256").innerHTML = DisplayStrs32256;
if (CountActives32256)
//alert(SetTimeOutPeriods32256);
setTimeout("CountBacks32256(" + (secs+CountSteppers32256) + ")", SetTimeOutPeriods32256);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors32256)=="undefined")
BackColors32256 = "";
if (typeof(ForeColors32256)=="undefined")
ForeColors32256= "white";
if (typeof(TargetDates32256)=="undefined")
TargetDates32256 = "06/21/2025 10:00:00 PM";
if (typeof(DisplayFormats32256)=="undefined")
DisplayFormats32256 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives32256)=="undefined")
CountActives32256 = true;
if (typeof(FinishMessages32256)=="undefined")
FinishMessages32256 = "";
if (typeof(CountSteppers32256)!="number")
CountSteppers32256 = -1;
if (typeof(LeadingZeros32256)=="undefined")
LeadingZeros32256 = true;
CountSteppers32256 = Math.ceil(CountSteppers32256);
if (CountSteppers32256 == 0)
CountActives32256 = false;
var SetTimeOutPeriods32256 = (Math.abs(CountSteppers32256)-1)*1000 + 990;
puti(BackColors32256, ForeColors32256);
var dthens32256 = new Date(TargetDates32256);
var dnows32256 = new Date("06/29/2025 1:32:47 PM");
if(CountSteppers32256>0)
ddiffs32256 = new Date(dnows32256-dthens32256);
else
ddiffs32256 = new Date(dthens32256-dnows32256);
gsecss32256 = Math.floor(ddiffs32256.valueOf()/1000);
CountBacks32256(gsecss32256);