I had this done, more or less it is fairly simple. The best way, imho, is first you need a script(I prefer perl) This script will take the html of the page requested add in the banner code, then print it back out. Then of course you have it run every time a page is requested, this can be done with .htaccess to be honest. I did this about 1.5 years ago. I can tell you this, it will work. Whatr I recomend you try to do is get someone who has a solutionscripts.com login to home free. In there is a user contributed program(not piracy in my opinion), and that does the taking of the html and the banner adding. You then just need the apache part, which isent too hard. One downside is the fact that perl will have to run every time a page is run. Also if you get your hands on the program, it can be customized and it can be MUCH shorter, its already not too long, but I cut it down to about 1/3 before I just started from scratch.