var map = null;
var geocoder = null;

function map_goto (address) 
{
geocoder.getLatLng(
address,
function(point) {
if (point) {
map.setCenter(point,12);

}
}
);
}


function map_marker (address, title, text, image) 
{
geocoder.getLatLng(
address,
function(point) 
{
if (!point) {
//alert(address + " not found");
} else {
var description = "" + title + "" + text + "";
var mo = new Object();
mo.title = description;
mo.clickable = true;
var marker = new GMarker(point, mo);
map.addOverlay(marker);
GEvent.addListener(map, "click", function(marker, point) {
if (marker) {
marker.openInfoWindowHtml(marker.getTitle());
}
}
);
}
}
);
}


