Dynamic
Image
Example
initially the
image is set to
happy.gif
when a button is
clicked, the
ChangeImage
function is called
to change the
image
the new image is
specified by the
parameter to the
function
note the use of single quotes around the file names
to avoid conflicts with the
onClick
double quotes