<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
var theLinks = new Array() // do not change this

// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'sister_banner.jpg'
theImages[1] = 'les_mis.gif'
theImages[2] = 'lionbanner.gif'
theImages[3] = 'oliver_banner.jpg'
theImages[4] = 'loveneverdies.gif'
theImages[5] = 'wicked.gif'
theImages[6] = 'wizoz_banner.jpg'

theLinks[0] = '/packages-theatre/sisteract.htm'
theLinks[1] = '/packages-theatre/les-miserables.html'
theLinks[2] = '/packages-theatre/lion-king.html'
theLinks[3] = '/packages-theatre/oliver!.htm'
theLinks[4] = '/packages-theatre/loveneverdies.htm'
theLinks[5] = '/packages-theatre/wicked.html'
theLinks[6] = '/packages-theatre/wiz-oz.htm'
// do not edit anything below this line

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('<a href="'+theLinks[whichImage]+'"><img border=0 class="img-advert" width="468" height="60" src="/images/ads/'+theImages[whichImage]+'"></a>');

}
