0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.23.103.14


Current Path : /var/www/oasis/js_old/
Upload File :
Current File : /var/www/oasis/js_old/includeCSS.js

function CheckBrowserType() {
  var BrowserType = BrowserDetect.browser;
  var BrowserVersion = BrowserDetect.version;
  if (BrowserType == "Firefox") {
    var headID = document.getElementsByTagName("head")[0];
    var cssNode = document.createElement("link");
    cssNode.type = "text/css";
    cssNode.rel = "stylesheet";
    cssNode.href = "../css/tarka_FireFox.css";
    headID.appendChild(cssNode);
  } else if (BrowserType == "Explorer") {
    if (BrowserVersion == 8) {
      var headID = document.getElementsByTagName("head")[0];
      var cssNode = document.createElement("link");
      cssNode.type = "text/css";
      cssNode.rel = "stylesheet";
      cssNode.href = "../css/tarka_IE8.css";
      headID.appendChild(cssNode);
    } else {
      var headID = document.getElementsByTagName("head")[0];
      var cssNode = document.createElement("link");
      cssNode.type = "text/css";
      cssNode.rel = "stylesheet";
      cssNode.href = "../css/tarka_IE6.css";
      headID.appendChild(cssNode);
    }
  } else if (BrowserType == "Safari" || BrowserType == "Chrome") {
    var headID = document.getElementsByTagName("head")[0];
    var cssNode = document.createElement("link");
    cssNode.type = "text/css";
    cssNode.rel = "stylesheet";
    cssNode.href = "../css/tarka-safari.css";
    headID.appendChild(cssNode);
  }
}