function ShowVPOMap(address,formattedAddress) {

    var point = new google.maps.LatLng(50.875311, 0.351563);

    var myMapOptions = {
        zoom: 15,
        mapTypeId: google.maps.MapTypeId.TERRAIN
    };

    var map = new google.maps.Map(document.getElementById("map"), myMapOptions);


    var image = new google.maps.MarkerImage(
    '/app_themes/skin_1/marker-images/image.png',
    new google.maps.Size(16, 16),
    new google.maps.Point(0, 0),
    new google.maps.Point(8, 16)
  );

    var shadow = new google.maps.MarkerImage(
    '/app_themes/skin_1/marker-images/shadow.png',
    new google.maps.Size(28, 16),
    new google.maps.Point(0, 0),
    new google.maps.Point(8, 16)
  );

    var shape = {
        coord: [13, 0, 14, 1, 15, 2, 15, 3, 15, 4, 15, 5, 15, 6, 15, 7, 15, 8, 15, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 14, 15, 2, 15, 1, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 9, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 1, 0, 13, 0],
        type: 'poly'
    };

    var geocoder = new google.maps.Geocoder();

    var marker
    var addresstext 
//    alert(address);
    


   

    //alert(formattedAddress);
  
    geocoder.geocode({ 'address': address }, function (results, status) {
        if (status == google.maps.GeocoderStatus.OK) {
            var markerlocation = results[0].geometry.location;
            map.setCenter(markerlocation);
            marker = new google.maps.Marker({
                draggable: false,
                raiseOnDrag: false,
                icon: image,
                shadow: shadow,
                shape: shape,
                map: map,
                position: markerlocation
            });
             var infowindow = new google.maps.InfoWindow({
			content: formattedAddress
 			});   
	     google.maps.event.addListener(marker, 'click', function() {
			     infowindow.open(map,marker);
		});

        } else {
            alert("Geocode was not successful for the following reason: " + status);
        }
    });

	 

}
