Existence of weak solutions for the equations of the electrorheological fluids