Global solutions and finite time blow up for damped semilinear wave equations