<script>
if(screen.width>800) self.location.href="pagina1024.htm"
else self.location.href="pagina800.htm"
</script>