﻿function setImagemapSource (imgUrl) {  			
	var img = document.getElementById("world");
	//var countries = document.getElementById("continent_info");
	//alert(imgUrl);
	img.src = imgUrl;
}

function changeContent(id,continent) {
	if (document.getElementById || document.all) {
		var el = document.getElementById? document.getElementById(id): document.all[id];
		if (typeof el.innerHTML != "undefined") {
			var continentLayer = document.getElementById(continent);
			if (continentLayer) {
				el.innerHTML = continentLayer.innerHTML;
			}
		}
		
		// Jonas 081003 This was causing problems and there was no need for it as far as i could tell..
		//var el2 = document.getElementById? document.getElementById('continent_info'): document.all[id];
		//compensateForDynamicHeight(el2);   

		// recalculate height of containers
		setTall('equalheight', document, '*');       					
	}
	

}		



