<script type=”text/javascript”>
var fullUrl = “http://www.kinankvm.com”;
var fullSSLUrl = “https://www.kinankvm.com”;
</script>
<script language=”javascript” type=”text/javascript”>
document.domain = “kinankvm.com”;
function IsMobileBrowser() {
var isMobileBrowser = false;
var strBT = “lgtelecom||NATEBrowser||LG-CT810||LG/BL40||POLARIS||SAMSUNG||iphone||ipod||IEMobile||Opera Mobi||OperaMini||Windows CE||blackberry||symbian||nokia||HTC||Mobile Safari||Opera Mini”;
var strPad = “SAMSUNG SM-T8||SAMSUNG SM-T7”; //신규 PAD기종 예외 추가
var arrBT = strBT.split(“||”);
var arrPad = strPad.split(“||”);
for (var i = 0; i < arrBT.length; i++) {
if (navigator.userAgent.toLowerCase().indexOf(arrBT[i].toLowerCase()) > -1) {
isMobileBrowser = true;
break;
}
}
for (var i = 0; i < arrPad.length; i++) {
if (navigator.userAgent.toLowerCase().indexOf(arrPad[i].toLowerCase()) > -1) {
isMobileBrowser = false;
break;
}
}
return isMobileBrowser;
}
function IsMobilePadBrowser() {
var isMobilePadBrowser = false;
var strBT = “iPad||M180||M380||E140||Android”;
var arrBT = strBT.split(“||”);
for (var i = 0; i < arrBT.length; i++) {
if (navigator.userAgent.toLowerCase().indexOf(arrBT[i].toLowerCase()) > -1) {
isMobilePadBrowser = true;
break;
}
}
return isMobilePadBrowser;
}
if (document.location.protocol == “https:”) {
location.replace(“http://www.kinankvm.com”);
}
</script>
<script>
if (IsMobileBrowser()) {
window.location.href=”./mobile/”;
}
</script>