<!--

/*#########################################################################################
  #    1)All images should have the same length and width                                 #
  #    2)You can set these variables:                                                     #
  #      a) numberOfBanners: number of banners.                                           #
  #      a) getImg[n]: path to image                                                      #
  #      a) getTitle[n]: Alternate text to display for each image                           #
  ##########################################################################################*/

var numberOfBanners = 65;

var getImg = new Array(numberOfBanners);  
getImg[1]="/header-images/header001.jpg";
getImg[2]="/header-images/header002.jpg";
getImg[3]="/header-images/header003.jpg";
getImg[4]="/header-images/header004.jpg";
getImg[5]="/header-images/header005.jpg";
getImg[6]="/header-images/header006.jpg";
getImg[7]="/header-images/header007.jpg";
getImg[8]="/header-images/header008.jpg";
getImg[9]="/header-images/header009.jpg";
getImg[10]="/header-images/header010.jpg";
getImg[11]="/header-images/header011.jpg";
getImg[12]="/header-images/header012.jpg";
getImg[13]="/header-images/header013.jpg";
getImg[14]="/header-images/header014.jpg";
getImg[15]="/header-images/header015.jpg";
getImg[16]="/header-images/header016.jpg";
getImg[17]="/header-images/header017.jpg";
getImg[18]="/header-images/header018.jpg";
getImg[19]="/header-images/header019.jpg";
getImg[20]="/header-images/header020.jpg";
getImg[21]="/header-images/header021.jpg";
getImg[22]="/header-images/header022.jpg";
getImg[23]="/header-images/header023.jpg";
getImg[24]="/header-images/header024.jpg";
getImg[25]="/header-images/header025.jpg";
getImg[26]="/header-images/header026.jpg";
getImg[27]="/header-images/header027.jpg";
getImg[28]="/header-images/header028.jpg";
getImg[29]="/header-images/header029.jpg";
getImg[30]="/header-images/header030.jpg";
getImg[31]="/header-images/header031.jpg";
getImg[32]="/header-images/header032.jpg";
getImg[33]="/header-images/header033.jpg";
getImg[34]="/header-images/header034.jpg";
getImg[35]="/header-images/header035.jpg";
getImg[36]="/header-images/header036.jpg";
getImg[37]="/header-images/header037.jpg";
getImg[38]="/header-images/header038.jpg";
getImg[39]="/header-images/header039.jpg";
getImg[40]="/header-images/header040.jpg";
getImg[41]="/header-images/header041.jpg";
getImg[42]="/header-images/header042.jpg";
getImg[43]="/header-images/header043.jpg";
getImg[44]="/header-images/header044.jpg";
getImg[45]="/header-images/header045.jpg";
getImg[46]="/header-images/header046.jpg";
getImg[47]="/header-images/header047.jpg";
getImg[48]="/header-images/header048.jpg";
getImg[49]="/header-images/header049.jpg";
getImg[50]="/header-images/header050.jpg";
getImg[51]="/header-images/header051.jpg";
getImg[52]="/header-images/header052.jpg";
getImg[53]="/header-images/header053.jpg";
getImg[54]="/header-images/header054.jpg";
getImg[55]="/header-images/header055.jpg";
getImg[56]="/header-images/header056.jpg";
getImg[57]="/header-images/header057.jpg";
getImg[58]="/header-images/header058.jpg";
getImg[59]="/header-images/header059.jpg";
getImg[60]="/header-images/header060.jpg";
getImg[61]="/header-images/header061.jpg";
getImg[62]="/header-images/header062.jpg";
getImg[63]="/header-images/header063.jpg";
getImg[64]="/header-images/header064.jpg";
getImg[65]="/header-images/header065.jpg";

var getTitle = new Array(numberOfBanners);  
getTitle[1]  = "Wooden kayaks on the beach at Portland Island - photo by Dan Millsip"; 
getTitle[2]  = "River Otter - photo by Dan Millsip";
getTitle[3]  = "Sea Sacs - seaweed found in the mid intertidal zone - photo by Dan Millsip";
getTitle[4]  = "In the fog - photo by Lizzy";
getTitle[5]  = "Paddling in the Deer Group Islands - photo by Dan Millsip";
getTitle[6]  = "Enjoying the view at Indian Arm, near Vancouver BC - photo by Dan Millsip";
getTitle[7]  = "Belinda B checks out a discarded old ferry engine on the Columbia River, near Ilwaco, Washington - photo by AstoriaDave";
getTitle[8]  = "Playing in the rock gardens near Port Renfrew, BC - photo by Mark Schilling";
getTitle[9]  = "Curious harbour seal - photo by Dan Millsip";
getTitle[10]  = "Surfing at Long Beach on the west coast of Vancouver Island - photo by Mark Schilling";
getTitle[11]  = "Camping at Arbutus Point on Portland Island, Gulf Islands, BC - photo by GregN";
getTitle[12]  = "Victoria harbour - photo by Dan Millsip";
getTitle[13]  = "Racoons at the shoreline in Hotham Sound, Jarvis Inlet BC - photo by rider";
getTitle[14]  = "Seals in the fog at D'Arcy Island, Gulf Islands - photo by Dan Millsip";
getTitle[15]  = "Seal basking on a submerged rock as the tide rises - photo by Dan Millsip";
getTitle[16]  = "First Nations pictographs at Mabel Lake, Okanagan, BC - photo by Kasey";
getTitle[17]  = "GordB playing around in the outflow of Silver Falls, Indian Arm - photo by Dan Millsip";
getTitle[18]  = "Cluster of Purple Stars - found in mid to low intertidal zones - photo by Dan Millsip";
getTitle[19]  = "GWarner in the Octopus Islands - photo by DarrenM";
getTitle[20]  = "Paddling in the Broken Group Islands, Barkley Sound - Photo by Dan Millsip";
getTitle[21]  = "Contemplative moment while canoeing in Ladner Marsh - photo by Andrew Allan (Monster)";
getTitle[22]  = "Paddling on Okanagan Lake near Kelowna, BC - photo by Kasey";
getTitle[23]  = "CandiKayak paddling underneath the bridge joining North and South Pender Islands - photo by Dan Millsip";
getTitle[24]  = "What's going on? - photo by Dan Millsip";
getTitle[25]  = "Playing in the rough stuff at Race Rocks near Victoria BC - photo by Mark Schilling";
getTitle[26]  = "Kelp Crab - photo by Dan Millsip";
getTitle[27]  = "A happy paddler on the Deep River, Oregon - photo by AstoriaDave";
getTitle[28]  = "Wet Elvis paddles past the US Coast Guard Eagle in the Strait of Juan De Juca - photo by Mark Schilling";
getTitle[29]  = "Sun star - photo by DarrenM";
getTitle[30]  = "Early morning mist at Widgeon Creek - photo by jgunther";
getTitle[31]  = "Moose on Revelstoke Lake - photo by Nootka";
getTitle[32]  = "Ladner harbour - photo by Andrew Allan (Monster)";
getTitle[33]  = "Near Clarke Island in the Broken Group Islands - photo by Dan Millsip";
getTitle[34]  = "Big Canoe on Okanagan Lake - photo by Kasey";
getTitle[35]  = "Sea Lions north of Port Hardy - photo by Nootka";
getTitle[36]  = "Mike Jackson rounding the north end of Portland Island, photo by Kasey";
getTitle[37]  = "Johnstone Strait skyline - photo by Blondie";
getTitle[38]  = "Vancouver skyline from English Bay - photo by Dan Millsip";
getTitle[39]  = "Oyster Catcher in the Broken Group - photo by Dan Millsip";
getTitle[40]  = "Benjamin Point in the Haida Gwai - photo by IanC";
getTitle[41]  = "Sunset at Crescent Beach - photo by Dan Millsip";
getTitle[42]  = "Mother seal with pup in Baines Channel, near Victoria BC - photo by Mark Schilling";
getTitle[43]  = "Blue Heron on sand bar at Pitt Lake - photo by Dan Millsip";
getTitle[44]  = "A little close in the rough stuff, Race Rocks, near Victoria BC - photo by Mark Schilling";
getTitle[45]  = "Paddling in Georgia Strait near Point Grey - photo by Dan Millsip";
getTitle[46]  = "A flock of sanderlings near Crescent Beach - photo by Dan Millsip";
getTitle[47]  = "Paddling home on Pitt Lake - photo by Dan Millsip";
getTitle[48]  = "Swell and waves in the Broken Group - photo by Dan Millsip";
getTitle[49]  = "Photo op near Jim Crow Point, Columbia River, Wa - photo by AstoriaDave";
getTitle[50]  = "Looking towards Hornet Passage from Baker Island in the Broughton Archipelago - photo by Dan Millsip";
getTitle[51]  = "Bear footprints on the beach - photo by Nootka";
getTitle[52]  = "Looking across Queen Charlotte Strait from Malcolm Island, Vancouver Island - photo by Dan Millsip";
getTitle[53]  = "New Years paddle on Okanagan Lake, BC - photo by Kasey";
getTitle[54]  = "Cattle Egret in Clayoquot Sound - photo by Mark Schilling";
getTitle[55]  = "Low brace in the surf";
getTitle[56]  = "Big water at Telegraph Cove near Victoria BC - photo by Mark Schilling";
getTitle[57]  = "Black bear at Sechart in Barkley Sound - photo by Dan Millsip";
getTitle[58]  = "Paddling into a cave on Fleming Island in Barkley Sound - photo by Dan Millsip";
getTitle[59]  = "Paddling in swell and fog in Loudoun Channel, Broken Group Islands - photo by Dan Millsip";
getTitle[60]  = "Crab shell on the deck - photo by Dan Millsip";
getTitle[61]  = "Mossy Chiton often found in intertidal areas - photo by Dan Millsip";
getTitle[62]  = "Night paddling in the fog at Port Moody - photo by Dan Millsip";
getTitle[63]  = "The Fox Group in the Broughton Archipelago - photo by Dan Millsip";
getTitle[64]  = "Goose Barnacles -- found on exposed coast in mid-intertidal zone and lower - photo by Dan Millsip";
getTitle[65]  = "Kayaks on water taxi in the Broughton Archipelago - photo by Dan Millsip";


////////////////////////Nothing below this line need to be modified/////////////////////////////

var counter  = 0;
var nBanners = numberOfBanners;

function displayBanners()
  {
  counter = Math.round(Math.random() * (nBanners - 1));
  counter = counter + 1;
  document.img.src = getImg[counter];
  document.img.title = getTitle[counter];
  }

// End -->
