
//____Preload Images_____

preload('usa_off','../../images/insidepage/locations/map/usa.gif');   

preload('usa_on','../../images/insidepage/locations/map/usa_on.gif');

preload('w_europe_off','../../images/insidepage/locations/map/w_europe.gif');   

preload('w_europe_on','../../images/insidepage/locations/map/w_europe_on.gif');

preload('e_europe_off','../../images/insidepage/locations/map/e_europe.gif');   

preload('e_europe_on','../../images/insidepage/locations/map/e_europe_on.gif');

preload('pacific_off','../../images/insidepage/locations/map/pacific.gif');   

preload('pacific_on','../../images/insidepage/locations/map/pacific_on.gif');

preload('south_amer_off','../../images/insidepage/locations/map/south_amer.gif');   

preload('south_amer_on','../../images/insidepage/locations/map/south_amer_on.gif');

preload('n_africa_off','../../images/insidepage/locations/map/n_africa.gif');   

preload('n_africa_on','../../images/insidepage/locations/map/n_africa_on.gif');

preload('s_africa_off','../../images/insidepage/locations/map/s_africa.gif');   

preload('s_africa_on','../../images/insidepage/locations/map/s_africa_on.gif');

function changeImage(layer,imgName,imgObj) {

	if (document.images) {

		//if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src')

		//else

		document.images[imgName].src = eval(imgObj+".src")

	}

}

//this function changes two images

var s_africa_off = new Image();
var s_africa_on = new Image();
var w_europe_off = new Image();
var w_europe_on = new Image();

s_africa_off.src = "../../images/insidepage/locations/s_africa.gif";
s_africa_on.src = "../../images/insidepage/locations/s_africa_on.gif";
w_europe_off.src = "../../images/insidepage/locations/w_europe.gif";
w_europe_on.src = "../../images/insidepage/locations/w_europe_on.gif";

function changeTwoImages(north, south) {
document['north'].src=north;
document['south'].src=south;
}

function changeTwoImagesEur(northeur, southeur) {
document['northeur'].src=northeur;
document['southeur'].src=southeur;
}


//-->