
function resetzoom()
{
//map.setZoom(mapZoom);
MoveTo(0,mapZoom);
}

function puticons() {


var txtHide = "Hide Icons";
var txtShow = "Show Icons";


if (blnIcons) {
	for (var x = 0; x<i; x++) {
	map.removeOverlay(gmarkers[x]);  
	} 
	document.getElementById("showhide").innerHTML = txtShow;
	blnIcons = false;
	}   			
	else {
	blnIcons = true;
		for (var x = 0; x<i; x++) {
		map.addOverlay(gmarkers[x]);  
		} 

	document.getElementById("showhide").innerHTML = txtHide;
	}		
}



			
function MoveTo(fID,fZoom)
{
// Move to a point
//alert(LatOffset[fID]);

map.setCenter(new GLatLng( (Lat[fID] + LatOffset[fID]), (Lng[fID] + LngOffset[fID]) ));
//map.setCenter(new GLatLng( Lat[fID] ,Lng[fID]));
map.setZoom(fZoom)

}
			






function getinfo()
{
var infotext = "Center: " + map.getCenter();
infotext = infotext + "\n\rZoom: " + map.getZoom();
alert (infotext);

}