var theImages = new Array()

//Random-loading images
theImages[0] = '../images/hero_secondShiftWebView.jpg' // replace with names of images
theImages[1] = '../images/hero_ContestNov.png' // replace with names of images

var j = 0
var p = theImages.length;
var preBuffer = new Array()

for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));

function showImage(){
if(whichImage==0){
document.write('<a href ="../webcasts/boldAmerican.shtml"><img src="'+theImages[whichImage]+'" border=0 width=300 height=249 alt="The Second Shift Webcast Series - SunTrust Visits Bold American. Click here to view now."></a>');
}
else if(whichImage==1){
document.write('<a href ="../join/best_practices.shtml"><img src="'+theImages[whichImage]+'" border=0 width=300 height=249 alt="What have you done to improve productivity? Solid never stops innovating. Click here to enter the SunTrust Solid Preformance Contest. Share your best practices for finding new sources of prodictivity and win valuable prizes."></a>');
}

}