Code:
if (screen.width<1024||screen.height<768) {
  //do something
}
This works for IE, what's the equivalent in Netscape 6 and Navigator 4?

I have tables on my page, but if the resolution is too low, I need to display them on ontop of the other instead of side by side.