var is_low_res = false;

function CheckScreenResolution() {
    
    // Check if the users is viewing the version which does not fit his resolution
    if (((!is_low_res) && (screen.width < 1024)) || ((is_low_res) && (screen.width >= 1024))) {
      
        // Display him the box with the possibility to display the appropriate resolution mode.
        document.getElementById('low-res').style.display = 'block';
    }
}

