// JavaScript Document

function Sizing()
{
	var Content = document.getElementById('Content');
	var Menu = document.getElementById('Menu');
	
	if (Content.clientHeight)
	{
		if (Content.clientHeight<Menu.clientHeight)
		{
			Content.style.height = Menu.clientHeight+"px";
		}
		else if (Content.clientHeight>Menu.clientHeight)
		{
			Menu.style.height = Content.clientHeight+"px";
		}
	}
	
}

function GoogleMap()
{
	var tmp = document.getElementById("map"); 
	try
	{
		if (tmp)
		{
			if (GBrowserIsCompatible && GBrowserIsCompatible()) 
			{
					var map = new GMap2(tmp); 
					
					map.addControl(new GLargeMapControl());
					map.setCenter(new GLatLng(parseFloat("-37.846250"),parseFloat("144.982567")), 15);
					var point = new GPoint(parseFloat("144.982567"),parseFloat("-37.846250"));
					var marker = new GMarker(point);
					GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml("<strong>Alfred Radiology</strong><br /><em>The Alfred Hospital</em><br />Commercial Road<br />Prahran<br />Victoria");});
					map.addOverlay(marker);
			}
		}
	}
	catch (err)
	{
		//tmp.style.display='none';
	}

}
