<!-- Begin

var theImages = new Array()
var theImages_alt = new Array()
var theImages2 = new Array()
var theImages2_alt = new Array()
var theImages3 = new Array()
var theImages3_alt = new Array()
var theImages4 = new Array()
var theImages4_alt = new Array()
var theImages5 = new Array()
var theImages5_alt = new Array()
var theImages6 = new Array()
var theImages6_alt = new Array()
var theImages7 = new Array()
var theImages7_alt = new Array()
// To add more image files, continue with the pattern below, adding to the array.

// main image
theImages[0] = '/radio2/shows/bestyear/media/presleybw210.jpg'
theImages[1] = '/radio2/images/artists/beatles/beatles210.jpg'
theImages[2] = '/radio2//images/artists/dbowie/bowie210.jpg'
theImages[3] = '/radio2/images/artists/rollingstones/stones210.jpg'
theImages[4] = '/radio2/images/artists/fatsdomino/fats_domino210.jpg'
theImages[5] = '/radio2/images/artists/swonder/steviewonder210.jpg'
theImages[6] = '/radio2/documentaries/media/mamas210.jpg'

theImages_alt[0] = 'Elvis Presley - Vote - The Best Rock and Pop Year.. Ever!'
theImages_alt[1] = 'The Beatles - Vote - The Best Rock and Pop Year.. Ever!'
theImages_alt[2] = 'David Bowie - Vote - The Best Rock and Pop Year.. Ever!'
theImages_alt[3] = 'Mick Jagger - Vote - The Best Rock and Pop Year.. Ever!'
theImages_alt[4] = 'Fats Domino - Vote - The Best Rock and Pop Year.. Ever!'
theImages_alt[5] = 'Stevie Wonder - Vote - The Best Rock and Pop Year.. Ever!'
theImages_alt[6] = 'The Mamas and the Papas - Vote - The Best Rock and Pop Year.. Ever!'

// ===================================
// top left
theImages2[0] = '/radio2/shows/bestyear/media/cliff70.jpg'
theImages2[1] = '/radio2/shows/bestyear/media/cliff70.jpg'
theImages2[2] = '/radio2/shows/bestyear/media/cliff70.jpg'
theImages2[3] = '/radio2/shows/bestyear/media/cliff70.jpg'

theImages2_alt[0] = 'test1tl'
theImages2_alt[1] = 'test2tl'
theImages2_alt[2] = 'test3tl'
theImages2_alt[3] = 'test4tl'

// ===================================
// top right
theImages3[0] = '/radio2/shows/bestyear/media/jlennon69.jpg'
theImages3[1] = '/radio2/shows/bestyear/media/jlennon69.jpg'
theImages3[2] = '/radio2/shows/bestyear/media/jlennon69.jpg'
theImages3[3] = '/radio2/shows/bestyear/media/jlennon69.jpg'

theImages3_alt[0] = 'test1tr'
theImages3_alt[1] = 'test2tr'
theImages3_alt[2] = 'test3tr'
theImages3_alt[3] = 'test4tr'

// ===================================
// mid left
theImages4[0] = '/radio2/shows/bestyear/media/abba70.jpg'
theImages4[1] = '/radio2/shows/bestyear/media/abba70.jpg'
theImages4[2] = '/radio2/shows/bestyear/media/abba70.jpg'
theImages4[3] = '/radio2/shows/bestyear/media/abba70.jpg'

theImages4_alt[0] = 'test1ml'
theImages4_alt[1] = 'test2ml'
theImages4_alt[2] = 'test3ml'
theImages4_alt[3] = 'test4ml'

// ===================================
// mid right
theImages5[0] = '/radio2/shows/bestyear/media/wham70.jpg'
theImages5[1] = '/radio2/shows/bestyear/media/wham70.jpg'
theImages5[2] = '/radio2/shows/bestyear/media/wham70.jpg'
theImages5[3] = '/radio2/shows/bestyear/media/wham70.jpg'

theImages5_alt[0] = 'test1mr'
theImages5_alt[1] = 'test2mr'
theImages5_alt[2] = 'test3mr'
theImages5_alt[3] = 'test4mr'

// ===================================
// bottom left
theImages6[0] = '/radio2/shows/bestyear/media/madonna_70.jpg'
theImages6[1] = '/radio2/shows/bestyear/media/madonna_70.jpg'
theImages6[2] = '/radio2/shows/bestyear/media/madonna_70.jpg'
theImages6[3] = '/radio2/shows/bestyear/media/madonna_70.jpg'

theImages6_alt[0] = 'test1bl'
theImages6_alt[1] = 'test2bl'
theImages6_alt[2] = 'test3bl'
theImages6_alt[3] = 'test4bl'

// ===================================
// bottom right
theImages7[0] = '/radio2/images/artists/kminogue/kylie69.jpg'
theImages7[1] = '/radio2/images/artists/kminogue/kylie69.jpg'
theImages7[2] = '/radio2/images/artists/kminogue/kylie69.jpg'
theImages7[3] = '/radio2/images/artists/kminogue/kylie69.jpg'

theImages7_alt[0] = 'test1br'
theImages7_alt[1] = 'test2br'
theImages7_alt[2] = 'test3br'
theImages7_alt[3] = 'test4br'

// ===================================


function showImage(arrayToUse, arrayToUse_alt, width, height, url, divclass) {
	var j = 0
	var p = arrayToUse.length;
	//var preBuffer = new Array()
	//for (i = 0; i < p; i++){
	 //  preBuffer[i] = new Image()
	  // preBuffer[i].src = arrayToUse[i]
	//}
	var whichImage = Math.round(Math.random()*(p-1));
	document.write('<a href="'+url+'"><img src="'+arrayToUse[whichImage]+'" alt="'+arrayToUse_alt[whichImage]+'" width="'+width+'" height="'+height+'" border="0" class="'+divclass+'" /></a>');
}

//  End -->


