This is for displaying an image - it finds out how big the image is, and applies style rules to the image's container, as well as the image itself if the image exceeds the width of the area it displays in. It either centers a large image above the text, or it floats the image left with the text wrapped around it with a 5px padding. requirements: displayed image id=mainpic, its container id= picholder and the paragraph of text following the picholder closing should have an id of text.