--- rat/client/parameter.html 2002/03/25 21:01:12 1.17 +++ rat/client/parameter.html 2003/07/10 10:29:00 1.26 @@ -3,7 +3,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.17 2002/03/25 21:01:12 matthew Exp $ +// $Id: parameter.html,v 1.26 2003/07/10 10:29:00 www Exp $ // // Copyright Michigan State University Board of Trustees // @@ -29,7 +29,6 @@ Parameter Input Window // 06/16/00,06/17,11/17,11/18,11/23,11/27,11/28,12/15,12/16, 03/21/01,03/24,06/26 Gerd Kortemeyer -07/24/01 Scott Harrison 08/08 Gerd Kortemeyer -->
@@ -174,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