

   // 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>Your Screen Resolution is <nobr>");
      document.write(width + " x " + height);
      document.write(" Pixel.</nobr></B><BR>&nbsp;");
   }
   else
   {
      document.open();
      document.write("&nbsp;<BR><B>All our images<BR>for desktop backgrounds <BR>are in JPEG format.");
   }



	
