1function displayContent(url,caption,closecaption,divclass,params) { 2 var ol_param=''; 3 if(divclass) ol_param+=",DIVCLASS,'"+divclass+"'" 4 if(params) ol_param+=','+params 5 if(!closecaption) closecaption='Close'; 6 if(ol_param){ 7 if(ol_param.search('DIVID')==-1){ol_param+=",DIVID,'overDiv'";} 8 var ol="overlib('Please wait...',CAPTION,caption,STICKY,CLOSECLICK,CLOSETEXT,'x',CLOSETITLE,closecaption"+ol_param+");"; 9 eval(ol); 10 }else overlib('Please wait...',CAPTION,caption,STICKY,CLOSECLICK,CLOSETEXT,'x',CLOSETITLE,closecaption); 11 if (typeof $ === 'function' 12 && $('#overDiv').css('display') == 'none' 13 ) { 14 $('#overDiv').css('display', 'block'); 15 } 16 var xmlhttp=getXmlHttpObject(); 17 xmlhttp.open("GET",url, true ); 18 xmlhttp.onreadystatechange=function(){ 19 if(xmlhttp.readyState==4){ 20 if (xmlhttp.status==200){ 21 var contentText=xmlhttp.responseText; 22 document.getElementById('overlibcontent').innerHTML=contentText; 23 }else alert("Problem retrieving XML data") 24 } 25 } 26 xmlhttp.send(null); 27} 28function updateDivContent(url, divid) 29{ 30 var xmlhttp = getXmlHttpObject(); 31 xmlhttp.open("GET", url, true ); 32 xmlhttp.onreadystatechange = function() 33 { 34 if (xmlhttp.readyState == 4) { 35 if (xmlhttp.status == 200) { 36 var contentText = xmlhttp.responseText; 37 document.getElementById(divid).innerHTML = contentText; 38 } else { 39 alert("Problem retrieving XML data"); 40 } 41 } 42 } 43 xmlhttp.send(null); 44} 45function displayOverlib(content,caption,closecaption,divclass,params) { 46 var ol_param=''; 47 if(divclass) ol_param+=",DIVCLASS,'"+divclass+"'" 48 if(params) ol_param+=','+params 49 if(!closecaption) closecaption='Close'; 50 if(ol_param){ 51 if(ol_param.search('DIVID')==-1) ol_param+=",DIVID,'overDiv'"; 52 var ol="overlib(content,CAPTION,caption,STICKY,CLOSECLICK,CLOSETEXT,'x',CLOSETITLE,closecaption,VAUTO"+ol_param+");"; 53 eval(ol); 54 }else overlib(content,CAPTION,caption,STICKY,CLOSECLICK,CLOSETEXT,'x',CLOSETITLE,closecaption,VAUTO); 55} 56function cancelOverDiv(){cClick();} 57function getXmlHttpObject(){ 58 var xmlhttp; 59 try { 60 xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); 61 } catch (e) { 62 try { 63 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); 64 } catch (E) { 65 xmlhttp = false; 66 } 67 } 68 if (!xmlhttp && typeof XMLHttpRequest!=undefined) { 69 xmlhttp = new XMLHttpRequest(); 70 } else if(!xmlhttp){ 71 xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); 72 } 73 return xmlhttp; 74}
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.