$(document).ready(function(){
	
	if (document.getElementById("mapHollerich"))
	{
		$('body').ready(function (){
			var latHoll = new google.maps.LatLng(49.602395,6.120195);
			var options = {
			  zoom: 16,
			  center: latHoll,
			  mapTypeId: google.maps.MapTypeId.ROADMAP
			};
			var mapHoll = new google.maps.Map(document.getElementById("mapHollerich"), options);
				
			var markerHoll = new google.maps.Marker({
				position: latHoll,
				map: mapHoll,
				titleHoll: "Foto trade Hollerich"
			});
			var infowindow = new google.maps.InfoWindow({
			  content: 'Foto trade Hollerich'
			});
		});
	}
	
	if (document.getElementById("mapGasperich"))
	{
	$('body').ready(function (){
		var latlng = new google.maps.LatLng(49.5947551,6.1171501);
		var myOptions = {
		  zoom: 16,
		  center: latlng,
		  mapTypeId: google.maps.MapTypeId.ROADMAP
		};
		var map = new google.maps.Map(document.getElementById("mapGasperich"),
			myOptions);
			
		var marker = new google.maps.Marker({
			position: latlng,
			map: map,
			title: "Foto trade Gasperich"
		});
		var infowindow = new google.maps.InfoWindow({
		  content: 'Foto trade Gasperich'
		});
	});
	}
	
	$('.etapes').hover(function () {
		$(this).children('.numero').animate({
			width: '58px',
			height: '59px',
			'margin-top' : '10px'
		},200);
		$(this).children('.separateur').animate({
					width: '218px'
		},400);		
		$(this).children('.supEtape').fadeIn(600);
	}, function(){
		
		$(this).children('.supEtape').hide();					
		$(this).children('.separateur').animate({width:'0px'},400);
		$(this).children('.numero').animate({width:'126px', height: '126px', 'margin-top': '35px'},200);
	});

		$('.hft img').each(function() {
			$(this).hover(function() {
				$(this).stop().animate({ opacity: 0.6 }, 800);
			},
			function() {
				$(this).stop().animate({ opacity: 1.0 }, 800);
			});
		});
		
		style = 'easeOutQuart';		
			$('.hft').hover(
			function() {
				$(this).children('div:last').stop(false,true).animate({bottom:0},{duration:800, easing: style});
			},
			function() {
				$(this).children('div:last').stop(false,true).animate({bottom:-150},{duration:800, easing: style});
			}
		);
});
