Perdona, lo anterior tenía algún fallo. Este está bien!
Código:
<html>
<head>
<title>Bienvenido</title>
</head>
<body>
<script>
var seiscientos="index600.html";
var ochocientos="index800.html";
var mil="index1024.html";
if (screen.width==640){window.location.replace(seiscientos)};
if (screen.width==800){window.location.replace(ochocientos)};
if (screen.width>1023){window.location.replace(mil)};
</script>
</body>
</html>