var theImages = new Array()
theImages[0] = '/templates/default/images/rotate/rotate1.jpg'
theImages[1] = '/templates/default/images/rotate/rotate2.jpg'
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));
var theImages1 = new Array()
theImages1[0] = '/templates/default/images/rotate/rotate3.jpg'
theImages1[1] = '/templates/default/images/rotate/rotate4.jpg'
var j1 = 0
var p1 = theImages1.length;
var preBuffer1 = new Array()
for (i = 0; i < p1; i++){
   preBuffer1[i] = new Image()
   preBuffer1[i].src = theImages1[i]
}
var whichImage1 = Math.round(Math.random()*(p1-1));
var theImages2 = new Array()
theImages2[0] = '/templates/default/images/rotate/rotate5.jpg'
theImages2[1] = '/templates/default/images/rotate/rotate6.jpg'
var j2 = 0
var p2 = theImages2.length;
var preBuffer2 = new Array()
for (i = 0; i < p2; i++){
   preBuffer2[i] = new Image()
   preBuffer2[i].src = theImages2[i]
}
var whichImage2 = Math.round(Math.random()*(p2-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" title="Magazine Subscriptions Up to 90% off the newstand cost" alt="Magazine Subscriptions Up to 90% off the newstand cost">');
document.write('<img src="'+theImages1[whichImage1]+'" title="Magazine Subscriptions Up to 90% off the newstand cost" alt="Magazine Subscriptions Up to 90% off the newstand cost">');
document.write('<img src="'+theImages2[whichImage2]+'" title="Magazine Subscriptions Up to 90% off the newstand cost" alt="Magazine Subscriptions Up to 90% off the newstand cost">');
}