function checkResolution() {
  if (screen.width > 1023 && screen.width < 1280) {
    document.write('<link rel="stylesheet" type="text/css" href="jorky-1024.css"/>');
  }
  if (screen.width > 1279) {
    document.write('<link rel="stylesheet" type="text/css" href="jorky-1280.css"/>');
  }
}
