Code for Random Graphic Advertisments

The image below is a randomly picked advertisement displaying products on Redbubble.com, each connecting to the correspoding URL. When you refresh (Select F5 on your keyboard) or reload the page in your browser, you will get a different image and URL. If you get the same, try again.

Source code to reproduce

<script type="text/javascript"> var images = [], index = 0; images[0] = "<a href='http://www.redbubble.com/people/stephentrepreneur/shop/'> <img src='http://www.ezcreate.com.au/grafx/mycanvas.jpg' alt='Art on Redbubble' width='200' height='60'> </a>"; images[1] = "<a href='http://www.redbubble.com/people/stephentrepreneur/shop/'> <img src='http://www.ezcreate.com.au/grafx/mycard.jpg' alt='Art on Redbubble' width='200' height='60'> </a>"; images[2] = "<a href='http://www.redbubble.com/people/stephentrepreneur/shop/'> <img src='http://www.ezcreate.com.au/grafx/myframe.jpg' alt='Art on Redbubble' width='200' height='60'> </a>"; images[3] = "<a href='http://www.redbubble.com/people/stephentrepreneur/shop/'> <img src='http://www.ezcreate.com.au/grafx/myposter.jpg' alt='Art on Redbubble' width='200' height='60'> </a>"; images[4] = "<a href='http://www.redbubble.com/people/stephentrepreneur/shop/'> <img src='http://www.ezcreate.com.au/grafx/mylaminate.jpg' alt='Art on Redbubble' width='200' height='60'> </a>"; images[5] = "<a href='http://www.redbubble.com/people/stephentrepreneur/shop/'> <img src='http://www.ezcreate.com.au/grafx/mymount.jpg' alt='Art on Redbubble' width='200' height='60'> </a>"; images[6] = "<a href='http://www.redbubble.com/people/stephentrepreneur/shop/'> <img src='http://www.ezcreate.com.au/grafx/myshirt.jpg' alt='Art on Redbubble' width='200' height='60'> </a>"; images[7] = "<a href='http://www.redbubble.com/people/stephentrepreneur/shop/'> <img src='http://www.ezcreate.com.au/grafx/myyear.jpg' alt='Art on Redbubble' width='200' height='60'> </a>"; index = Math.floor(Math.random() * images.length); document.write(images[index]); </script>