A method and system for web based graphical control components.
Specifically, the present invention describes a method of graphically
displaying a graphical user interface (GUI) control component within a
hypertext markup language (HTML) web page. The present invention
optionally displays a label associated with a displayed GUI control
component. A JavaScript routine is invoked in response to user input, and
based thereon a selected image file is selected from a plurality of image
files. The plurality of image files correspond to respective user
selectable options for responding to the label. The selected image file
is then displayed in the GUI control component on the HTML web page. The
JavaScript routine employs a unique naming scheme for name tags of a
plurality of sequentially associated slave objects of a master object for
more concise referencing.