function browsersize(link) {
if (screen.width < 1024) {

var link = link;
var char = "?";

    var dot = link.lastIndexOf(char);
    dot++;
    if( dot ) {

       link = link.substring(dot);
       location.href="?"+link+"&res=s";
    }  else
        {
            location.href="?res=s";
        }
}
}
