You keep saying "pop up," which I have always thought were new windows that open, just popping up out of nowhere. These ads are showing up in the website window itself. I just wanted to clarify.
I did ask whether or not these were pop-up windows at the beginning of the topic thread, but you never answered that question, so I made the assumption that they were. If they are not, then I would have to say that it could be a Trojan Horse, which is caused by something you downloaded and installed. If it is, you should be being redirected to web sites different from the one you entered in the address bar or clicked on a link to reach. Otherwise, you probably don't have a Trojan Horse and the issue is really one of the web site itself being hijacked to serve up these types of ads.
To find out if this is the case and remove it, you need to download and run the
DNSChanger Removal Tool and if it finds it, you need to restart your Mac for it to finish the task, and with any luck you will not see those ads again.
Mulder