/*
To add a client, upload the image to the images/awards directory, then continue the pattern below, adding a new line for each image.
*/
var Pic = new Array();
Pic[0] = '/English/Images/Logos/logo-adspace.gif';
Pic[1] = '/English/Images/Logos/logo-apple.gif';
Pic[2] = '/English/Images/Logos/logo-audiofeast.gif';
Pic[3] = '/English/Images/Logos/logo-avidence.gif';
Pic[4] = '/English/Images/Logos/logo-bluepumpkin.gif';
Pic[5] = '/English/Images/Logos/logo-boardvantage.gif';
Pic[6] = '/English/Images/Logos/logo-cybersource.gif';
Pic[7] = '/English/Images/Logos/logo-drtstrategies.gif';
Pic[8] = '/English/Images/Logos/logo-encover.gif';
Pic[9] = '/English/Images/Logos/logo-gmt.gif';
Pic[10] = '/English/Images/Logos/logo-goalcentrix.gif';
Pic[11] = '/English/Images/Logos/logo-infopia.gif';
Pic[12] = '/English/Images/Logos/logo-laszlo.gif';
Pic[13] = '/English/Images/Logos/logo-logitech.gif';
Pic[14] = '/English/Images/Logos/logo-mybuys.gif';
Pic[15] = '/English/Images/Logos/logo-nextance.gif';
Pic[16] = '/English/Images/Logos/logo-sacs.gif';
Pic[17] = '/English/Images/Logos/logo-skytide.gif';
Pic[18] = '/English/Images/Logos/logo-sponsorwise.gif';
Pic[19] = '/English/Images/Logos/logo-utopy.gif';

/*
To add a URL for a client, continue the pattern below.  Be sure to match the number of the URL with the Pic number. These currently commented out. See below.

var url = new Array();
url[0] = 'http://www.adspace.com/';
url[1] = '/English/Our_Clients/Our_Clients.html';
url[2] = 'http://www.avidence.com/';
url[3] = 'http://www.bluepumpkin.com/';
url[4] = 'http://www.boardvantage.com/';
url[5] = 'http://www.cybersource.com/';
url[6] = 'http://www.drtstrategies.com/';
url[7] = 'http://www.encover.com/';
url[8] = 'http://www.gmt.com/';
url[9] = 'http://www.goalcentrix.com/';
url[10] = 'http://www.infopia.com/';
url[11] = 'http://www.laszlosystems.com/';
url[12] = 'http://www.mybuys.com/';
url[13] = 'http://www.nextance.com/';
url[14] = 'http://www.selectsacs.com/';
url[15] = 'http://www.skytide.com/';
url[16] = 'http://www.sponsorwise.com/';
url[17] = 'http://www.utopy.com/';
*/

/*
Points all logos to Our Clients page. 
*/
var url = new Array();
url[0] = '/English/Our_Clients/Our_Clients.html';
url[1] = '/English/Our_Clients/Our_Clients.html';
url[2] = '/English/Our_Clients/Our_Clients.html';
url[3] = '/English/Our_Clients/Our_Clients.html';
url[4] = '/English/Our_Clients/Our_Clients.html';
url[5] = '/English/Our_Clients/Our_Clients.html';
url[6] = '/English/Our_Clients/Our_Clients.html';
url[7] = '/English/Our_Clients/Our_Clients.html';
url[8] = '/English/Our_Clients/Our_Clients.html';
url[9] = '/English/Our_Clients/Our_Clients.html';
url[10] = '/English/Our_Clients/Our_Clients.html';
url[11] = '/English/Our_Clients/Our_Clients.html';
url[12] = '/English/Our_Clients/Our_Clients.html';
url[13] = '/English/Our_Clients/Our_Clients.html';
url[14] = '/English/Our_Clients/Our_Clients.html';
url[15] = '/English/Our_Clients/Our_Clients.html';
url[16] = '/English/Our_Clients/Our_Clients.html';
url[17] = '/English/Our_Clients/Our_Clients.html';
url[18] = '/English/Our_Clients/Our_Clients.html';
url[19] = '/English/Our_Clients/Our_Clients.html';

// How long will each award display (in milliseconds)?
var displayTime = 2500;

// Duration of crossfade (in seconds)?
var crossFadeDuration = 3;

// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var keepLoadingImages = 1;
var preLoad = new Array();
preLoad[j] = new Image();
preLoad[j].src = Pic[j];

function runSlideShow() {
  document.images.awardImages.src = preLoad[j].src; selectedURL = url[j];
  j = j + 1;
  if (j > (p - 1)) j = 0;
  if (j == 0) {
	keepLoadingImages = 0;
  }
  if (keepLoadingImages) {
    preLoad[j] = new Image();
	preLoad[j].src = Pic[j];
  }
  t = setTimeout('runSlideShow()', displayTime);
}
function awardLocation() {
	document.location.href = selectedURL;
	return false;
}
