Have you ever thought why dog's are wagging tail, rather than shaking ears or any other thing to show her/his affection? Will anybody shoot appropriate answer?
I think this gives a good answer: http://wiki.answers.com/Q/Why_do_dogs_wag_their_tails_when_their_happy