1function BxShowAuthService(id, suffix) 2{ 3 var bxCurrentAuthId = ''; 4 if(window['bxCurrentAuthId'+suffix]) 5 bxCurrentAuthId = window['bxCurrentAuthId'+suffix]; 6 7 BX('bx_auth_serv'+suffix).style.display = ''; 8 if(bxCurrentAuthId != '' && bxCurrentAuthId != id) 9 { 10 BX('bx_auth_href_'+suffix+bxCurrentAuthId).className = ''; 11 BX('bx_auth_serv_'+suffix+bxCurrentAuthId).style.display = 'none'; 12 } 13 BX('bx_auth_href_'+suffix+id).className = 'bx-ss-selected'; 14 BX('bx_auth_href_'+suffix+id).blur(); 15 BX('bx_auth_serv_'+suffix+id).style.display = ''; 16 var el = BX.findChild(BX('bx_auth_serv_'+suffix+id), {'tag':'input', 'attribute':{'type':'text'}}, true); 17 if(el) 18 try{el.focus();}catch(e){} 19 window['bxCurrentAuthId'+suffix] = id; 20 if(document.forms['bx_auth_services'+suffix]) 21 document.forms['bx_auth_services'+suffix].auth_service_id.value = id; 22 else if(document.forms['bx_user_profile_form'+suffix]) 23 document.forms['bx_user_profile_form'+suffix].auth_service_id.value = id; 24} 25 26var bxAuthWnd = false; 27function BxShowAuthFloat(id, suffix) 28{ 29 var bCreated = false; 30 if(!bxAuthWnd) 31 { 32 bxAuthWnd = new BX.CDialog({ 33 'content':'<div id="bx_auth_float_container"></div>', 34 'width': 640, 35 'height': 400, 36 'resizable': false 37 }); 38 bCreated = true; 39 } 40 bxAuthWnd.Show(); 41 42 if(bCreated) 43 BX('bx_auth_float_container').appendChild(BX('bx_auth_float')); 44 45 BxShowAuthService(id, suffix); 46}
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.