function fetchFromDB( sql, cnx, fetchFromDB_CallBack, xargs){
	/******
	Use AJAX to do a db lookup and then call te specified JS function to deal with the data
	sql = a SELECT statement used to get values (this MUST be PRE encoded using encodeURIComponent)
	jsHandler = a JS function (visible to this document) that is given the resulting array of data (valuepairs) and executed
	fetchFromDB_CallBack is always called at the end - you must define that function yourself. use fetchFromDB_CallBack(resp){  }
	*******/
	
	
	ajaxObj.method="POST";
	/*
	alert(srcFld);
	alert(fld_val_List);
	alert(selWhereFlds);*/
	xargs=(typeof(xargs)=='string') ? '&'+xargs : '';
	ajaxObj.call("action=fetchFromDB&cnx="+cnx+"&sql="+sql+xargs, fetchFromDB_CallBack);
	
}
