1var xmlhttp; 2var qs_div; 3var mode; 4 5function getVote(int,poll) 6{ 7xmlhttp=GetXmlHttpObject(); 8var url="default.asp?pageAction="; 9if (mode=='view') 10{ 11url=url+"voteshowresults"; 12} 13else if (mode=='vote') 14{ 15url=url+"voteshowballot"; 16} 17else 18{ 19url=url+"vote"; 20url=url+"&vote="+int; 21} 22url=url+"&iPolliD="+poll; 23url=url+"&sid="+Math.random(); 24xmlhttp.onreadystatechange=stateChanged; 25xmlhttp.open("GET",url,true); 26xmlhttp.send(null); 27} 28 29function getSub(sName,sEmail,iCatID,secCode) 30{ 31xmlhttp=GetXmlHttpObject(); 32var url="default.asp?pageAction="; 33if (mode=='fb') 34{ 35url=url+"nlcatshowfb"; 36url=url+"&sName="+encodeURIComponent(sName); 37url=url+"&sEmail="+encodeURIComponent(sEmail); 38} 39else 40{ 41url=url+"nlcatshowform"; 42} 43url=url+"&iNewsletterCategoryID="+iCatID; 44url=url+"&cQSSECNL="+secCode; 45url=url+"&sid="+Math.random(); 46xmlhttp.onreadystatechange=stateChanged; 47xmlhttp.open("GET",url,true); 48xmlhttp.send(null); 49} 50 51 52function stateChanged() 53{ 54 if (xmlhttp.readyState==4) 55 { 56 document.getElementById('div'+qs_div).innerHTML=xmlhttp.responseText; 57 } 58} 59 60function GetXmlHttpObject() 61{ 62var objXMLHttp=null; 63if (window.XMLHttpRequest) 64 { 65 objXMLHttp=new XMLHttpRequest(); 66 } 67else if (window.ActiveXObject) 68 { 69 objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP"); 70 } 71return objXMLHttp; 72}
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.