1. User displays tennisesc.html and clicks on court signup—members only
  2. 1a. window dialog alert displays prompting user for member id#

    1b. user enter members id# into input field

    1c. onSubmit, form validates member id # against list of valid member ids

    1d. if member id is valid, save member name and id in cookie and display ctsched.html, else

    display error message, "invalid member id#"

  3. Populate ctsched.html display
  4. 2a. create array (13x8) of court time slots, marking some available ("Blank") and others not

    available ("not blank" filled with member id#)

    2b. relate available slots with tennisball.gif on ctsched.html, where gif is a hypertext link to

    the form, ctform.html

    2c. relate unavailable slots with solid cell color on ctshed.html

  5. For valid members, Display ctsched.html
  6. 3a. When users click on hypertext link/tennisball gif, open courtform.html

    3b. Once form completed, users click send to reserve court time slot

  7. OnClick of SEND button, reserve court time slot:

4a. Update court time slot array, replacing "blank" with Member Id#.

4b. Display windows dialog/alert message confirming that slot has been reserved.

4c. On OK/submit, Redisplay ctsched.html, with updated time slot replacing tennisball.gif with solid color slot