<!-- Begin

// random image generator for generic banner image

// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = '/images/headers/generic_header_1.jpg'
theImages[1] = '/images/headers/generic_header_2.jpg'
theImages[2] = '/images/headers/generic_header_3.jpg'
theImages[3] = '/images/headers/generic_header_4.jpg'

// 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('<img src="'+theImages[whichImage]+'">');
}
// end random generic image generator



// random image generator for homepage banner image

// Set up the image files to be used.
var theHomepageImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theHomepageImages[0] = '/images/headers/home_header_1.jpg'
theHomepageImages[1] = '/images/headers/home_header_2.jpg'
theHomepageImages[2] = '/images/headers/home_header_3.jpg'
theHomepageImages[3] = '/images/headers/home_header_4.jpg'

// do not edit anything below this line

var j = 0
var p = theHomepageImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theHomepageImages[i]
}
var whichHomepageImage = Math.round(Math.random()*(p-1));
function showHomepageImage(){
document.write('<img src="'+theHomepageImages[whichHomepageImage]+'">');
}
// end random homepage image generator



// random image generator for swimming banner image

// Set up the image files to be used.
var theSwimmingImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theSwimmingImages[0] = '/images/headers/swimming_header_1.jpg'

// do not edit anything below this line

var j = 0
var p = theSwimmingImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theSwimmingImages[i]
}
var whichSwimmingImage = Math.round(Math.random()*(p-1));
function showSwimmingImage(){
document.write('<img src="'+theSwimmingImages[whichSwimmingImage]+'">');
}
// end random swimming image generator



// random image generator for NaRS banner image

// Set up the image files to be used.
var theNaRSImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theNaRSImages[0] = '/images/headers/nars_header_1.jpg'

// do not edit anything below this line

var j = 0
var p = theNaRSImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theNaRSImages[i]
}
var whichNaRSImage = Math.round(Math.random()*(p-1));
function showNaRSImage(){
document.write('<img src="'+theNaRSImages[whichNaRSImage]+'">');
}
// end random NaRS image generator



// random image generator for aquacise banner image

// Set up the image files to be used.
var theAquaciseImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theAquaciseImages[0] = '/images/headers/aquacise_header_1.jpg'

// do not edit anything below this line

var j = 0
var p = theAquaciseImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theAquaciseImages[i]
}
var whichAquaciseImage = Math.round(Math.random()*(p-1));
function showAquaciseImage(){
document.write('<img src="'+theAquaciseImages[whichAquaciseImage]+'">');
}
// end random aquacise image generator



// random image generator for badge scheme banner image

// Set up the image files to be used.
var theBadgeSchemeImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theBadgeSchemeImages[0] = '/images/headers/badgescheme_header_1.jpg'

// do not edit anything below this line

var j = 0
var p = theBadgeSchemeImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theBadgeSchemeImages[i]
}
var whichBadgeSchemeImage = Math.round(Math.random()*(p-1));
function showBadgeSchemeImage(){
document.write('<img src="'+theBadgeSchemeImages[whichBadgeSchemeImage]+'">');
}
// end random badge scheme image generator



// random image generator for rugby banner image

// Set up the image files to be used.
var theRugbyImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theRugbyImages[0] = '/images/headers/rugby_header_1.jpg'

// do not edit anything below this line

var j = 0
var p = theRugbyImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theRugbyImages[i]
}
var whichRugbyImage = Math.round(Math.random()*(p-1));
function showRugbyImage(){
document.write('<img src="'+theRugbyImages[whichRugbyImage]+'">');
}
// end random rugby image generator



// random image generator for Parents banner image

// Set up the image files to be used.
var theParentsImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theParentsImages[0] = '/images/headers/parents_header_1.jpg'

// do not edit anything below this line

var j = 0
var p = theParentsImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theParentsImages[i]
}
var whichParentsImage = Math.round(Math.random()*(p-1));
function showParentsImage(){
document.write('<img src="'+theParentsImages[whichParentsImage]+'">');
}
// end random Parents image generator



// random image generator for first aid banner image

// Set up the image files to be used.
var theFirstAidImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theFirstAidImages[0] = '/images/headers/firstaid_header_1.jpg'

// do not edit anything below this line

var j = 0
var p = theFirstAidImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theFirstAidImages[i]
}
var whichFirstAidImage = Math.round(Math.random()*(p-1));
function showFirstAidImage(){
document.write('<img src="'+theFirstAidImages[whichFirstAidImage]+'">');
}
// end random first aid image generator





//  End -->