
$(document).ready(function() {
	
	var ypointer=1;
	$('#slide2').hide();
	$('#slide3').hide();
	$('#bilgi1').hide();
	$('#bilgi2').hide();
	$('#bilgi3').hide();
	$('#bilgi1').fadeIn("slow");

$(".slide_mini_thumbnail_1").hover(function() {
	$('#slide1').fadeIn("slow");
	$('#bilgi1').fadeIn("slow");
	
	$('#slide2').fadeOut("slow");
	$('#slide3').fadeOut("slow");
	
	$('#bilgi2').fadeOut("slow");
	$('#bilgi3').fadeOut("slow");
	
	if(ypointer==2){$(".slide_pointer").animate({"top": "-=75px"}, "slow");}//ok
	if(ypointer==3){$(".slide_pointer").animate({"top": "-=150px"}, "slow");}//ok
	ypointer=1;
});


$(".slide_mini_thumbnail_2").hover(function() {
	$('#slide2').fadeIn("slow");
	$('#bilgi2').fadeIn("slow");
	
	$('#bilgi1').fadeOut("slow");
	$('#bilgi3').fadeOut("slow");
	
	$('#slide1').fadeOut("slow");
	$('#slide3').fadeOut("slow");
	
	if(ypointer==1){$(".slide_pointer").animate({"top": "+=75px"}, "slow");}  //ok
	if(ypointer==3){$(".slide_pointer").animate({"top": "-=75px"}, "slow");} //ok
	ypointer=2;
	
});


$(".slide_mini_thumbnail_3").hover(function() {
	$('#slide3').fadeIn("slow");
	$('#bilgi3').fadeIn("slow");
	
	$('#bilgi1').fadeOut("slow");
	$('#bilgi2').fadeOut("slow");
	
	$('#slide2').fadeOut("slow");
	$('#slide1').fadeOut("slow");
	
	if(ypointer==1){$(".slide_pointer").animate({"top": "+=150px"}, "slow");}//ok
	if(ypointer==2){$(".slide_pointer").animate({"top": "+=75px"}, "slow");}//ok
	ypointer=3;
});

	});
