var QueryTesto = "Ricerca un termine ...";
var map = null;    
var geocoder = null;

function QueryOnLoad(nome){
var thisObj=document.getElementById(nome);
thisObj.value = QueryTesto;
}

function QueryOnBlur(thisObj){
if(thisObj.value.length == 0){ thisObj.value = QueryTesto; }else{}
}

function QueryOnClick(thisObj){
if(thisObj.value == QueryTesto){ thisObj.value = ""; }else{ }
}

function initialize() {
if (GBrowserIsCompatible()) {
 var address = "Del Progresso 37,36100,Vicenza, Italy";
 var addressText = "<span style='font-size:9px;color:black;'><b>Marilyn Club Privè</b><br>Via. Del Progresso n.37, Vicenza</span>";
 map = new GMap2(document.getElementById("map"));
 geocoder = new GClientGeocoder();

 map.addControl(new GLargeMapControl());
 map.addControl(new GMapTypeControl());


  if (geocoder) {        
     geocoder.getLatLng(address,function(point) { 
      if (!point) {
	alert(address + " not found");
      } else {
	var marker = new GMarker(point);
	map.clearOverlays();
	map.setCenter(point, 13);
	map.addOverlay(marker);
	marker.openInfoWindowHtml(addressText);
      }});}
      
}}
