Are they REALLY selling shampoo?

What exactly do these two (1 & 2) advertisements have to do with selling shampoo?

No wonder there are so many women and young girls that have body image issues, when the media is slamming these images down their throats.