Can anyone tell me why this does not work in FF? It works perfectly in IE & NS, but for some reason FF thinks the IF statement is always false.
[tt]
function Writeheader(){
nowdate = new Date();
nowyear = nowdate.getYear();
yearmod = nowyear % 10;
if (Begindate(window['sdate_' + yearmod]) * Stopdate(window['edate_' + yearmod]) > 0){
Writeclosed(nowyear); (Only IE & NS do this)
}
else{
Writedefaultblurb(); (FF always does this)
}
}
[/tt]
I assume there is something wrong in the IF line, but darned if I can see what the problem could be.
Thanks in advance for any help.
mmerlinn
"Political correctness is the BADGE of a COWARD!"
[tt]
function Writeheader(){
nowdate = new Date();
nowyear = nowdate.getYear();
yearmod = nowyear % 10;
if (Begindate(window['sdate_' + yearmod]) * Stopdate(window['edate_' + yearmod]) > 0){
Writeclosed(nowyear); (Only IE & NS do this)
}
else{
Writedefaultblurb(); (FF always does this)
}
}
[/tt]
I assume there is something wrong in the IF line, but darned if I can see what the problem could be.
Thanks in advance for any help.
mmerlinn
"Political correctness is the BADGE of a COWARD!"