// Homepage banner adsarray1
// The actual array "banner" contains all the info
// Just remember the last item in the array list doesn't have a comma after it

 function bannerAd(url, alt, img)
{
   this.url = url;
   this.alt = alt;
   this.img = img;
}
banner = new Array(
 new bannerAd("http://www.chorleybsac.org.uk/how-to-start.htm", 
              "Try dive",
              "http://www.chorleybsac.org.uk/images/try-dive-banner-1.gif"),

 new bannerAd("http://www.chorleybsac.org.uk/how-to-start.htm",
              "Try dive",
              "http://www.chorleybsac.org.uk/images/try-dive-banner-2.gif"),

 new bannerAd("http://www.chorleybsac.org.uk/already-a-diver.htm",
              "Already a diver?",
              "http://www.chorleybsac.org.uk/images/qualified-banner-3.gif")
);
function placeBanner( id )
{
 document.write(
    '<A HREF="' + banner[id].url + '" alt="' + banner[id].alt + '">'
  + '<IMG SRC="' + banner[id].img
  + '"  width="468" height="60" border="0">'
  + '</A>'
 )
}
