version 1.32, 2005/06/20 19:52:51
|
version 1.33, 2005/07/07 19:00:31
|
Line 176 function year() {
|
Line 176 function year() {
|
var thisyear=cdate.getFullYear(); |
var thisyear=cdate.getFullYear(); |
var nowdate=new Date(); |
var nowdate=new Date(); |
var nowyear=nowdate.getFullYear(); |
var nowyear=nowdate.getFullYear(); |
|
if ( !thisyear ) { thisyear=nowyear; } |
var loweryear=thisyear-2; |
var loweryear=thisyear-2; |
var upperyear=thisyear+5; |
var upperyear=thisyear+5; |
if (thisyear>nowyear) { loweryear=nowyear-2; } |
if (thisyear>nowyear) { loweryear=nowyear-2; } |