function showGmap() {

if (document.getElementById("map")) {

var Gaddres = document.getElementById("map").innerHTML;
var map = new GMap(document.getElementById("map"));
var geocoder = new GClientGeocoder();
var address = Gaddres;

var icon = new GIcon();
icon.image = "/img/design/default/mapicon.gif";
icon.iconSize = new GSize(46, 39);
icon.iconAnchor = new GPoint(23, 39);

  geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
      } else {
        map.setCenter(point, 16);
        var marker = new GMarker(point, icon);
        map.addOverlay(marker);
      }
    }
	);
}

}