
function displayVideo() {
	if ( is_Flash ) {
		var Win = window.open('/video/video400/videoplayer.html?assetURL=diversityincludesme','displayWindow','width=400,height=375,top=50,left=50,resizable=no,scrollbars=no,menubar=no,status=no');
	} else {
		var Win = window.open('/video/video400/flashrequired.html?id=diversityincludesme','displayWindow','width=400,height=375,top=50,left=50,resizable=no,scrollbars=no,menubar=no,status=no');
	}
}

function displayVideo2() {
	if ( is_Flash ) {
		var Win = window.open('/video/video476/videoplayer.html?assetURL=successthroughdiversity','displayWindow','width=476,height=330,top=50,left=50,resizable=no,scrollbars=no,menubar=no,status=no');
	} else {
		var Win = window.open('/video/video476/flashrequired.html?id=successthroughdiversity','displayWindow','width=476,height=330,top=50,left=50,resizable=no,scrollbars=no,menubar=no,status=no');
	}
}


function diversityCallout() {
	document.write('<a href="javascript:displayVideo();"><img src="/img/callout-diversity1-blue.jpg" border="0" alt="Watch the video" /><\/a>');
}

function foresightPhoto() {
	var photoforesight1 = new Array(24);
	photoforesight1[0]="/img/callout-simon.jpg";
	photoforesight1[1]="/img/callout-ruane.jpg";
	photoforesight1[2]="/img/callout-calfo.jpg";
	photoforesight1[3]="/img/callout-lewin.jpg";
	photoforesight1[4]="/img/callout-zaldivar.jpg";
	photoforesight1[5]="/img/callout-keaney-foresight.jpg";
	photoforesight1[6]="/img/callout-keenan.jpg";
	photoforesight1[7]="/img/callout-tadie.jpg";
	photoforesight1[8]="/img/callout-hoey.jpg";
	photoforesight1[9]="/img/callout-broom.jpg";
	photoforesight1[10]="/img/callout-moore.jpg";
	photoforesight1[11]="/img/callout-hoey.jpg";
	photoforesight1[12]="/img/callout-hughes.jpg";
	photoforesight1[13]="/img/callout-demenocal.jpg";
	photoforesight1[14]="/img/callout-morrissey.jpg";
	photoforesight1[15]="/img/callout-flanagan.jpg";
	photoforesight1[16]="/img/callout-coey.jpg";
	photoforesight1[17]="/img/callout-mcgann.jpg";
	photoforesight1[18]="/img/callout-grohowski.jpg";
	photoforesight1[19]="/img/callout-hoey.jpg";
	photoforesight1[20]="/img/callout-costello.jpg";
	photoforesight1[21]="/img/callout-hoey.jpg";
	photoforesight1[22]="/img/callout-verschoyle-king.jpg";
	photoforesight1[23]="/img/callout-feibel.jpg";

	var linkforesight1 = new Array(24);
	linkforesight1[0]="/foresight/simon.html";
	linkforesight1[1]="/foresight/ruane.html";
	linkforesight1[2]="/foresight/calfo.html";
	linkforesight1[3]="/foresight/lewin.html";
	linkforesight1[4]="/foresight/zaldivar.html";
	linkforesight1[5]="/foresight/keaney.html";
	linkforesight1[6]="/foresight/keenan.html";
	linkforesight1[7]="/foresight/tadie.html";
	linkforesight1[8]="/foresight/update-video.html";
	linkforesight1[9]="/foresight/broom.html";
	linkforesight1[10]="/foresight/moore.html";
	linkforesight1[11]="/foresight/update-video.html";
	linkforesight1[12]="/foresight/hughes.html";
	linkforesight1[13]="/foresight/demenocal.html";
	linkforesight1[14]="/foresight/morrissey.html";
	linkforesight1[15]="/foresight/flanagan.html";
	linkforesight1[16]="/foresight/coey.html";
	linkforesight1[17]="/foresight/mcgann.html";
	linkforesight1[18]="/foresight/grohowski.html";
	linkforesight1[19]="/foresight/update-video.html";
	linkforesight1[20]="/foresight/costello.html";
	linkforesight1[21]="/foresight/update-video.html";
	linkforesight1[22]="/foresight/verschoyle-king.html";
	linkforesight1[23]="/foresight/feibel.html";

	var foresightsarrayindex1 = Math.floor(Math.random()*photoforesight1.length);
	myForesightObj1 = new Object;  
	myForesightObj1.thephotoforesight1 = photoforesight1[foresightsarrayindex1];  
	myForesightObj1.thelinkforesight1 = linkforesight1[foresightsarrayindex1];  

	if (document.URL.indexOf("foresight.cfm") != -1) {
		document.write('<a href="' + myForesightObj1.thelinkforesight1 + '"><img src="' + myForesightObj1.thephotoforesight1 + '" border="0" alt="Learn more" class="videoimage" /><\/a>');
	}
}

function EISPhoto() {
	var photoEIS1 = new Array(2);
	photoEIS1[0]="/img/callout-balsan.jpg";
	photoEIS1[1]="/img/callout-campbell.jpg";

	var linkEIS1 = new Array(2);
	linkEIS1[0]="/environmentalsolutions/balsan.html";
	linkEIS1[1]="/environmentalsolutions/campbell.html";

	var EISarrayindex1 = Math.floor(Math.random()*photoEIS1.length);
	myEisObj1 = new Object;  
	myEisObj1.thephotoEIS1 = photoEIS1[EISarrayindex1];  
	myEisObj1.thelinkEIS1 = linkEIS1[EISarrayindex1];  

	document.write('<a href="' + myEisObj1.thelinkEIS1 + '"><img src="' + myEisObj1.thephotoEIS1 + '" border="0" alt="Meet the Team" style="margin-top:0px;" /><\/a>');
}

function FSPhoto() {
	var photoForesight = new Array(7);
	photoForesight[0]="/img/nav/2.jpg";
	photoForesight[1]="/img/nav/7.jpg";
	photoForesight[2]="/img/nav/86.jpg";
	photoForesight[3]="/img/nav/29.jpg";
	photoForesight[4]="/img/nav/32.jpg";
	photoForesight[5]="/img/nav/42.jpg";
	photoForesight[6]="/img/nav/41.jpg";

	var FSPhotoarrayindex = Math.floor(Math.random()*photoForesight.length);
	myFSObj = new Object;  
	myFSObj.thephotoForesight = photoForesight[FSPhotoarrayindex];  

	document.write('<div class="image"><img src="' + myFSObj.thephotoForesight + '" width="157" height="119" border="0" alt="ForeSight" /><\/div>');
}

function PRAPhoto() {
	var photoPRA1 = new Array(3);
	photoPRA1[0]="/img/callout-allocation-ad.jpg";
	photoPRA1[1]="/img/callout-portfolio-ad.jpg";
	photoPRA1[2]="/img/callout-risk-ad.jpg";

	var linkPRA1 = new Array(3);
	linkPRA1[0]="/foresight/readcounter.cfm?id=tl259&lb=as&WT.cg_n=ForeSight&WT.cg_s=ArticlesCallout";
	linkPRA1[1]="/foresight/readcounter.cfm?id=tl256&lb=as&WT.cg_n=ForeSight&WT.cg_s=ArticlesCallout";
	linkPRA1[2]="/foresight/readcounter.cfm?id=tl260&lb=as&WT.cg_n=ForeSight&WT.cg_s=ArticlesCallout";

	var PRAarrayindex1 = Math.floor(Math.random()*photoPRA1.length);
	myPraObj1 = new Object;  
	myPraObj1.thephotoPRA1 = photoPRA1[PRAarrayindex1];  
	myPraObj1.thelinkPRA1 = linkPRA1[PRAarrayindex1];  

	document.write('<a href="' + myPraObj1.thelinkPRA1 + '" target="_blank"><img src="' + myPraObj1.thephotoPRA1 + '" width="218" border="0" class="videoimage" alt="Read our whitepaper" /><\/a>');
}

function CareersAdPhoto() {
	var photoCareersAd = new Array(3);
	photoCareersAd[0]="/img/callout-careers-finance-ad.jpg";
	photoCareersAd[1]="/img/callout-careers-ireland-ad.jpg";
	photoCareersAd[2]="/img/callout-careers-military-ad.jpg";

	var linkCareersAd = new Array(3);
	linkCareersAd[0]="/careers/finance.html";
	linkCareersAd[1]="/careers/ireland.html";
	linkCareersAd[2]="/careers/military.html";

	var CareersAdarrayindex = Math.floor(Math.random()*photoCareersAd.length);
	myCareersAdObj = new Object;  
	myCareersAdObj.thephotoCareersAd = photoCareersAd[CareersAdarrayindex];  
	myCareersAdObj.thelinkCareersAd = linkCareersAd[CareersAdarrayindex];  

	document.write('<a href="' + myCareersAdObj.thelinkCareersAd + '"><img src="' + myCareersAdObj.thephotoCareersAd + '" border="0" alt="Search our opportunities" style="margin-top:0px;" /><\/a>');
}

function WMCalloutPhoto() {
	var photoWMCallout = new Array(3);
	photoWMCallout[0]="/img/callout-zaldivar.jpg";
	photoWMCallout[1]="/img/callout-hughes.jpg";
	photoWMCallout[2]="/img/callout-grohowski.jpg";

	var linkWMCallout = new Array(3);
	linkWMCallout[0]="/foresight/zaldivar.html";
	linkWMCallout[1]="/foresight/hughes.html";
	linkWMCallout[2]="/foresight/grohowski.html";

	var WMCalloutarrayindex = Math.floor(Math.random()*photoWMCallout.length);
	myWMCalloutObj = new Object;  
	myWMCalloutObj.thephotoWMCallout = photoWMCallout[WMCalloutarrayindex];  
	myWMCalloutObj.thelinkWMCallout = linkWMCallout[WMCalloutarrayindex];  

	document.write('<a href="' + myWMCalloutObj.thelinkWMCallout + '"><img src="' + myWMCalloutObj.thephotoWMCallout + '" border="0" alt="Learn more" class="videoimage" /><\/a>');
}

