1var xmlhttp; 2 3function Captcha(str1) 4{ 5 //alert(str1); 6xmlhttp=GetXmlHttpObject(); 7if (xmlhttp==null) 8 { 9 alert ("Browser does not support HTTP Request"); 10 return; 11 } 12var url="checkCaptcha.php"; 13url=url+"?q="+str1; 14url=url+"&sid="+Math.random(); 15xmlhttp.onreadystatechange=stateChanged1; 16xmlhttp.open("GET",url,true); 17xmlhttp.send(null); 18} 19 20function stateChanged1() 21{ 22if (xmlhttp.readyState==4) 23{ 24 25var output1=xmlhttp.responseText; 26if(!(output1=="")) 27{ 28alert(output1); 29return false; 30} 31} 32} 33 34function GetXmlHttpObject() 35{ 36if (window.XMLHttpRequest) 37 { 38 // code for IE7+, Firefox, Chrome, Opera, Safari 39 return new XMLHttpRequest(); 40 } 41if (window.ActiveXObject) 42 { 43 // code for IE6, IE5 44 return new ActiveXObject("Microsoft.XMLHTTP"); 45 } 46return null; 47}
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.