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 (LeadingZeros30838 && s.length < 2)
s = "0" + s;
if (seconds == 1) {
var classString = "count-seconds";
} else {
var classString = "";
}
return "" + s + "";
}
function CountBacks30838(secs) {
if (secs < 0) {
document.getElementById("cntdwns30838").innerHTML = FinishMessages30838;
return;
}
DisplayStrs30838 = DisplayFormats30838.replace(/%%D%%/g, calcage(secs,86400,100000,0));
DisplayStrs30838 = DisplayStrs30838.replace(/%%H%%/g, calcage(secs,3600,24,1));
DisplayStrs30838 = DisplayStrs30838.replace(/%%M%%/g, calcage(secs,60,60,0));
DisplayStrs30838 = DisplayStrs30838.replace(/%%S%%/g, calcage(secs,1,60,0,1));
document.getElementById("cntdwns30838").innerHTML = DisplayStrs30838;
if (CountActives30838)
//alert(SetTimeOutPeriods30838);
setTimeout("CountBacks30838(" + (secs+CountSteppers30838) + ")", SetTimeOutPeriods30838);
}
function puti(backcolor, forecolor) {
document.write("");
}
if (typeof(BackColors30838)=="undefined")
BackColors30838 = "";
if (typeof(ForeColors30838)=="undefined")
ForeColors30838= "white";
if (typeof(TargetDates30838)=="undefined")
TargetDates30838 = "03/30/2025 10:00:00 PM";
if (typeof(DisplayFormats30838)=="undefined")
DisplayFormats30838 = " %%H%%:%%M%%:%%S%%";
if (typeof(CountActives30838)=="undefined")
CountActives30838 = true;
if (typeof(FinishMessages30838)=="undefined")
FinishMessages30838 = "";
if (typeof(CountSteppers30838)!="number")
CountSteppers30838 = -1;
if (typeof(LeadingZeros30838)=="undefined")
LeadingZeros30838 = true;
CountSteppers30838 = Math.ceil(CountSteppers30838);
if (CountSteppers30838 == 0)
CountActives30838 = false;
var SetTimeOutPeriods30838 = (Math.abs(CountSteppers30838)-1)*1000 + 990;
puti(BackColors30838, ForeColors30838);
var dthens30838 = new Date(TargetDates30838);
var dnows30838 = new Date("04/01/2025 4:34:16 AM");
if(CountSteppers30838>0)
ddiffs30838 = new Date(dnows30838-dthens30838);
else
ddiffs30838 = new Date(dthens30838-dnows30838);
gsecss30838 = Math.floor(ddiffs30838.valueOf()/1000);
CountBacks30838(gsecss30838);