// JavaScript Document
$(document).ready(function(){

	$('h1').pngfix();
	$('h2').pngfix();
	$('h4').pngfix();
	
	$('#tracteur').pngfix();
	$('#faucheuse').pngfix();
	$('#entretien').pngfix();
	$('#service').pngfix();
	
	$("#un").click(function(){self.location.href="page1-tracteurs-chargeurs.html"})
	$("#deux").click(function(){self.location.href="page2-faucheuses-tondeuses.html"})
	$("#trois").click(function(){self.location.href="page3-materiels-d-entretien.html"})
	$("#quatre").click(function(){self.location.href="page4-libre-service-petits-materiels.html"})
	

	
	$('#introduction').slideDown(500);
	$('#bandeau_produits').hide();
	$('#bandeau_produits').pause(300);
	$('#bandeau_produits').slideDown(500);
	
	$('#tracteur').slideDown(1000);
	$('#faucheuse').slideDown(1000);
	$('#service').slideDown(1000);
	$('#entretien').slideDown(1000);

	$("#un").hover(function(){  $('#un').animate({className: 'produitf3'},500);}
,function(){ $('#un').animate({className: 'produitf'},100);});

	$("#deux").hover(function(){  $('#deux').animate({className: 'produit3'},500);}
,function(){ $('#deux').animate({className: 'produit'},100);});
	
		$("#trois").hover(function(){  $('#trois').animate({className: 'produit3'},500);}
,function(){ $('#trois').animate({className: 'produit'},100);});

		$("#quatre").hover(function(){  $('#quatre').animate({className: 'produitf3'},500);}
,function(){ $('#quatre').animate({className: 'produitf'},100);});

});