//<![CDATA[
function showMap() {
  if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map"));
    map.addControl(new GLargeMapControl());
    map.setCenter(new GLatLng(-36.380386352539062, 145.401306152343750), 8);

	//	MARKER POINT
	//var point = new GLatLng(-36.361, 145.382);
	//map.addOverlay(new GMarker(point));

	//  POLYLINE
	//var points = [];
	//points.push(new GLatLng(-36.361, 145.382));
	//points.push(new GLatLng(-36.645, 145.202));
	//points.sort(function(p1, p2) {
	//	return p1.lng() - p2.lng();
	//});
	//map.addOverlay(new GPolyline(points));
	
	//  POLYGON
	var points = [];
	points.push(new GLatLng(-35.90243391,144.4074254));
	points.push(new GLatLng(-36.03933858,144.6101445));
	points.push(new GLatLng(-36.07648454,144.6165703));
	points.push(new GLatLng(-36.05153137,144.6259253));
	points.push(new GLatLng(-36.05656975,144.6529039));
	points.push(new GLatLng(-36.07480864,144.6536048));
	points.push(new GLatLng(-36.06210273,144.6895284));
	points.push(new GLatLng(-36.09291278,144.6840173));
	points.push(new GLatLng(-36.08616579,144.7194727));
	points.push(new GLatLng(-36.11314122,144.7179368));
	points.push(new GLatLng(-36.12042637,144.8023601));
	points.push(new GLatLng(-36.05934263,144.8627878));
	points.push(new GLatLng(-36.07931382,144.9634739));
	points.push(new GLatLng(-36.05099781,144.9835299));
	points.push(new GLatLng(-35.98236178,144.9240813));
	points.push(new GLatLng(-35.95293331,144.9542102));
	points.push(new GLatLng(-35.86745182,144.9695435));
	points.push(new GLatLng(-35.82277539,145.1114068));
	points.push(new GLatLng(-35.84183415,145.1693358));
	points.push(new GLatLng(-35.83248075,145.2491616));
	points.push(new GLatLng(-35.86467227,145.3519714));
	points.push(new GLatLng(-35.82678547,145.4479468));
	points.push(new GLatLng(-35.81283758,145.5265544));
	points.push(new GLatLng(-35.88433584,145.631458));
	points.push(new GLatLng(-35.98523418,145.808038));
	points.push(new GLatLng(-35.95347984,145.8938265));
	points.push(new GLatLng(-35.98086448,145.944914));
	points.push(new GLatLng(-36.00967834,145.9720048));
	points.push(new GLatLng(-35.99471151,146.0321866));
	points.push(new GLatLng(-36.02296093,146.1555164));
	points.push(new GLatLng(-36.05463134,146.1969769));
	points.push(new GLatLng(-36.12076322,146.2065367));
	points.push(new GLatLng(-36.13188366,146.2398027));
	points.push(new GLatLng(-36.18098963,146.2408367));
	points.push(new GLatLng(-36.18672935,146.1309919));
	points.push(new GLatLng(-36.25509353,146.1313491));
	points.push(new GLatLng(-36.26417413,146.0328165));
	points.push(new GLatLng(-36.29901875,146.0308059));
	points.push(new GLatLng(-36.29893045,145.7985085));
	points.push(new GLatLng(-36.43896005,145.776219));
	points.push(new GLatLng(-36.4251126,145.7295649));
	points.push(new GLatLng(-36.49847374,145.7320478));
	points.push(new GLatLng(-36.50061167,145.6316818));
	points.push(new GLatLng(-36.56333707,145.63165));
	points.push(new GLatLng(-36.55611652,145.3535842));
	points.push(new GLatLng(-36.64070836,145.3024907));
	points.push(new GLatLng(-36.65250369,145.2094161));
	points.push(new GLatLng(-36.68419994,145.2231801));
	points.push(new GLatLng(-36.68281425,145.1686038));
	points.push(new GLatLng(-36.67557219,145.1685717));
	points.push(new GLatLng(-36.67519791,145.0865856));
	points.push(new GLatLng(-36.65086231,145.0434117));
	points.push(new GLatLng(-36.68202264,145.042689));
	points.push(new GLatLng(-36.66879388,145.016929));
	points.push(new GLatLng(-36.69972248,144.9842657));
	points.push(new GLatLng(-36.69967695,144.9321493));
	points.push(new GLatLng(-36.74696237,144.9322538));
	points.push(new GLatLng(-36.76095526,144.6651289));
	points.push(new GLatLng(-36.72850004,144.6654478));
	points.push(new GLatLng(-36.72503318,144.5178445));
	points.push(new GLatLng(-36.59830729,144.5844171));
	points.push(new GLatLng(-36.48090089,144.6205797));
	points.push(new GLatLng(-36.45310414,144.6701847));
	points.push(new GLatLng(-36.40662666,144.6679766));
	points.push(new GLatLng(-36.40955371,144.4300584));
	points.push(new GLatLng(-36.39718012,144.4141747));
	points.push(new GLatLng(-36.40784971,144.369399));
	points.push(new GLatLng(-36.391346,144.344258));
	points.push(new GLatLng(-36.32780808,144.3318332));
	points.push(new GLatLng(-36.32781324,144.2818404));
	points.push(new GLatLng(-36.12940433,144.2895743));
	points.push(new GLatLng(-36.09737095,144.3186555));
	points.push(new GLatLng(-36.0470389,144.315689));
	points.push(new GLatLng(-35.99489135,144.2765641));
	points.push(new GLatLng(-35.97671735,144.2854199));
	points.push(new GLatLng(-35.92782145,144.2599708));
	points.push(new GLatLng(-35.92230824,144.3503211));
	points.push(new GLatLng(-35.8899609,144.3526159));
	points.push(new GLatLng(-35.90243391,144.4074254));

	//points.sort(function(p1, p2) {
	//	return p1.lng() - p2.lng();
	//});
	map.addOverlay(new GPolygon(points,"#cc0000",2,0.5,"#ffdddd",0.2));

	
  }
}
//addEvent(window, 'load', new Function('showMap()'));
//addEvent(window, 'unload', new Function('GUnload()'));

//]]>
