// JavaScript Document
function initialize($store) {

	switch($store)
	{
	case 45:
	  $storeLatLon = new GLatLng(-31.904794602636514, 115.80881595611572);
	  break;    
	case 44:
	  $storeLatLon = new GLatLng(-31.771794724084394, 115.78104972839355);
	  break;
	case 46:
	  $storeLatLon = new GLatLng(-31.861940583554563, 115.87917566299438);
	  break;
	case 47:
	  $storeLatLon = new GLatLng(-32.53501915908447, 115.73304891586304);
	  break;
	case 48:
	  $storeLatLon = new GLatLng(-33.34124865340473, 115.65243244171143);
	  break;
	case 49:
	  $storeLatLon = new GLatLng(-32.2697892054279, 115.74894905090332);
	  break;
	case 50:
	  $storeLatLon = new GLatLng(-32.027033745797404, 115.94891309738159);
	  break;
	case 51:
	  $storeLatLon = new GLatLng(-31.89297165470907, 116.02227687835693);
	  break;
	case 52:
	  $storeLatLon = new GLatLng(-32.040276397505394, 115.82276344299316);
	  break;
	}	

	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map"));
		map.setCenter($storeLatLon, 16);
		map.addOverlay(new GMarker($storeLatLon));
		map.addControl(new GSmallZoomControl3D());
	}
}