$(document).ready(function() {
	
// Einblenden
	var $fadeInFunction = $('.fadeInFunction');
	$fadeInFunction.each(function(index){
		$(this).hide();
		$(this).delay(250*index).fadeIn(500);	  
	});	

// Personen
	$(".person-info").hide();
	$(".person").hover(
		function(){$(this).children(".person-info").show();},
		function(){$(this).children(".person-info").hide();}
	);
	
// Projekte
	$(".project").hover(
		function(){
			$(this).children(".project-image").stop().animate({ top: -168 }, 'fast');
			$(this).children(".project-description").stop().animate({ top: 0 }, 'fast');
			},
		function(){
			$(this).children(".project-image").stop().animate({ top: 0 }, 'fast');
			$(this).children(".project-description").stop().animate({ top: 168 }, 'fast');
			}
		);
	
// Google Map
	$("#googleMap").gMap({ markers: [{ 
		address: "Laura-Schradin-Weg 22, 72762 Reutlingen, Germany",
		html: '<p><a href="http://maps.google.com/maps?f=q&source=s_q&hl=de&geocode=&q=Laura-Schradin-Weg+22,+72762+Reutlingen&aq=&sll=47.946412,9.379159&sspn=0.012777,0.033023&ie=UTF8&hq=&hnear=Laura-Schradin-Weg+22,+Reutlingen+72762+Reutlingen,+Baden-W%C3%BCrttemberg,+Deutschland&z=17&iwloc=r0" target="_blank">Standort Reutlingen</a></p>' },
		{ address: "Fabrikweg 6, 88356 Ostrach, Germany",
		html: '<a target="_blank" href="http://maps.google.com/maps?hl=de&client=firefox-a&q=maps+fabrikweg+6+ostrach&ie=UTF8&hq=fabrikweg+6+ostrach&hnear=&z=16&iwloc=A">Standort Ostrach</a>' }],
		address: "Pfronstetten, Germany",
		zoom: 7,			   
	});	
		
});
