$(document).ready(
	function(){
		
		jQuery('a#voir_tarifs').click(
			function() 
			{ 
		    	jQuery.blockUI(
		    		{
		    			message: $('#tarifs_container'),
		    			overlayCSS: { backgroundColor: '#000', opacity: '.65', cursor: 'auto' },
		    			css: 
		    			{ 
		    				backgroundColor: '#000', 
		    				border: 'none',
							top: '58px', 
            				left: (jQuery(window).width() - 520) /2 + 'px',
            				width: '520px',
            				cursor: 'auto'
        				}  
		    		} 
		    	);
			}
		) 
		
		jQuery('#tarifs_container_closer').click(
			function() 
			{ 
		    	jQuery.unblockUI();
			}
		)
		
		jQuery("a#voir_legal").click(
			function()
			{
				jQuery.blockUI(
		    		{
		    			message: $('#legal_container'),
		    			overlayCSS: { backgroundColor: '#000', opacity: '.65', cursor: 'auto' },
		    			css: 
		    			{ 
		    				backgroundColor: '#000', 
		    				border: 'none',
							top:  '155px', 
            				left: (jQuery(window).width() - 320) /2 + 'px',
            				width: '320px',
            				cursor: 'auto'
        				}  
		    		} 
		    	);
			}
		)

		jQuery('#legal_container_closer').click(
			function() 
			{ 
		    	jQuery.unblockUI();
			}
		)
		
		jQuery("a#voir_contact").click(
			function()
			{
				jQuery.blockUI(
		    		{
		    			message: $('#contact_container'),
		    			overlayCSS: { backgroundColor: '#000', opacity: '.65', cursor: 'auto' },
		    			css: 
		    			{ 
		    				backgroundColor: '#000', 
		    				border: 'none',
							top: '130px', 
            				left: (jQuery(window).width() - 490) /2 + 'px',
            				width: '490px',
            				cursor: 'auto'
        				}  
		    		} 
		    	);
			}
		)

		jQuery('#contact_container_closer').click(
			function() 
			{ 
		    	jQuery.unblockUI();
			}
		)
		
		jQuery("a#voir_devis").click(
			function()
			{
				jQuery.blockUI(
		    		{
		    			message: $('#devis_container'),
		    			overlayCSS: { backgroundColor: '#000', opacity: '.65', cursor: 'auto' },
		    			css: 
		    			{ 
		    				backgroundColor: '#000', 
		    				border: 'none',
							top: '70px', 
            				left: (jQuery(window).width() - 490) /2 + 'px',
            				width: '490px',
            				cursor: 'auto'
        				}  
		    		} 
		    	);
			}
		)

		jQuery('#devis_container_closer').click(
			function() 
			{ 
		    	jQuery.unblockUI();
			}
		)
		
		jQuery("a#voir_zones, a#voir_zones2").click(
			function()
			{
				jQuery.blockUI(
		    		{
		    			message: $('#zones_container'),
		    			overlayCSS: { backgroundColor: '#000', opacity: '.65', cursor: 'auto' },
		    			css: 
		    			{ 
		    				backgroundColor: '#000', 
		    				border: 'none',
							top: '130px', 
            				left: (jQuery(window).width() - 400) /2 + 'px',
            				width: '400px',
            				cursor: 'auto'
        				}  
		    		} 
		    	);
			}
		)

		jQuery('#zones_container_closer').click(
			function() 
			{ 
		    	jQuery.unblockUI();
			}
		)
		
	}
	
);

