1var odcLoginURL ="https://apis.fetnet.net/sessiongw/loginPage"; 2var odcLogoutURL="https://login.fetnet.net/logout/logout"; 3 4var odcRegisteredURL = "https://service.fetnet.net/memberflow/activate?eventId=0000000000"; 5var odcRegisteredChannelURL = "https://service.fetnet.net/memberflow/activate?eventId="; 6var odceventID ="0000000000"; 7 8var odcRegisteredMobileURL = "https://service.fetnet.net/memberflow/activate?eventId=0000000001"; 9var odcRegisteredMobileChannelURL = "https://service.fetnet.net/memberflow/activate?eventId="; 10var odcmeventID ="0000000001"; 11 12var odcLoginMobileURL="https://apis.fetnet.net/sessiongw/loginPage"; 13//var odcLogoutMobileURL="https://service.fetnet.net"; 14var odcLogoutMobileURL="https://login.fetnet.net/logout/logout"; 15var odcfaqID=""; 16var modcfaqID=""; 17 18var searchURL_PC = ""; 19var searchURL_MB = ""; 20 21var odcFaqMobileURL="https://m.fetnet.net/faq/faq_list_mobile.do"; 22var odcFaqURL="https://service.fetnet.net/faq/faq_list_pc.do"; 23 24function odcDoLogout() 25{ 26 $.ajax({ 27 url: 'https://apis.fetnet.net/sessiongw/logout' , 28 async: false, 29 crossDomain: "true", 30 method: "GET", 31 contentType: "application/json", 32 xhrFields: { 33 withCredentials: true}, 34 }); 35 if (currentSize == 'large'){ 36 sendCTR('na','æå¡ç»å ¥ï½è¨»å','ç»åº'); 37 } 38 else{ 39 sendMenuCTR("na",'æå¡ç»å ¥ï½è¨»å','ç»åº','é¸å®','æå¡ç»å ¥ï½è¨»å','ç»åº'); 40 } 41 42 $("#logoutURL").val(odcLogoutURL) 43 $("#LogoutForm").submit(); 44 fetnet_menu_showDesktop("NONLOGIN","NA"); 45} 46 47function odcDoRegister() 48{ 49 if (currentSize == 'large'){ 50 if ( odceventID != "0000000000"){ 51 odcRegisteredURL = odcRegisteredChannelURL + odceventID; 52 sendCTR(odcRegisteredURL,'æå¡ç»å ¥ï½è¨»å','註å'); 53 }else { 54 sendCTR(odcRegisteredURL,'æå¡ç»å ¥ï½è¨»å','註å'); 55 } 56 } 57 else{ 58 if ( odcmeventID != "0000000001"){ 59 odcRegisteredMobileURL = odcRegisteredMobileChannelURL + odcmeventID; 60 sendMenuCTR(odcRegisteredMobileURL,'æå¡ç»å ¥ï½è¨»å','註å','é¸å®','æå¡ç»å ¥ï½è¨»å','註å'); 61 }else { 62 sendMenuCTR(odcRegisteredMobileURL,'æå¡ç»å ¥ï½è¨»å','註å','é¸å®','æå¡ç»å ¥ï½è¨»å','註å'); 63 } 64 } 65 66} 67 68function odcDoLogin() 69{ 70 if (currentSize == 'large'){ 71 sendCTR(odcLoginURL,'æå¡ç»å ¥ï½è¨»å','ç»å ¥'); 72 } 73 else{ 74 sendMenuCTR(odcLoginMobileURL,'æå¡ç»å ¥ï½è¨»å','ç»å ¥','é¸å®','æå¡ç»å ¥ï½è¨»å','ç»å ¥'); 75 } 76} 77 78function fetnet_header_setFAQID(faqID) 79{ 80 odcfaqID=faqID; 81} 82function fetnet_header_setFAQID_m(mfaqID) 83{ 84 modcfaqID = mfaqID; 85} 86 87function fetnet_header_setCustomerServiceID(custID) 88{ 89 90 //alert("[fetnet_header_setCustomerServiceID] custID = " + custID); 91 //TODO: send breadcrumb; 92} 93 94function fetnet_header_setLoginLink(aURL) 95{ 96 //alert("[fetnet_header_setLoginLink] aURL = " + aURL); 97 odcLoginURL = aURL; 98} 99 100function fetnet_header_setmLoginLink(aURL) 101{ 102 //alert("[fetnet_header_setLoginLink] aURL = " + aURL); 103 odcLoginMobileURL = aURL; 104} 105 106function fetnet_header_setLogoutLink(aURL) 107{ 108 //alert("[fetnet_header_setLogoutLink] aURL = " + aURL); 109 odcLogoutURL = aURL; 110} 111 112function fetnet_header_setmLogoutLink(aURL) 113{ 114 //alert("[fetnet_header_setLogoutLink] aURL = " + aURL); 115 odcLogoutMobileURL = aURL; 116} 117 118 119function fetnet_header_setRegisterLink(evenID) 120{ 121 eventID = evenID; 122} 123 124function fetnet_header_setmRegisterLink(evenID) 125{ 126 meventID = evenID; 127} 128 129 130 131function fetnet_odcInitHeader() 132{ 133 //alert("[fetnet_odcInitHeader]"); 134/* var vipRole = document.getElementById("odc_vip_role").value; 135 fetnet_menu_showDesktop(vipRole);*/ 136} 137 138function fetnet_odcInitHeaderMobile() 139{ 140 //alert("[fetnet_odcInitHeaderMobile]"); 141 //Initiallize menu after menu being load. 142 //fetnet_menu_showMobile("NONLOGIN"); 143} 144function fetnet_header_setSearch(pURL,mURL){ 145 searchURL_PC = pURL; 146 searchURL_MB = mURL; 147} 148 149 150function fetnet_header_LinkToFAQDetail(ctr1,ctr2){ 151var url="//"+document.location.host+"/faq/home.html"; 152 if (odcfaqID && odcfaqID!=''){ 153 url=odcFaqURL+"?returnToIndex=true&nodeId="+odcfaqID; 154 } 155 sendCTR(url,ctr1,ctr2); 156} 157 158function fetnet_header_LinkToFAQDetail_m(ctr1,ctr2){ 159var url="//m.fetnet.net/faq/home.html"; 160 if (modcfaqID && modcfaqID!=''){ 161 url = odcFaqMobileURL + "?returnToIndex=true&nodeId=" + modcfaqID; 162 } 163 sendCTR(url,ctr1,ctr2); 164}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.