var doc = null;


function ajax() {	
	if (typeof window.ActiveXObject != 'undefined' ) doc = new ActiveXObject("Microsoft.XMLHTTP");
	else doc = new XMLHttpRequest();
}


function ProcessRandomMembers(num){
    	ajax();    	
		// Load the result from the response page
		// ** As far a I know firefox will only load a document on the SAME domain!!	
	    if (doc){
	       //destination.innerHTML = "Loading data...";
		   //doc.onreadystatechange = processReqChange;
	       doc.open("GET", "randommembers.php?num=" + num, false);
	       doc.send(3);
	    	// Write the response to the div	
	    	document.getElementById("drandom").innerHTML  = doc.responseText;  	    	 	
	       //destination.innerHTML = doc.responseText;
	    }
	    else{
	      
	       //destination.innerHTML = 'Browser unable to create XMLHttp Object';
	    }        
}