function mMap(containerId,lat,lng,initdisplay){
this.ContainerId = containerId;
this.Lat = lat;
this.Lng = lng;
this.ShowHideClicks=0;
this.InitDisplay= initdisplay;
if (initdisplay!='none')
	{addLoadEvent(this.initialize);}


mMap.prototype.initialize= function (){
if (GBrowserIsCompatible()) {
	 
	this.Map = new GMap2(document.getElementById(this.ContainerId ));
	
	//this.Map.setMapType(G_SATELLITE_MAP);
		if (this.Lat){
		 this.Loc = new GLatLng( this.Lat , this.Lng);
		 
		 this.Map.setCenter(this.Loc , 8);
		 this.Marker= new GMarker(this.Loc );
		 this.Map.addOverlay( this.Marker );
		
		}else {
		
			this.Map.setCenter(new GLatLng( 37.939010 , 23.654637), 11);
		}
	
	this.Map.setUIToDefault();
	}
};


mMap.prototype.showhide= function (){
	 
if ((this.InitDisplay=='none') && (this.ShowHideClicks==0)){
	 
	this.initialize();
	}
this.ShowHideCLicks+=1;
};



	
}

