--- rat/client/parameter.html 2002/06/21 18:28:57 1.18 +++ rat/client/parameter.html 2003/07/10 08:34:43 1.25 @@ -3,7 +3,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.18 2002/06/21 18:28:57 albertel Exp $ +// $Id: parameter.html,v 1.25 2003/07/10 08:34:43 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