VARIATIONAL-PROBLEMS WITH OBSTACLES AND HARMONIC MAPS