Rewrited to object system - errorpages ajaxpage