code: function setOrientationHTML(desiredOrientation) {
      desiredOrientation = desiredOrientation || "";
      if (!orientationDiv) {
        orientationDiv = document.createElement("div");
        //document.body.appendChild(orientationDiv);
        var h = document.getElementById("hft-menu");
        h.parentNode.insertBefore(orientationDiv, h);
      }
      if (desiredOrientation.indexOf("portrait") >= 0) {
        orientationDiv.innerHTML = requirePortraitHTML;
      } else if (desiredOrientation.indexOf("landscape") >= 0) {
        orientationDiv.innerHTML = requireLandscapeHTML;
      } else {
        orientationDiv.innerHTML = "";
      }
    }
docs: function isSemiValidOrientation(o) { o = o || ""; return o.indexOf("portrait") >= 0 || o.indexOf("landscape") >= 0; }