if( screen.width < 1024 )
              {
                     document.write(
                            "<link rel=stylesheet href=\"style800.css\" type=\"text/css\">"
                     );
              }
              else
              {
                     document.write(
                            "<link rel=stylesheet href=\"style1024.css\" type=\"text/css\">"
                     );
              }
