How disappointing about the pictures!!! that really rots!

I was thinking about the dobie website that I saw this morning, and I was wondering why they dock the tails & ears. Is it for medical reasons or for looks??? Why do they do that? thanks!