var JsConfig = { "IsProduction" : true, "SecureXDotNetRoot" : "https://wtx.fbs.com.tw/JssFHCTradeNet/", "SecureXRoot" : "https://wtx.fbs.com.tw/JssFHCTrade/", "SecureVDotNetRoot" : "https://wtv.fbs.com.tw/JssFHCTradeNet/", "SecureVRoot" : "https://wtv.fbs.com.tw/JssFHCTrade/", //依目前網址取得 "GetCurrentSecureDotNetRoot" : function() { if (!this.IsProduction) return this.SecureXDotNetRoot; else { if (location.hostname.toLowerCase().indexOf('securex') != -1) return this.SecureXDotNetRoot; else return this.SecureVDotNetRoot; } }, //依目前網址取得 "GetCurrentSecureRoot" : function() { if (!this.IsProduction) return this.SecureXRoot; else { if (location.hostname.toLowerCase().indexOf('securex') != -1) return this.SecureXRoot; else return this.SecureVRoot; } }, // "GetCurrentRoot" : function() { return "/5THJssFHCTradeNet/"; }, //測試:0 ;正式:1 組caSubject用 "TaiCASecure" : function() { return this.IsProduction ? 1 : 0; }, "RunAtLocalhost" : function() { return location.hostname.toLowerCase().indexOf('localhost') >= 0; }, "cookieDomain" : function() { if (!this.RunAtLocalhost()) return ".fbs.com.tw"; else return ""; } }; function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { var cc = '' + window.location; if (cc.indexOf('test') == -1) { return false; } } return true; } if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown = right; document.oncontextmenu = noshowmenu; function noshowmenu() { var cc = '' + window.location; if (cc.indexOf('test') == -1) { return false; } }