
var banDelay1 = 2000; // display for 2.000 seconds each
var banDelay2 = 5000; // display for 4.500 seconds each
var t;
var banners = {
thespeakers : [
'<img src= "images\/speakers\/2011/aallison.jpg" width="51" height="76"\/><br\/> Allen Allison<br\/>NaviSite'
,'<img src= "images\/speakers\/2011/sbanerji.jpg" width="51" height="76"\/><br\/> Shawn Banerji<br\/>Russell Reynolds Associates'
,'<img src= "images\/speakers\/2011/jboughn.jpg" width="51" height="76"\/><br\/> Julie Boughn<br\/>Center for Medicare and Medicaid'
,'<img src= "images\/speakers\/2011/aboyden.jpg" width="51" height="76"\/><br\/> Adam Boyden<br\/>Conduit'
,'<img src= "images\/speakers\/2011/cbrown.jpg" width="51" height="76"\/><br\/> Coco Brown<br\/>Taos'
,'<img src= "images\/speakers\/2011/brynjolfsson.jpg" width="51" height="76"\/><br\/> Prof. Erik Brynjolfsson<br\/>MIT Sloan'
,'<img src= "images\/speakers\/2011/achristie.jpg" width="51" height="76"\/><br\/> Anthony D. Christie<br\/>Global Crossing'
,'<img src= "images\/speakers\/2011/dcastellani.jpg" width="51" height="76"\/><br\/> David J. Castellani<br\/>New York Life'
,'<img src= "images\/speakers\/2011/dclark.jpg" width="51" height="76"\/><br\/> Dr. David Clark<br\/>MIT CSAIL'
,'<img src= "images\/speakers\/2011/mcusumano.jpg" width="51" height="76"\/><br\/> Prof. Michael Cusumano<br\/>MIT Sloan'
,'<img src= "images\/speakers\/2011/mdaly.jpg" width="51" height="76"\/><br\/> Michael Daly<br\/>Raytheon'
,'<img src= "images\/speakers\/2011/megan.jpg" width="51" height="76"\/><br\/> Mark Egan<br\/>VMware'
,'<img src= "images\/speakers\/2011/terickson.jpg" width="51" height="76"\/><br\/> Tammy Erickson<br\/>Independent Consultant'
,'<img src= "images\/speakers\/2011/mferrentino.jpg" width="51" height="76"\/><br\/> Marc Ferrentino<br\/>salesforce.com'
,'<img src= "images\/speakers\/2011/afilip.jpg" width="51" height="76"\/><br\/> Arthur Filip<br\/>Hewlett-Packard Company'
,'<img src= "images\/speakers\/2011/rgnatovich.jpg" width="51" height="76"\/><br\/> Rock Gnatovich<br\/>TIBCO Software Inc.'
,'<img src= "images\/speakers\/2011/khakenson.jpg" width="51" height="76"\/><br\/> Kurt Hakenson<br\/>Northrop Grumman ESS'
,'<img src= "images\/speakers\/2011/bhalligan.jpg" width="51" height="76"\/><br\/> Brian Halligan<br\/>Hubspot'
,'<img src= "images\/speakers\/2011/thebert.jpg" width="51" height="76"\/><br\/> Tim Hebert<br\/>Atrion'
,'<img src= "images\/speakers\/2011/mhopkins.jpg" width="51" height="76"\/><br\/> Michael Hopkins<br\/>MIT Sloan Management Review'
,'<img src= "images\/speakers\/2011/ghuang.jpg" width="51" height="76"\/><br\/> Gregory Huang<br\/>Xconomy Boston'
,'<img src= "images\/speakers\/2011/sjohn.jpg" width="51" height="76"\/><br\/> Steven John<br\/>Workday'
,'<img src= "images\/speakers\/2011/ikamenz.jpg" width="51" height="76"\/><br\/> Ina Kamenz<br\/>Thermo Fisher Scientific'
,'<img src= "images\/speakers\/2011/dkingston.jpg" width="51" height="76"\/><br\/> David Kingston<br\/>Corporate Executive Board'
,'<img src= "images\/speakers\/2011/kkoster.jpg" width="51" height="76"\/><br\/> Karl Koster<br\/>MIT ILP'
,'<img src= "images\/speakers\/2011/nkrishnakumar.jpg" width="51" height="76"\/><br\/> Dr. Narayanan Krishnakumar<br\/>EMC'
,'<img src= "images\/speakers\/2011/rlaubacher.jpg" width="51" height="76"\/><br\/> Robert Laubacher<br\/>MIT Center for Collective Intelligence'
,'<img src= "images\/speakers\/2011/jleader.jpg" width="51" height="76"\/><br\/> Jay Leader<br\/>iRobot'
,'<img src= "images\/speakers\/2011/tliu.jpg" width="51" height="76"\/><br\/> Tianwen Liu<br\/>iSoftStone'
,'<img src= "images\/speakers\/2011/fmaddux.jpg" width="51" height="76"\/><br\/> Franklin Maddux, MD<br\/>Fresenius Medical Care - NA'
,'<img src= "images\/speakers\/2011/apmcafee.jpg" width="51" height="76"\/><br\/> Dr. Andrew McAfee<br\/>MIT Sloan'
,'<img src= "images\/speakers\/2011/omccusker.jpg" width="51" height="76"\/><br\/> Owen McCusker<br\/>Sonalysts, Inc.'
,'<img src= "images\/speakers\/2011/gmcrae.jpg" width="51" height="76"\/><br\/> Prof. Gregory McRae<br\/>MIT'
,'<img src= "images\/speakers\/2011/smirchandani.jpg" width="51" height="76"\/><br\/> Sanjay Mirchandani<br\/>EMC Corporation'
,'<img src= "images\/speakers\/2011/lmitnick.jpg" width="51" height="76"\/><br\/> Lisa Mitnick<br\/>Accenture'
,'<img src= "images\/speakers\/2011/lnetzer.jpg" width="51" height="76"\/><br\/> Lior Netzer<br\/>Akamai'
,'<img src= "images\/speakers\/2011/snunziata.jpg" width="51" height="76"\/><br\/> Susan Nunziata<br\/>CIO Insight'
,'<img src= "images\/speakers\/2011/eopenshaw.jpg" width="51" height="76"\/><br\/> Eric Openshaw<br\/>Deloitte LLP'
,'<img src= "images\/speakers\/2011/spentland.jpg" width="51" height="76"\/><br\/> Prof. Alex (Sandy) Pentland<br\/>MIT Media Lab'
,'<img src= "images\/speakers\/2011/bpeterson.jpg" width="51" height="76"\/><br\/> Brad Peterson<br\/>Charles Schwab'
,'<img src= "images\/speakers\/2011/tpiepenbrock.jpg" width="51" height="76"\/><br\/> Dr. Theodore (Ted) Piepenbrock<br\/>MIT CTPID'
,'<img src= "images\/speakers\/2011/jpleasant.jpg" width="51" height="76"\/><br\/> Joseph M. Pleasant, Jr.<br\/>Premier, Inc.'
,'<img src= "images\/speakers\/2011/jpontin.jpg" width="51" height="76"\/><br\/> Jason Pontin<br\/>MIT Technology Review'
,'<img src= "images\/speakers\/2011/spotarazu.jpg" width="51" height="76"\/><br\/> Sreedhar Potarazu, MD<br\/>VitalSpring Technologies'
,'<img src= "images\/speakers\/2011/sprobstein.jpg" width="51" height="76"\/><br\/> Sid Probstein<br\/>Attivio'
,'<img src= "images\/speakers\/2011/sraj.jpg" width="51" height="76"\/><br\/> Saideep Raj<br\/>Accenture'
,'<img src= "images\/speakers\/2011/rroberts.jpg" width="51" height="76"\/><br\/> Roger Roberts<br\/>McKinsey'
,'<img src= "images\/speakers\/2011/rnocker.jpg" width="51" height="76"\/><br\/> Ren&eacute;e Romano Nocker<br\/>SAS'
,'<img src= "images\/speakers\/2011/grahamr.jpg" width="51" height="76"\/><br\/> Dr. Graham Rong<br\/>MIT Sloan CIO Symposium'
,'<img src= "images\/speakers\/2011/rrosin.jpg" width="51" height="76"\/><br\/> Roy Rosin<br\/>Intuit'
,'<img src= "images\/speakers\/2011/jross.jpg" width="51" height="76"\/><br\/> Dr. Jeanne W. Ross<br\/>MIT Sloan'
,'<img src= "images\/speakers\/2011/dsaul.jpg" width="51" height="76"\/><br\/> David Saul<br\/>State Street'
,'<img src= "images\/speakers\/2011/sscantlebury.jpg" width="51" height="76"\/><br\/> Stuart Scantlebury<br\/>Boston Consulting Group'
,'<img src= "images\/speakers\/2011/tschadler.jpg" width="51" height="76"\/><br\/> Ted Schadler<br\/>Forrester Research'
,'<img src= "images\/speakers\/2011/schmittlein.jpg" width="51" height="76"\/><br\/> Prof. David Schmittlein<br\/>MIT Sloan'
,'<img src= "images\/speakers\/2011/ashadman.jpg" width="51" height="76"\/><br\/> Ali Shadman<br\/>Hewlett-Packard Company'
,'<img src= "images\/speakers\/2011/ashortnacy.jpg" width="51" height="76"\/><br\/> Allen Shortnacy<br\/>VMware'
,'<img src= "images\/speakers\/2011/msmith.jpg" width="51" height="76"\/><br\/> Marilyn Smith<br\/>MIT'
,'<img src= "images\/speakers\/2011/rstefanic.jpg" width="51" height="76"\/><br\/> Rob Stefanic<br\/>Sensata'
,'<img src= "images\/speakers\/2011/atrefler.jpg" width="51" height="76"\/><br\/> Alan Trefler<br\/>Pegasystems'
,'<img src= "images\/speakers\/2011/ttsolakis.jpg" width="51" height="76"\/><br\/> Tasos Tsolakis<br\/>Iron Mountain'
,'<img src= "images\/speakers\/2011/gurban.jpg" width="51" height="76"\/><br\/> Prof. Glen L. Urban<br\/>MIT Sloan'
,'<img src= "images\/speakers\/2011/bwatson.jpg" width="51" height="76"\/><br\/> Brian P. Watson<br\/>Workforce Opportunity Services'
,'<img src= "images\/speakers\/2011/bwray.jpg" width="51" height="76"\/><br\/> Bill Wray<br\/>Blue Cross & Blue Shield of RI'
]
, sponsors : [
'<img src="images\/2011sponsorssmaller\/thankyou-small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/accenture-logo.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/atrion-small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/avaya-logo.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/corp_exec_board.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/EMC_small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/Fresenius_duotone_logo.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/hp-small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/Internap_logo.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/intuit_brainstorm.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/isoftstone-small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/naviSite-small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/pega-small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/rr-small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/sas-small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/salesforce-logo.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/Sloan_Exec_Ed.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/taos-logo.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/tibco_spotfire.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/upperedge-logo.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/vmware-small.gif"\/>'
,'<img src="images\/2011sponsorssmaller\/workday.gif"\/>'

]
};

// Banner Rotator
// copyright 12th October 2009 by Stephen Chapman
// http://javascript.about.com
// permission to use this Javascript on your web page is granted
// provided that all of the code below in this script (including these
// comments) is used without any alteration
var banimg = []; 

for (x in banners) 
{
	for (var i=banners[x].length-1; i >= 0; i--) {
		var b = banners[x][i].match(/<img.+?src=['"](.*?)['"]/);
		if (b) banimg.push(b[1]);
	}
} 

for (var i = banimg.length - 1; i >= 0; i--) {
	var h = new Image(); 
	h.src = banimg[i];
}

function randOrd() {
	return (Math.round(Math.random())-0.5); 
}

var banlist = [];
function Ban(b)  {
	this.loc = document.getElementById(b);
	this.ary = banners[b];
	this.ary.sort(randOrd);
	this.cnt = -1;
	banlist.push(this);
}

function rotateBan1() {
		var max = banlist[0].ary.length;
		banlist[0].cnt++;
		if (banlist[0].cnt >= max) 
			banlist[0].cnt = 0;
		banlist[0].loc.innerHTML = banlist[0].ary[banlist[0].cnt];
setTimeout(rotateBan1,banDelay1);
} 

function rotateBan2() {
		var max = banlist[1].ary.length;
		banlist[1].cnt++;
		if (banlist[1].cnt >= max) 
			banlist[1].cnt = 0;
		banlist[1].loc.innerHTML = banlist[1].ary[banlist[1].cnt];
setTimeout(rotateBan2,banDelay2);
} 

function startBanner() {
	for (x in banners) {
		if (document.getElementById(x)) new Ban(x);
	} 
	rotateBan1();
	rotateBan2();
} 

window.onload = startBanner;


