You can use JavaScript to generate a random value which is then used to select a banner. There are lots of free JavaScript libraries, the one above should have something suitable.
CARE: You will need to size all the images to be exactly the same if you want a consistent look and feel to your site.