
//Return Value From WebService
function mResultsForumPage(result)
{
	//alert(result.value);
	//return 0;
	
	// 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
	    var xxx=result.value;
	    if (xxx.length<100)
	    {
	        document.getElementById("lblForum").innerHTML="<table align='center' height='250px'><tr><td valign='middle' align='center'>No Records Found</td></tr></table>";
	    }
	    else
	    {
	        document.getElementById("lblForum").innerHTML=result.value;
	    }
	    //alert(document.getElementById("consList").innerHTML);
	    
	 
	}
}
