function showRegionPhoto(photo_url,photo_width,photo_height)  {
	if (d = document.getElementById('region_photo'))
	{
		d.style.display = 'none';
		d.setAttribute('src', photo_url);
		d.setAttribute('width', photo_width);
		d.setAttribute('height', photo_height);
		d.style.marginLeft = (150-photo_width)/2 + 'px';
		d.style.marginTop = (150-photo_height)/2 + 'px';
		d.style.display = 'block';
	}
}

function showPlacePhoto(photo_url,photo_width,photo_height)  {
	if (d = document.getElementById('place_photo'))
	{
		d.style.display = 'none';
		d.setAttribute('src', photo_url);
		d.setAttribute('width', photo_width);
		d.setAttribute('height', photo_height);
		d.style.marginLeft = (150-photo_width)/2 + 'px';
		d.style.marginTop = (150-photo_height)/2 + 'px';
		d.style.display = 'block';
	}
}

function hidePlacePhoto(photo_url,photo_width,photo_height)  {
	if (d = document.getElementById('place_photo'))
	{
		d.style.display = 'none';
		d.setAttribute('src', photo_url);
		d.setAttribute('width', 150);
		d.setAttribute('height', 150);
		d.style.marginLeft = 0 + 'px';
		d.style.marginTop = 0 + 'px';
		d.style.display = 'block';
	}
}

function showPlaceMap(id) {
	if (d = document.getElementById(id))
	{
		if (d.className=='placeover') d.className = "placeover2";
		else d.className = "placeover";
	}
}

function showPlaceGMap(id) {
	var marker = markers[id];
	if (marker!=null) GEvent.trigger(marker, "mouseover");
	return false;	
}

