function selectLeftImage() {
  // create an array of all possible images
  var leftArray = new Array('http://www.hlthss.gov.nt.ca/images/onload/landscape1.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/landscape2.jpg','http://www.hlthss.gov.nt.ca/images/onload/landscape3.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/landscape4.jpg','http://www.hlthss.gov.nt.ca/images/onload/landscape5.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/landscape6.jpg','http://www.hlthss.gov.nt.ca/images/onload/landscape7.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/landscape8.jpg','http://www.hlthss.gov.nt.ca/images/onload/landscape9.jpg'); 
  // select a random num between 0 and length of the array
  var randomNum = Math.floor(Math.random() * leftArray.length);
  // assign a random array entry to the src of the image 
  document.getElementById("landscape").src = leftArray[randomNum]; 
}

function selectRightImage() {
  // create an array of all possible images
  var rightArray = new Array('http://www.hlthss.gov.nt.ca/images/onload/people1.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/people2.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/people4.jpg'); 
  // select a random num between 0 and length of the array
  var randomNum = Math.floor(Math.random() * rightArray.length);
  // assign a random array entry to the src of the image 
  document.getElementById("people").src = rightArray[randomNum]; 
}

function selectAuthority() {
  // create an array of all possible images
  var authorityArray = new Array('http://www.hlthss.gov.nt.ca/images/onload/authorities/marie_adele_bishop_health_c.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/authorities/stanton_territorial_hospital.jpg','http://www.hlthss.gov.nt.ca/images/onload/authorities/h_h_williams_memorial_hospi.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/authorities/fort_smilth_health_centre.jpg','http://www.hlthss.gov.nt.ca/images/onload/authorities/lutselke_health_centre.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/authorities/inuvik_regional_hospital.jpg','http://www.hlthss.gov.nt.ca/images/onload/authorities/sachs_harbour_centre.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/authorities/holman_health_centre.jpg','http://www.hlthss.gov.nt.ca/images/onload/authorities/norman_wells.jpg'); 
  // select a random num between 0 and length of the array
  var randomNum = Math.floor(Math.random() * authorityArray.length);
  // assign a random array entry to the src of the image 
  document.getElementById("authority").src = authorityArray[randomNum]; 
}

function selectBeaufortDelta() {
  // create an array of all possible images
  var authorityArray = new Array('http://www.hlthss.gov.nt.ca/images/onload/authorities/inuvik_regional_hospital.jpg','http://www.hlthss.gov.nt.ca/images/onload/authorities/sachs_harbour_centre.jpg',
  'http://www.hlthss.gov.nt.ca/images/onload/authorities/holman_health_centre.jpg'); 
  // select a random num between 0 and length of the array
  var randomNum = Math.floor(Math.random() * authorityArray.length);
  // assign a random array entry to the src of the image 
  document.getElementById("authority").src = authorityArray[randomNum]; 
}

function selectAuthorityFrench() {
  // create an array of all possible images
  var authorityArray = new Array('http://www.hlthss.gov.nt.ca/images/french/onload/authorities/marie_adele_bishop_health_c.jpg',
  'http://www.hlthss.gov.nt.ca/images/french/onload/authorities/stanton_territorial_hospital.jpg','http://www.hlthss.gov.nt.ca/images/french/onload/authorities/h_h_williams_memorial_hospi.jpg',
  'http://www.hlthss.gov.nt.ca/images/french/onload/authorities/fort_smilth_health_centre.jpg','http://www.hlthss.gov.nt.ca/images/french/onload/authorities/lutselke_health_centre.jpg',
  'http://www.hlthss.gov.nt.ca/images/french/onload/authorities/inuvik_regional_hospital.jpg','http://www.hlthss.gov.nt.ca/images/french/onload/authorities/sachs_harbour_centre.jpg',
  'http://www.hlthss.gov.nt.ca/images/french/onload/authorities/holman_health_centre.jpg','http://www.hlthss.gov.nt.ca/images/french/onload/authorities/norman_wells.jpg'); 
  // select a random num between 0 and length of the array
  var randomNum = Math.floor(Math.random() * authorityArray.length);
  // assign a random array entry to the src of the image 
  document.getElementById("authority").src = authorityArray[randomNum]; 
}

function selectBeaufortDeltaFrench() {
  // create an array of all possible images
  var authorityArray = new Array('http://www.hlthss.gov.nt.ca/images/french/onload/authorities/inuvik_regional_hospital.jpg','http://www.hlthss.gov.nt.ca/images/french/onload/authorities/sachs_harbour_centre.jpg',
  'http://www.hlthss.gov.nt.ca/images/french/onload/authorities/holman_health_centre.jpg'); 
  // select a random num between 0 and length of the array
  var randomNum = Math.floor(Math.random() * authorityArray.length);
  // assign a random array entry to the src of the image 
  document.getElementById("authority").src = authorityArray[randomNum]; 
}

function selectnwtQuitLine() {
  // create an array of all possible images
  var quitLineArray = new Array('http://www.hlthss.gov.nt.ca/images/health/nwt_quitline/chauvin.jpg','http://www.hlthss.gov.nt.ca/images/health/nwt_quitline/francey.jpg',
  'http://www.hlthss.gov.nt.ca/images/health/nwt_quitline/parker.jpg','http://www.hlthss.gov.nt.ca/images/health/nwt_quitline/binder.jpg','http://www.hlthss.gov.nt.ca/images/health/nwt_quitline/dana_francey.jpg',
  'http://www.hlthss.gov.nt.ca/images/health/nwt_quitline/dillon.jpg','http://www.hlthss.gov.nt.ca/images/health/nwt_quitline/krutko.jpg','http://www.hlthss.gov.nt.ca/images/health/nwt_quitline/marlowe.jpg',
  'http://www.hlthss.gov.nt.ca/images/health/nwt_quitline/gushue.jpg'); 
  // select a random num between 0 and length of the array
  var randomNum = Math.floor(Math.random() * quitLineArray.length);
  // assign a random array entry to the src of the image 
  document.getElementById("quitLine").src = quitLineArray[randomNum]; 
}

function selectnwtQuitLineFrench() {
  // create an array of all possible images
  var quitLineArray = new Array('http://www.hlthss.gov.nt.ca/images/french/health/nwt_quitline/chauvin.jpg','http://www.hlthss.gov.nt.ca/images/french/health/nwt_quitline/parker.jpg',
  'http://www.hlthss.gov.nt.ca/images/french/health/nwt_quitline/binder.jpg','http://www.hlthss.gov.nt.ca/images/french/health/nwt_quitline/dillon.jpg'); 
  // select a random num between 0 and length of the array
  var randomNum = Math.floor(Math.random() * quitLineArray.length);
  // assign a random array entry to the src of the image 
  document.getElementById("quitLine").src = quitLineArray[randomNum]; 
}