  // screenresolution.js
  // -------------
  // choose the appropriate stylesheet according to
  // the user's screen resolution

  document.write("<link rel='stylesheet' type='text/css' href='");

  if (window.screen.height <= 600) {
    //resolution is 800x600 or less
    document.write("style/style600.css'>");
  } 
  else if (window.screen.height <= 768) {
    //resolution is 1024x768 or less
    document.write("style/style768.css'>");
	  }
  else {
    document.write("style/defaultstyle.css'>");
  }

