var imgCt1 = 11; // image count

// Images
var imgs1 = new Array(
					"/sites/all/themes/triumf/images/owned_logos/carleton_univ.jpg",
					"/sites/all/themes/triumf/images/owned_logos/simon_fraser_univ.jpg",
					"/sites/all/themes/triumf/images/owned_logos/u_of_a.jpg",
					"/sites/all/themes/triumf/images/owned_logos/u_of_t.jpg",
					"/sites/all/themes/triumf/images/owned_logos/univ_brit_colum.jpg",
					"/sites/all/themes/triumf/images/owned_logos/univ_victoria.jpg",
					"/sites/all/themes/triumf/images/owned_logos/universite_montreal.jpg",
					"/sites/all/themes/triumf/images/owned_logos/umanitoba.jpg",
					"/sites/all/themes/triumf/images/owned_logos/queens_u.jpg",
					"/sites/all/themes/triumf/images/owned_logos/u_guelph.jpg",
					"/sites/all/themes/triumf/images/owned_logos/york_u.jpg" // No comma on last item
					);

// URLs
var lnks1 = new Array(
					"http://www.carleton.ca/",
					"http://www.sfu.ca",
					"http://www.ualberta.ca/",
					"http://www.utoronto.ca/",
					"http://www.ubc.ca/",
					"http://www.uvic.ca/",
					"http://www.umontreal.ca/",
					"http://www.umanitoba.ca/",
					"http://www.queensu.ca/",
					"http://www.uoguelph.ca/",
					"http://www.yorku.ca/" // No comma on last item
					);

// Alt Tags
var alt1 = new Array(
					"Carleton University",
					"Simon Fraser University",
					"University of Alberta",
					"University of Toronto",
					"University of British Columbia",
					"University of Victoria",
					"Universite de Montreal",
                                        "University of Manitoba",
                                        "Queens's University",
                                        "University of Guelph",
                                        "York University" // No comma on last item
					);

var currentAd1 = 0;
function cycle1() {
  if (currentAd1 == imgCt1) {
    currentAd1 = 0;
  }
var banner1 = document.getElementById('adBanner1');
var link1 = document.getElementById('adLink1');
  banner1.src=imgs1[currentAd1]
  banner1.alt=alt1[currentAd1]
  document.getElementById('adLink1').href=lnks1[currentAd1]
  currentAd1++;
}
  window.setInterval("cycle1()",6000); // Timer: 1000 equals 1 second
