// When the DOM is loaded, initilize initPage
var selectedcountry = '';
var mapas=new Array(2);
mapas[0] = 'mp_map';
mapas[1] = 'mi_map';
DOMAssistant.DOMReady(initPage);

function initPage() { //OPEN1
	var mapa = $$('mp_map');

	// Check if map exists
	if(mapa) { //OPEN3
		// Get all the areas of the imagemap
		var country_list = mapa.getElementsByTagName('AREA');
		
		// Loop through all areas
		for(var i=0; i<country_list.length; i++) { //OPEN4
			//--- $(country_list[i]).style.display = 'none';
			document.getElementById(country_list[i].id).style.display = 'none';
		} // OPEN4
	} // OPEN3
//} // OPEN2




	var mapb = $$('mi_map');
	// Check if map exists
	if(mapb) { //OPEN3

		// Get all the areas of the imagemap
		var country_list = mapb.getElementsByTagName('AREA');

		// Loop through all areas
		for(var i=0; i<country_list.length; i++) { //OPEN4
			//--- $(country_list[i]).style.display = 'none';
			document.getElementById(country_list[i].id).style.display = 'none';
		} // OPEN4
	} // OPEN3
//} // OPEN2


} // OPEN1

