 // JavaScript Document
//

window.moveTo(0,0);

if (document.getElementById || document.all) 
  {
  window.resizeTo(screen.availWidth, screen.availHeight);
  }
else if (document.layers) 
  {
  if (window.outerHeight<screen.availHeight || window.outerWidth<screen.availWidth)
    {
    window.outerHeight = screen.availHeight;
    window.outerWidth = screen.availWidth;
    }
  }
  
  function resize_w(){
  
var hauteur;
var largeur;
var boite;
if(document.getElementById)
	{
	boite = document.getElementById('boite_flash');
	if (!boite)
		{
		 boite = document.getElementById('boite_flash2');
		}
	}
	
	
var boiteW=boite.width;
var boiteH=boite.height;



if (window.innerWidth)
	{largeur=window.innerWidth;
	hauteur=window.innerHeight;
	}else{
	largeur = document.body.clientWidth;
	hauteur = document.documentElement.clientHeight;
	}








if(hauteur<boiteH || largeur<boiteW)
	{ 

	var pourcentageH = (hauteur*100)/boiteH;
	var pourcentageW =(largeur*100)/boiteW;
	var finalH;
	var finalW;
		if(pourcentageH<pourcentageW)
		{
		
		finalH= (boiteH*pourcentageH)/103;
		finalW=(boiteW*pourcentageH)/103;
		
		}else{
		
		finalH= (boiteH*pourcentageW)/103;
		finalW=(boiteW*pourcentageW)/103;
		}
		boite.width=finalW;
		boite.height = finalH;

	}
	}

