<!--

              //
              // format date as dd-mmm-yyyy
              // example: 12-Jan-1998

              //
              function date_ddmmmyyyy(date)
              {
                var d = date.getDate();
                var m = date.getMonth() + 1;
                var y = date.getYear();

                // could use splitString() here 

                // but the following method is 
                // more compatible

                var mmm = 

                  ( 1==m)?'January':( 2==m)?'February':( 3==m)?'March':
                  ( 4==m)?'April'  :( 5==m)?'May'     :( 6==m)?'June':
                  ( 7==m)?'July'   :( 8==m)?'August'  :( 9==m)?'September':

                  (10==m)?'October':(11==m)?'November':'December';


               // var mmm = 
                //  ( 1==m)?'Jan':( 2==m)?'Feb':(3==m)?'Mar':
                 // ( 4==m)?'Apr':( 5==m)?'May':(6==m)?'Jun':
                  // ( 7==m)?'Jul':( 8==m)?'Aug':(9==m)?'Sep':
                  // (10==m)?'Oct':(11==m)?'Nov':'Dec';

                return "" +
                  mmm + " " +
				(d<10?"0"+d:d) + ", " +
                  (y<1000?1900+y:y);

              //    (d<10?"0"+d:d) + "-" +
              //    mmm + "-" +
              //    (y<1000?2000+y:y);
              }


              //
              // get last modified date of the 
              // current document.
              //
              function date_lastmodified()
              {
                var lmd = document.lastModified;
                var s   = "Unknown";
                var d1;

                // check if we have a valid date
                // before proceeding
                if(0 != (d1=Date.parse(lmd)))
                {
                  s = "" + date_ddmmmyyyy(new Date(d1));
                }

                return s;
              }

              //
              // finally display the last modified date
              // as DD-MMM-YYYY
              //
              document.write('<font size="2">');
              document.write( 
                "This page was last updated on " + 
                date_lastmodified() ) ;
              document.write('</font>') ;


              // -->


