+ include_once("ajax.inc");
+ $Ajax =& new Ajax();
+ // intercept all output to destroy it in case of ajax call
+ register_shutdown_function('ob_end_flush');
+ ob_start('output_html',0);
+ // colect all error msgs
+ set_error_handler('error_handler' /*, errtypes */);