function do_output($output_array) { global $Debug;