// Javascript for random Ubuntu image display
// See: http://crunchbang.org/archives/2008/01/25/random-ubuntu-advocacy/
// Philip Newborough <mail@philipnewborough.co.uk>
images = new Array(8);
images[0] = '<a href="http://www.ubuntu.com/getubuntu" title="Fast secure surfing with Firefox and Ubuntu."><img src="http://img177.imageshack.us/img177/1919/180148ubuntuandfirefoxepx9.png" width="180" height="148" border="0" alt="Fast secure surfing with Firefox and Ubuntu."></a>';

images[1] = '<a href="http://www.ubuntu.com/getubuntu" title="Organize, enjoy &amp; share your photos with F-Spot and Ubuntu."><img src="http://img377.imageshack.us/img377/9034/180148ubuntuandfspoteszs9.png" width="180" height="148" border="0" alt="Organize, enjoy &amp; share your photos with F-Spot and Ubuntu."></a>';

images[2] = '<a href="http://www.ubuntu.com/getubuntu" title="Chat more with Pidgin Instant Messenger and Ubuntu."><img src="http://img377.imageshack.us/img377/971/180148ubuntuandpidginesvz0.png" width="180" height="148" border="0" border="0" alt="Chat more with Pidgin Instant Messenger and Ubuntu."></a>';

images[3] = '<a href="http://www.ubuntu.com/getubuntu" title="Work smarter with OpenOffice.org and Ubuntu."><img src="http://img377.imageshack.us/img377/6093/180148ubuntuandoooesnv0.png" width="180" height="148" border="0" alt="Work smarter with OpenOffice.org and Ubuntu."></a>';

images[4] = '<a href="http://www.ubuntu.com/getubuntu" title="Get creative with GIMP and Ubuntu."><img src="http://img377.imageshack.us/img377/7607/180148ubuntuandgimpeswb0.png" width="180" height="148" border="0" alt="Get creative with GIMP and Ubuntu."></a>';

images[5] = '<a href="http://www.ubuntu.com/getubuntu" title="Rip, burn &amp; play with Rhythmbox and Ubuntu."><img src="http://img214.imageshack.us/img214/6360/180148ubuntuandrhythmbogc7.png" width="180" height="148" border="0" alt="Rip, burn &amp; play with Rhythmbox and Ubuntu."></a>';

images[6] = '<a href="http://www.ubuntu.com/getubuntu" title="Find it faster with Meta Tracker and Ubuntu."><img src="http://img214.imageshack.us/img214/508/180148ubuntuandtrackerewg3.png" width="180" height="148" border="0" alt="Find it faster with Meta Tracker and Ubuntu."></a>';

images[7] = '<a href="http://www.ubuntu.com/getubuntu" title="Find it faster with Meta Tracker and Ubuntu."><img src="http://img399.imageshack.us/img399/8553/180148xmaswj2.jpg" width="180" height="148" border="0" alt="Find it faster with Meta Tracker and Ubuntu."></a>';

index = Math.floor(Math.random() * images.length);
document.write(images[index]);

