function thumbnailDivResize()
{
	$('#panel').jScrollPaneRemove() ;	
	/**
	 * Determination de la taille de la fenêtre
	 */
	var windowWidth = 1020 ;
	var windowHeight = 650;
	var thumbnailsHeight = 109 ;

	if (typeof( window.innerWidth ) == 'number')
	{
		//Non-IE
		windowWidth = window.innerWidth;
		windowHeight = window.innerHeight;
	}
	else if (document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ))
	{
		//IE 6+ in 'standards compliant mode'
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
	}
	else if (document.body && ( document.body.clientWidth || document.body.clientHeight ))
		{
			//IE 4 compatible
			windowWidth = document.body.clientWidth;
			windowHeight = document.body.clientHeight;
		}
	var MAX_WINDOW_WIDTH = windowWidth - 142 - 25 - 50 ;
	var MAX_WINDOW_HEIGHT = windowHeight - 60 ;
	$("#mainTable").height(MAX_WINDOW_HEIGHT);

	/**
	 * Taille d'origine de l'image
	 */
	var FIXED_IMAGE_HEIGHT = 900;
	var FIXED_IMAGE_WIDTH = 1414;
	/**
	 * Total image width
	 */

	var ratioWidth1 = (MAX_WINDOW_WIDTH - 30) / (FIXED_IMAGE_WIDTH) ;
	var ratioHeight1 = MAX_WINDOW_HEIGHT / FIXED_IMAGE_HEIGHT ;
	var ratio1 = Math.min(Math.min(ratioWidth1, ratioHeight1), 1) ;
	var resizedWidth1 = Math.ceil(FIXED_IMAGE_WIDTH * ratio1) ;
	/**
	 * Calcul de la hauteur du panel. On calcule la hauteur pour que la coupure
	 * se fasse exactement sur le bas de la vignette
	 */
	var resizedHeight1 = thumbnailsHeight * Math.floor(MAX_WINDOW_HEIGHT / thumbnailsHeight, 0) ;
	$("#pane1").width(resizedWidth1);
	$("#pane1").height(resizedHeight1);
	/*var overlayTop = resizedHeight1 - 156 ;
	 var overlayLeft = resizedWidth1  - 130 ;
	 $("a[rel]").overlay({expose: '#fff', absolute:true, top:overlayTop, left:overlayLeft, effect: 'apple'});*/
	$('#pane1').jScrollPane({scrollbarWidth:9, scrollbarMargin:2, animateTo:false, showArrows:false, scrollbarOnLeft:false, topCapHeight: 0, bottomCapHeight: 0, dragMaxHeight:50});
}