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 (LeadingZeros29467 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks29467(secs) {
if (secs < 0) {
document.getElementById("cntdwns29467").innerHTML = FinishMessages29467;
return;
}
DisplayStrs29467 = DisplayFormats29467.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs29467 = DisplayStrs29467.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs29467 = DisplayStrs29467.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs29467 = DisplayStrs29467.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns29467").innerHTML = DisplayStrs29467;
if (CountActives29467)
//alert(SetTimeOutPeriods29467);
setTimeout("CountBacks29467(" + (secs+CountSteppers29467) + ")", SetTimeOutPeriods29467);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors29467)=="undefined")
BackColors29467 = "";
if (typeof(ForeColors29467)=="undefined")
ForeColors29467= "white";
if (typeof(TargetDates29467)=="undefined")
TargetDates29467 = "12/11/2023 10:00:00 PM";
if (typeof(DisplayFormats29467)=="undefined")
DisplayFormats29467 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives29467)=="undefined")
CountActives29467 = true;
if (typeof(FinishMessages29467)=="undefined")
FinishMessages29467 = "";
if (typeof(CountSteppers29467)!="number")
CountSteppers29467 = -1;
if (typeof(LeadingZeros29467)=="undefined")
LeadingZeros29467 = true;
CountSteppers29467 = Math.ceil(CountSteppers29467);
if (CountSteppers29467 == 0)
CountActives29467 = false;
var SetTimeOutPeriods29467 = (Math.abs(CountSteppers29467)-1)*1000 + 990;
puti(BackColors29467, ForeColors29467);
var dthens29467 = new Date(TargetDates29467);
var dnows29467 = new Date("06/09/2025 2:36:33 PM");
if(CountSteppers29467>0)
ddiffs29467 = new Date(dnows29467-dthens29467);
else
ddiffs29467 = new Date(dthens29467-dnows29467);
gsecss29467 = Math.floor(ddiffs29467.valueOf()/1000);
CountBacks29467(gsecss29467);