var variableslide=new Array()

//variableslide[x]=["path to image", "OPTIONAL link for image", "OPTIONAL text description (supports HTML tags)"]

variableslide[0]=['images/slideshow/matt_seiler_1.jpg', '', '<strong>Executive of the Year: <br />Matt Seiler</strong><br />Global CEO, Universal McCann']
variableslide[1]=['images/slideshow/Kulesza_Jackie.jpg', '', '<strong>Jackie Kulesza</strong> <br />Senior VP, Broadcast Activation Director, Starcom USA']
variableslide[2]=['images/slideshow/bryan_wiener_headshot_300dp.jpg', '', '<strong>Bryan Wiener</strong> <br />CEO, 360i']
variableslide[3]=['images/slideshow/Montes_Edward002.jpg', '', '<strong>Ed Montes</strong> <br />Executive VP, Managing Director, Havas Digital']
variableslide[4]=['images/slideshow/Amanda_Richman.jpg', '', '<strong>Amanda Richman</strong> <br />Executive VP/Managing Director, MediaVest USA']
variableslide[5]=['images/slideshow/Joe_Masucci_pic1_color_0327.jpg', '', '<strong>Joe Masucci</strong> <br />Director of Business Intelligence, OMD']
variableslide[6]=['images/slideshow/MPG_GuyForestierWalker_Crop.jpg', '', '<strong>Guy Forestier-Walker</strong> <br />Senior VP, Planning, MPG']
variableslide[7]=['images/slideshow/Rebecca_Krawczyk.jpg', '', '<strong>Rising Star: <br />Rebecca Krawczyk</strong> <br />Media Supervisor, Initiative']
variableslide[8]=['images/slideshow/Lang_David_FINAL.jpg', '', '<strong>David Lang </strong> <br />President, Mindshare Entertainment']
variableslide[9]=['images/slideshow/Jeanine_Swanson.jpg', '', '<strong>Jeanine Swanson</strong> <br />OOH Buying Director, GSD&amp;M Idea City']
variableslide[10]=['images/slideshow/Kruse_Scott.jpg', '', '<strong>Scott Kruse</strong> <br />Managing Partner, Director of Print, GroupM ']
variableslide[11]=['images/slideshow/BrillShari_Full1.jpg', '', '<strong>Shari Anne Brill</strong> <br />Senior VP, Director of Programming, Carat ']
variableslide[11]=['images/slideshow/Bob_Saget_Photo.jpg', '', '<strong></strong> <br />Hosted by A&E\'s Bob Saget ']

//configure the below 3 variables to set the dimension/background color of the slideshow

var slidewidth='143px' //set to width of LARGEST image in your slideshow
var slideheight='163px' //set to height of LARGEST iamge in your slideshow, plus any text description
var slidebgcolor='#FFFFFF'

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=3000

////Do not edit pass this line////////////////

var ie=document.all
var dom=document.getElementById

for (i=0;i<variableslide.length;i++){
var cacheimage=new Image()
cacheimage.src=variableslide[i][0]
}

var currentslide=0

function rotateimages(){
contentcontainer='<center>'
if (variableslide[currentslide][1]!="")
contentcontainer+='<a href="'+variableslide[currentslide][1]+'">'
contentcontainer+='<img src="'+variableslide[currentslide][0]+'" border="0" vspace="3">'
if (variableslide[currentslide][1]!="")
contentcontainer+='</a>'
contentcontainer+='</center>'
if (variableslide[currentslide][2]!="")
contentcontainer+=variableslide[currentslide][2]

if (document.layers){
crossrotateobj.document.write(contentcontainer)
crossrotateobj.document.close()
}
else if (ie||dom)
crossrotateobj.innerHTML=contentcontainer
if (currentslide==variableslide.length-1) currentslide=0
else currentslide++
setTimeout("rotateimages()",slidedelay)
}

if (ie||dom)
document.write('<div id="slidedom" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>')

function start_slider(){
crossrotateobj=dom? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub
if (document.layers)
document.slidensmain.visibility="show"
rotateimages()
}

if (ie||dom)
start_slider()
else if (document.layers)
window.onload=start_slider