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

if (screen.width == 640) {
document.write('<link rel="stylesheet" type="text/css" href="style800.css">');
}
if (screen.width == 800) {
document.write('<link rel="stylesheet" type="text/css" href="style800.css">');
}
if (screen.width == 1024) {
document.write('<link rel="stylesheet" type="text/css" href="style.css">');
}
if (screen.width == 1152) {
document.write('<link rel="stylesheet" type="text/css" href="style.css">');
}
if (screen.width == 1280) {
document.write('<link rel="stylesheet" type="text/css" href="style.css">');
}
if (screen.width == 1400) {
document.write('<link rel="stylesheet" type="text/css" href="style.css">');
}
if (screen.width == 1600) {
document.write('<link rel="stylesheet" type="text/css" href="style.css">');
}
