This JavaScript example will guide us that how to
send visitor to different pages based on a variety of criteria
like conditions of if_else. This example will redirect the visitors
with a resolution of 1024x768 on there computer or higher to a
different page. Of course there should not be any reason to do
so for most websites, which should work at any screen resolution on web.