var theImages = new Array()

theImages[0] = '<a href="/testimonials/"><img src="/img/sportmobile-footer1.png"></a>'
theImages[1] = '<a href="/testimonials/"><img src="/img/sportmobile-footer1.png"></a>'
theImages[2] = '<a href="/testimonials/"><img src="/img/sportmobile-footer3.png"></a>'
theImages[3] = '<a href="/latestphones/blackberry/"><img src="/img/sportmobile-footer4.png"></a>'
theImages[4] = '<a href="/latestphones/apple/"><img src="/img/sportmobile-footer5.png"></a>'
theImages[5] = '<a href="/ourpartners/"><img src="/img/sportmobile-footer6.png"></a>'
theImages[6] = '<a href="/tariffs/goldpackage/"><img src="/img/sportmobile-footer7.png"></a>'
theImages[7] = '<a href="/testimonials/"><img src="/img/sportmobile-footer8.png"></a>'


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(){
document.write(theImages[whichImage]);
}

