if (screen.width < 1024)
{
 window.location="/800";
}
