<script type="text/javascript">if (screen.width==800) location = 'pagina2.html':else if (screen.width==640) location = 'pagina3.html';</script>