/**
 * @behaviour: Script to dynamically add a css file to stop the 'flash of visible content' and to display the correct
 *                          output, i.e. only hide the page wrapper when when js is enabled as the intro will be executed. If
 *                          JS is not enabled, just let the page wrapper be visible as the intro will not be displayed
 *  @author:  Karl Oakes
 */

  (function () {
    var head = document.getElementsByTagName("head")[0];
    if (head) {
      var scriptStyles = document.createElement("link");
      scriptStyles.rel = "stylesheet";
      scriptStyles.type = "text/css";
      scriptStyles.href = "css/script-style.css";
      head.appendChild(scriptStyles);
    }
  })();



