		var delai = 200;
		var taille = 85;
		var arrboites = new Array();
		$(document).ready( function() {
			$('#sous_menu_portfolio li:last').css('margin-right','0');
			
			if ($('#zoneboites').length > 0) {
				$('#zoneboites>a').each(function(){
					var arrdata = new Array();
					arrdata['id'] = $(this).attr('id');
					arrdata['y'] = $(this).position().top;
					arrdata['x'] = $(this).position().left;
					arrdata['sy'] = $(this).height();
					arrdata['sx'] = $(this).width();
					arrboites.push(arrdata);
				});
				
				$('#zoneboites>a').hover(overBox, outBox);
				
				$('#popup>#projet>a#fermer').live('click', function() {
					$('#popup').hide();
					$('#popup').remove();
					return false;
				})
					
				/*	.live() pose problème avec IE 7
				 *	Ajout d'une condition avec $.broswer et $.browser.version
				 *	pour enlever le return false - Gabriel 5 juil 2010
				 *	À voir : Essayer la nouvelle méthode delegate() [jQuery 1.4.2 seulement]	
				 */ 
				$('a.btprojet').live('click', function(){
					var strurl = window.location.pathname;
					strurl = '/ajax' + strurl.substring(0, strurl.lastIndexOf('/')) + '/' + $(this).attr('href');

					$.get(strurl, function(data){
						if($('#popup').length > 0) {
							$('#popup').remove();
						}
						$('body').append(data)
					});
					
					if ($.browser.msie){
						if ($.browser.version >= 8){
							return false;
						}
						else {
							return true;
						}
					}
					else {
						return false;
					}
				});
				
					
			}
			
			$('#apercu_projet>li>a').live('click', function() {
				$('#projet').css('background-image','url(' + $(this).attr('href') +')');
				return false;
			});
		});