function init_map() {
	var latlng = new google.maps.LatLng(45.855126,-1.169286);
	// Origins, anchor positions and coordinates of the marker
	// increase in the X direction to the right and in
	// the Y direction down.
	var image = new google.maps.MarkerImage('img/mouette.png',
		// This marker is 20 pixels wide by 32 pixels tall.
		new google.maps.Size(40, 28),
		// The origin for this image is 0,0.
		new google.maps.Point(0,0));
	var shadow = new google.maps.MarkerImage('img/panneau_terminus.png',
		// The shadow image is larger in the horizontal dimension
		// while the position and offset are the same as for the main image.
		new google.maps.Size(137, 57),
		new google.maps.Point(0,0),
		new google.maps.Point(65, 75));
		// Shapes define the clickable region of the icon.
		// The type defines an HTML <area> element 'poly' which
		// traces out a polygon as a series of X,Y points. The final
		// coordinate closes the poly by connecting to the first
		// coordinate.
	var shape = {
		coord: [0, 5, 8, 0, 12, 0, 50, 12, 21, 29, 13, 29],
		type: 'poly'
	};
	var myOptions = {
		zoom: 14,
		center: latlng,
		scrollwheel: false,
		mapTypeId: google.maps.MapTypeId.ROADMAP,
		mapTypeControl: false,
		navigationControl: false,
		navigationControlOptions: {
		position: google.maps.ControlPosition.LEFT
	}  
	
};

map = new google.maps.Map(document.getElementById("map"), myOptions);

var marker = new google.maps.Marker({
	position: latlng,
	map: map,
	shadow: shadow,
	icon: image,
	shape: shape,
	title:"Hotel Restaurant Le Terminus"
});

google.maps.event.addListener(map, 'zoom_changed', function() {
	setTimeout(moveToTerminus, 3000);
});

}

function moveToTerminus() {
var terminus = new google.maps.LatLng(45.855126,-1.169286);
map.setCenter(terminus);
}
