--- rat/client/parameter.html 2001/08/08 18:36:24 1.14 +++ rat/client/parameter.html 2003/05/22 23:13:58 1.24 @@ -2,9 +2,33 @@
@@ -149,9 +173,15 @@ function date() { function year() { var thisyear=cdate.getFullYear(); + var nowdate=new Date(); + var nowyear=nowdate.getFullYear(); + var loweryear=thisyear-2; + var upperyear=thisyear+5; + if (thisyear>nowyear) { loweryear=nowyear-2; } + if (thisyear