--- rat/client/parameter.html 2001/12/19 17:22:29 1.16 +++ rat/client/parameter.html 2003/05/22 23:13:58 1.24 @@ -3,7 +3,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.16 2001/12/19 17:22:29 albertel Exp $ +// $Id: parameter.html,v 1.24 2003/05/22 23:13:58 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