var iniMap = function(myLat,myLng) {
	var stylez = [
		{stylers: [{ saturation: -100 }]},
		{
			featureType: "water",
			stylers: [{ saturation: 60 }]
		},
		{
			featureType: "transit.station.rail",
			stylers: [
				{ hue: "#ff0091" },
				{ saturation: 100 }
			]
		}
	];

	var myLatLng = new google.maps.LatLng(myLat, myLng);	

	var myOptions = {
		zoom: 14,
		center: myLatLng,
		mapTypeControl: true,
		zoomControl: true,
		zoomControlOptions: {
			style: google.maps.ZoomControlStyle.LARGE
		},
		streetViewControl: false,
		mapTypeId: google.maps.MapTypeId.ROADMAP
	};
	
	var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
	var image = 'img/pointer.png';
	var marker = new google.maps.Marker({
		position: myLatLng,
		map: map,
		icon: image
	});
	
	var contentString = '<div class="mapInfobulleBloc"><div class="mapInfobulleBlocTitre"><img src="img/logo.jpg" /></div></div>';
	var infowindow = new google.maps.InfoWindow({
		content: contentString,
		pixelOffset: {width:10, height:45}
	});
	
	google.maps.event.addListener(marker, 'click', function() {
		infowindow.open(map,marker);
	});

	var styledMapOptions = {
		name: "biomup"
	}

	var jayzMapType = new google.maps.StyledMapType(stylez, styledMapOptions);

	map.mapTypes.set('biomup', jayzMapType);
	map.setMapTypeId('biomup');
}
