// JavaScript Document
//top random links
//This is for the links
var TravelCoverLink = new Array() // do not change this
TravelCoverLink[0] = 'buildings_insurance.html'
TravelCoverLink[1] = 'allrisks_insurance.html'
TravelCoverLink[2] = 'money_insurance.html'
TravelCoverLink[3] = 'watercraft_insurance.html'
TravelCoverLink[4] = 'travel_insurance.html'
// this is for the images
var TravelCover = new Array() // do not change this
TravelCover[0] = 'pics/rightcol/toprandom/rightcoltop-rand-1.jpg'
TravelCover[1] = 'pics/rightcol/toprandom/rightcoltop-rand-2.jpg'
TravelCover[2] = 'pics/rightcol/toprandom/rightcoltop-rand-3.jpg'
TravelCover[3] = 'pics/rightcol/toprandom/rightcoltop-rand-4.jpg'
TravelCover[4] = 'pics/rightcol/toprandom/rightcoltop-rand-5.jpg'
var j = 0
var p = TravelCover.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = TravelCover[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage1(){
document.write('<a href="'+TravelCoverLink[whichImage]+'">');
document.write('<img border="0" src="'+TravelCover[whichImage]+'">');
document.write('</a>');
}
//Bottom random links
//This is for the links
var PropertEquipCoverLink = new Array() // do not change this
PropertEquipCoverLink[0] = 'contents_insurance.html'
PropertEquipCoverLink[1] = 'personal_effects_insurance.html'
PropertEquipCoverLink[2] = 'trailer_insurance.html'
PropertEquipCoverLink[3] = 'motor_insurance.html'
PropertEquipCoverLink[4] = 'minibus_insurance.html'
// this is for the images
var PropertEquipCover = new Array() // do not change this
PropertEquipCover[0] = 'pics/rightcol/bottomrandom/rightcolbottom-rand-1.jpg'
PropertEquipCover[1] = 'pics/rightcol/bottomrandom/rightcolbottom-rand-2.jpg'
PropertEquipCover[2] = 'pics/rightcol/bottomrandom/rightcolbottom-rand-3.jpg'
PropertEquipCover[3] = 'pics/rightcol/bottomrandom/rightcolbottom-rand-4.jpg'
PropertEquipCover[4] = 'pics/rightcol/bottomrandom/rightcolbottom-rand-5.jpg'
var j = 0
var p = PropertEquipCover.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = PropertEquipCover[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage2(){
document.write('<a href="'+PropertEquipCoverLink[whichImage]+'">');
document.write('<img border="0" src="'+PropertEquipCover[whichImage]+'">');
document.write('</a>');
}


