1var wndChat = null; 2 3function goChatWindow(strURL) { 4 5 var strTop = (screen.height - 325) / 2; 6 var strLeft = (screen.width - 320) / 2; 7 var strARG = "height=350,width=400,top=" + strTop + ",left=" + strLeft + ",resizable=1"; 8 9 if (wndChat === null) { 10 wndChat = window.open(strURL, "chat", strARG); 11 if (!wndChat.opener) 12 wndChat.opener = window; 13 } 14 else if (wndChat.closed) { 15 wndChat = window.open(strURL, "chat", strARG); 16 if (!wndChat.opener) 17 wndChat.opener = window; 18 } 19 else 20 wndChat.location = strURL; 21 22 wndChat.focus(); 23 24} 25 26function goChat2(strCid, strSite, strBid) { 27 var wil; 28 29 if (getChatCookie()) { 30 wil = 'here'; 31 } else { 32 setChatCookie(); 33 var strURL = ""; 34 if (strSite === "2") { 35 strURL = (strCid === null || strCid === '') ? "/livehelp/client/chat?site=2" : "/livehelp/client/chat/" + strCid; 36 } 37 else { 38 if (strCid) { 39 strURL = "/support/chat/chat_start.asp?cid=" + strCid; 40 } else { 41 strURL = "/support/chat/chat_start.asp?cid=" + strCid; 42 } 43 } 44 45 46 goChatWindow(strURL); 47 } 48} 49 50function setChatCookie() { 51 var now = new Date(); 52 var Later = new Date(now.getTime() + (1000 * 60 * 30)); 53 document.cookie = "lhopen=1;expires=" + Later.toString() + ";path=/"; 54} 55 56function getChatCookie() { 57 if (document.cookie.indexOf("lhopen") > -1) { 58 return true; 59 } else { 60 return false; 61 } 62} 63 64function killChatCookie() { 65 document.cookie = "lhopen=1; expires=Fri, 1 Jul 1990 01:00:00 UTC; path=/"; 66} 67
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.