__SQL_GET_STRING(image_format,"select format from co_%s_%s
where id=%d",par_area,par_class,par_id)
cou_setReturnValue( cnx,
ap_psprintf(p, "image/%s", image_format),
CO_STRING
);