adapted the max-height to account for a header.  also, refactored the change image function out of the onload.