$(document).ready(function(){



	$('.nom_continent').click(function() {
		$.ajax({
      url: '/ajax/partenaires.php',
			type: 'POST',
			data: 'continent='+$(this).attr('id'),
			
			error: function() {
				alert('Probleme de connexion. Veuillez actualiser la page courante (F5)');
			},

			success: function( retour ){	
				$('.pop_continent').remove();
				$('.pop_pays').remove();
				//$('.dstyle').style
				
				$('#conteneurPopins').append(retour);
				
				$('.open').click(function() {
					$('.pop_continent').hide();
					$('.pop_up').hide();
					$('#popup_'+$(this).attr('id')).show();
				});
				$(".close").click(function(){ 
					$(".pop_pays").hide();
				});
				
				$(".closeCont").click(function(){ 
					$(".pop_continent").hide();
				});

			}
		})
	});


   $('.open').click(function() {
      $('.pop_continent').hide();
      $('.pop_up').hide();
      $('#popup_'+$(this).attr('id')).show();		
   });
   

	$(".close").click(function(){ 
      $(this).parent().parent().hide();
   });




/*
FIN DE LA PAGE UNIVERSITES PARTENAIRES
*/

/*LA PAGE UNIVERSITES STAGES*/
   $('.show').click(function(){
      $('.popin').hide();
      $('#popin_'+$(this).attr('id')).show();
   });   
 


});/*fin de document.ready*/
