document.write(""); var xmlhttpstatus3; function loadXMLDoc(url) { xmlhttpstatus3=null; if (window.XMLHttpRequest) {// code for IE7, Firefox, Opera, etc. xmlhttpstatus3=new XMLHttpRequest(); } else if (window.ActiveXObject) {// code for IE6, IE5 xmlhttpstatus3=new ActiveXObject("Microsoft.XMLHTTP"); } if (xmlhttpstatus3!=null) { xmlhttpstatus3.onreadystatechange=state_Change; xmlhttpstatus3.open("GET",url,true); xmlhttpstatus3.send(null); } else { //alert("Your browser does not support XMLHTTP."); } } function state_Change() { if (xmlhttpstatus3.readyState==4) {// 4 = "loaded" if (xmlhttpstatus3.status==200) {// 200 = "OK" var answer = xmlhttpstatus3.responseText; //alert(answer); var answers=Array(); answers = answer.split(":",2); var boxid = answers[0]; var status = answers[1]; //alert(boxid); //alert("Boxid: " + boxid + " is " + status); numResults++; if(status=="up") { document.getElementById(boxid).innerHTML=""; anyup=1; }else if(status=="down") { document.getElementById(boxid).innerHTML=""; }else if(status=="?") { document.getElementById(boxid).innerHTML=""; } if(numResults==totalSites && anyup==0) { alert("Uh-oh! It appears that all of these links are dead.\n\nIf other users encounter the same thing, this boo will be removed."); loadXMLDoc('deadlinks.php?bh=n1iggcici2ichfk2'); } } else { document.getElementById("status3").innerHTML=""; } } } loadXMLDoc('status/Badongo.php?b=status3&u=http%3A%2F%2Fwww.badongo.com%2Ffile%2F18201767');