// JavaScript Document

var imagemaps = new Array() // do not change this
var theImages = new Array() // do not change this
var theURLs = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'images/buildings_03.jpg'
theImages[1] = 'images/beach_03.jpg'
theImages[2] = 'images/arrow_03.jpg'
theImages[3] = 'images/marbles_03.jpg'

imagemaps[0] = '<map name="Map"><area shape="rect" coords="489,106,567,124" href="services_network_da.html" target="_self" alt="Link to Consulting Services page"></map>';
imagemaps[1] = '<map name="Map"><area shape="rect" coords="547,193,618,211" href="services_remote_access.html" target="_self" alt="Link to Remote Management Services page"></map>';
imagemaps[2] = '<map name="Map"><area shape="rect" coords="610,146,693,165" href="services_site_reloc.html" target="_self" alt="Link to Migration Services Page"></map>';
imagemaps[3] = '<map name="Map"><area shape="rect" coords="614,120,690,138" href="casestudies.html" target="_self" alt="Link to Success Stories page"></map>';

// 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]+'" width="757" height="291" border="0" usemap="#Map">');
}

function changeMap(){
	document.write(imagemaps[whichImage]);
}


