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 (LeadingZeros28394 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks28394(secs) {
if (secs < 0) {
document.getElementById("cntdwns28394").innerHTML = FinishMessages28394;
return;
}
DisplayStrs28394 = DisplayFormats28394.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs28394 = DisplayStrs28394.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs28394 = DisplayStrs28394.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs28394 = DisplayStrs28394.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns28394").innerHTML = DisplayStrs28394;
if (CountActives28394)
//alert(SetTimeOutPeriods28394);
setTimeout("CountBacks28394(" + (secs+CountSteppers28394) + ")", SetTimeOutPeriods28394);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors28394)=="undefined")
BackColors28394 = "";
if (typeof(ForeColors28394)=="undefined")
ForeColors28394= "white";
if (typeof(TargetDates28394)=="undefined")
TargetDates28394 = "10/03/2023 10:00:00 PM";
if (typeof(DisplayFormats28394)=="undefined")
DisplayFormats28394 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives28394)=="undefined")
CountActives28394 = true;
if (typeof(FinishMessages28394)=="undefined")
FinishMessages28394 = "";
if (typeof(CountSteppers28394)!="number")
CountSteppers28394 = -1;
if (typeof(LeadingZeros28394)=="undefined")
LeadingZeros28394 = true;
CountSteppers28394 = Math.ceil(CountSteppers28394);
if (CountSteppers28394 == 0)
CountActives28394 = false;
var SetTimeOutPeriods28394 = (Math.abs(CountSteppers28394)-1)*1000 + 990;
puti(BackColors28394, ForeColors28394);
var dthens28394 = new Date(TargetDates28394);
var dnows28394 = new Date("06/08/2025 6:30:04 AM");
if(CountSteppers28394>0)
ddiffs28394 = new Date(dnows28394-dthens28394);
else
ddiffs28394 = new Date(dthens28394-dnows28394);
gsecss28394 = Math.floor(ddiffs28394.valueOf()/1000);
CountBacks28394(gsecss28394);