
//Return Value From WebService
function mResults(result)
{
	//alert("in");
	
	// if there is an error, and the call came from the call() in init()
	if(result.error)
	{
		// Pull the error information from the event.result.errorDetail properties
		var xfaultcode   = result.errorDetail.code;
		var xfaultstring = result.errorDetail.string;
		var xfaultsoap   = result.errorDetail.raw;

		// Add code to handle specific error codes here
	}
	// if there was no error
	else
	{
		//**********************************************
		//---------> Set the Result <-------------------
		//**********************************************
		
		// Get the result instance
	    
	    //alert(result.value);
	    //alert(document.getElementById("consList").innerHTML);
	    document.getElementById("consList").innerHTML=result.value;
	 
	}
}

