// JavaScript Document

		window.onresize = resize;

		function resize()
		{ 
			if (document.body)
			{
				var larg = (document.body.clientWidth);
				var haut = (document.body.clientHeight);
			}
			else
			{
				var larg = (window.innerWidth);
				var haut = (window.innerHeight);
			}
     
	 		
			bg = document.getElementById("wrapper_left") ;
			bg1 = document.getElementById("wrapper_right") ;
			bg2 = document.getElementById("wrapper_top_left") ;
			bg3 = document.getElementById("wrapper_top_right") ;

			//sortie = document.getElementById("sortie") ;
			
			//--
			//_bg = document.getElementById("wrapper") ;
			
			//if( _bg.style.height < screen.height )
			//{
			//	_bg.style.minHeight = screen.height - 100 + 'px' ;
			//	sortie.innerHTML = haut ;
			//}
			// 
			
			var hMax = screen.height ;
			
			bg.style.minHeight = hMax - 150 + 'px' ;
			bg1.style.minHeight = hMax - 150 + 'px' ;


			if( larg < 1200 )
			{
				bg.style.backgroundPosition = -250 + 'px' + ' bottom' ;
				bg1.style.backgroundPosition = 950 + 'px' + ' bottom' ;
			}
			else
			{
				bg.style.backgroundPosition = 'left' + ' bottom' ;
				bg1.style.backgroundPosition = 'right' + ' bottom' ;
			}
			
			if( larg > 960 && bg2 != null )
			{
				bg2.style.backgroundPosition = (( larg - 960 ) /2) - 80  + 'px' + ' 100px' ;
			}
			if( larg > 960 && bg3 != null )
			{
				bg3.style.backgroundPosition = (( larg - 960 ) /2) + 880  + 'px' + ' 130px' ;
			}

		}