Hello I am using this script on my index page and it is buggy not loading when the screen resolution is less than 1600x1200. Any ideas why? Or maybe there is a better way of doing it.

Help appreciated!

[CODE<script type="text/javascript">

if ((screen.width>=1600) && (screen.height>=1200))
{
window.location="index_b.html";
}
else
{
window.location="index.html";
}
</script>[/CODE]