Variational approach to some damped Dirichlet problems with impulses. (21st March 2013)