var height=0;
var width=0;

if (self.screen) {     // for NN4 and IE4
        width = screen.width
        height = screen.height
}
else if (self.java) {   // for NN3 with enabled Java
       var jkit = java.awt.Toolkit.getDefaultToolkit();
       var scrsize = jkit.getScreenSize();       
       width = scrsize.width; 
       height = scrsize.height; 
}

if (width > 0 && height > 0) 
{

  if (width == 1920) document.writeln('<LINK href="st_1600.css" type=text/css rel=stylesheet>')

  if (width == 1680) document.writeln('<LINK href="st_1600.css" type=text/css rel=stylesheet>')

  if (width == 1600) document.writeln('<LINK href="st_1600.css" type=text/css rel=stylesheet>')
     
  if (width == 1440) document.writeln('<LINK href="st_1440.css" type=text/css rel=stylesheet>')

  if (width == 1400) document.writeln('<LINK href="st_1440.css" type=text/css rel=stylesheet>')

  if (width == 1366) document.writeln('<LINK href="st_1280.css" type=text/css rel=stylesheet>')

  if (width == 1280) document.writeln('<LINK href="st_1280.css" type=text/css rel=stylesheet>')
     
  if (width == 1170) document.writeln('<LINK href="st_1152.css" type=text/css rel=stylesheet>')

  if (width == 1152) document.writeln('<LINK href="st_1152.css" type=text/css rel=stylesheet>')

  if (width == 1024) document.writeln('<LINK href="st_1024.css" type=text/css rel=stylesheet>')
     
  if (width == 819)  document.writeln('<LINK href="st_800.css" type=text/css rel=stylesheet>')

  if (width == 800)  document.writeln('<LINK href="st_800.css" type=text/css rel=stylesheet>')
        
  if (width == 640)  document.writeln('<LINK href="st_640.css" type=text/css rel=stylesheet>')

  if (width == 234)  document.writeln('<LINK href="st_640.css" type=text/css rel=stylesheet>')

  if (width == 170)  document.writeln('<LINK href="st_640.css" type=text/css rel=stylesheet>')
}
