/***************************************************

* Homepage banner script

* To be used in conjunction with banner_rotator.js
* This script creates an array of banners to be picked at
  random for the top of the homepage
  
* University of Surrey
* Matt Farrow | 14 February 2007

**************************************************/

// First set the path for the banners
  bannerPath = '/assets/images/';

// Now create the banners

  // An array to hold the banners

  var banners = new Array()
  
  // Add the banner items to the array
  // The first argument holds the filename, the second holds the Alt text
  banners.push(new banner('pgbanner.jpg', 'Postgraduate students'));
  banners.push(new banner('pgbanner2.jpg', 'Postgraduate students'));

  

  // Choose a banner at random using the randomNumber function found in banner_rotator.js

  var theBanner = banners[randomNumber(banners.length)];



