function toggleMap(e)
{
	mapButton = getElementById('map_button');
	targetDiv = getElementById('areamap');	

	if (targetDiv.style.display=='block')
	{
		targetDiv.style.display='none';
		mapButton.className='off';
	}
	else
	{
		targetDiv.style.display='block';	
		mapButton.className='on';		
	}
}

function initMapHandler()
{
	areaMap = getElementById('map_button');
	mapClose = getElementById('map_close');
	addEvent(areaMap, 'click', toggleMap, false);
	addEvent(mapClose, 'click', toggleMap, false);	
}

addLoadEvent(initMapHandler);