memory_doc.txt:

documentation of JavaScript memory by Bernhard Abmayr

***************************************************************************
*                                History:                                 *
***************************************************************************
2002-04-17: V1.0: base version
2002-04-25: V1.1: replace array.push() and "new Option" for generating new
                     entries in select boxes as IE 5.0 in Hetzles does not like it
                  add user manual
2002-05-31: V1.2: more user manual
                  function to show all defined images
2002-06-06: V1.3: spelling corrected user manual
                  bildernamen.js: new variable max_matching_images (lost
                                  compatibility to previous versions!)
                  focus to manual window if it is already open

***************************************************************************
*                             function tree                               *
***************************************************************************
the global JS section starts
ask_for_game_settings  (draws game settings page and sets event functions)
   - write_html_head_lines


   following functions are called by events from the game settings page
   - number_of_copies_changed
   - number_of_players_changed
   - number_of_used_images_changed
   - number_of_matching_images_changed
   - image_width_changed
   - start_game

start_game
   - init_new_game();
       -- draw_html_for_game
          --- write_html_head_lines
       -- generate_mixed_image_array
          --- mix_array
       -- init_variables_before_new_game
       -- output_actual_game_standings
   - mix_images()
       -- mix_array

   following functions are called by events from the game page
   - stop_game
   - show_hidden_image
      -- output_actual_game_standings