function screenres()
{
    if (window.screen)
    {
        var w=screen.width

        if (w<=800)
        {
            self.location.replace('800/index.html')
        }
        else if (w>=1024)
        {
            self.location.replace('1024/index.html')
        }
    }
}
