/** *************************************************************************** * TouchEn Nx, 1.0.0 * * For more information on this product, please see * http://www.raonsecure.com * * Copyright (c) Raonsecure Co.,Ltd All Rights Reserved. * * 본 코드에 대한 모든 권한은 (주)라온시큐어 있으며 동의없이 사용/배포/가공할 수 없습니다. * *************************************************************************** */ /** **************************************************** TouchEnNx_loader.js **************************************************** | Version 작성자 수정일 변경사항 --------- ------- ----------- ---------- | v1.0.0.1 백서린 2017.01.20 최초 **************************************************** Copyright ⒞ RaonSecure Co., Ltd. **************************************************** **/ var useTouchEnnxKey = false; try{ if(TOUCHENEX_UTIL.isWin()){ if(TOUCHENEX_UTIL.isIE() && parseInt(TOUCHENEX_UTIL.getBrowserVer()) >= parseInt(TouchEnNxConfig.version.moduleMinVer.MSIE)) useTouchEnnxKey = true; else if(TOUCHENEX_UTIL.isChrome() && parseInt(TOUCHENEX_UTIL.getBrowserVer()) >= parseInt(TouchEnNxConfig.version.moduleMinVer.chromeMinVer)) useTouchEnnxKey = true; else if(TOUCHENEX_UTIL.isFirefox() && parseInt(TOUCHENEX_UTIL.getBrowserVer()) >= parseInt(TouchEnNxConfig.version.moduleMinVer.FireFoxMinVer)) useTouchEnnxKey = true; else if(TOUCHENEX_UTIL.isOpera() && parseInt(TOUCHENEX_UTIL.getBrowserVer()) >= parseInt(TouchEnNxConfig.version.moduleMinVer.OperaMinVer)) useTouchEnnxKey = true; else if(TOUCHENEX_UTIL.isSafari() && parseInt(TOUCHENEX_UTIL.getBrowserVer()) >= parseInt(TouchEnNxConfig.version.moduleMinVer.SafariMinVer)) useTouchEnnxKey = true; else if(TOUCHENEX_UTIL.isEdge()) useTouchEnnxKey = true; else useTouchEnnxKey = false; } else if(TOUCHENEX_UTIL.isMac()){ useTouchEnnxKey = false; } else{ useTouchEnnxKey = false; } }catch(e){ useTouchEnnxKey = false; } var TouchEnNx = { flag : false, useModule : "", success : function(result){ TouchEnNx.processingbar(false); if(result.isvm == "true"){ //가상화 환경 일 경우 } if (result.result == "true" || result.success == "true") { try{ if(typeof touchennxfwInfo == "object" && TouchEnNxConfig.use.nxfw){ if(TOUCHENEX_UTIL.isMac()){ touchennxfwInterface.CustomEX2("Key_Start",touchennxwebparams_mac); }else{ touchennxfwInterface.CustomEX2("Key_Start",touchennxfwparams); } } if(typeof touchennxwebInfo == "object" && TouchEnNxConfig.use.nxweb){ if(!TOUCHENEX_UTIL.isLinux()){ if(TOUCHENEX_UTIL.isMac()){ touchennxwebInterface.CustomEX2("Key_Start",touchennxwebparams_mac); }else{ touchennxwebInterface.CustomEX2("Key_Start",touchennxwebparams); } } } }catch(e){} } /* 20170405 SE2 LSH * 로딩 이후, 처리사항 추가. (ex. focus 처리, 동적 Rescan처리) */ }, TK_getUrlParameter : function(name) { var value = ""; try { var url = document.location.href; var idx = url.indexOf("?"); var params = "&"+url.substring(idx+1); idx = params.indexOf("&" + name + "="); if (idx >= 0) value = params.substring(idx+name.length+2); idx = value.indexOf("&"); if (idx >= 0) value = value.substring(0, idx); value = decodeURIComponent(value); } catch(err) {} return value; }, processingbar : function(tmps){ if(!TouchEnNxConfig.processingbar.use) return; if(tmps){ if(document.body){ if(document.getElementById("tk_overtopDiv")!=null) return true; var div = document.createElement("div"); div.setAttribute("id", "tk_overtopDiv"); document.body.appendChild(div); var processingbar = '