google.load("maps", "2");

var map = null;
var map_on_point = null;
var map_on = null;
var map_off = null;
var map_off_point = null;

function initialize() {
	map = new google.maps.Map2(document.getElementById("gmap"));

	map_on_point = new google.maps.LatLng(map_on_point.lat, map_on_point.lng);
	map_on = new GMarker(map_on_point);
	//map_off_point = new google.maps.LatLng(37.15261, 15.19084);
	//map_off = new GMarker(map_off_point);
	
	map.setCenter(map_on_point, 14);
	map.addOverlay(map_on);
	map.setMapType(G_HYBRID_MAP);
	map.addControl(new GLargeMapControl());
}

google.setOnLoadCallback(initialize);

window.onuload = function() { GUnload(); }

function myPoint(lat, lng) {
	obj = new Object();
	obj.lat = lat;
	obj.lng = lng;
	return obj;
}
