

   // Though set in the JS1.2 code, these variables are declared here to avoid errors in lesser browsers
   var width=null;
   var height=null;


   // Grabs screen resolution
   width = screen.width; 
   height = screen.height;

   // If browser supports JS1.2
   if( width != null )
   {
      document.open();
      document.write("<B>Votre r&eacute;solution d'&eacute;cran <nobr>est ");
      document.write(width + " x " + height);
      document.write(" pixel.</nobr></B><BR>&nbsp;");
   }
   else
   {
      document.open();
      document.write("&nbsp;<BR><B>Les images sont des JPEG.");
   }



	
