Hy, Basically what i want is a script so when a user views a website though my proxy the proxy will detect any Ad code and replace it with my own code. But it would have to be able to replace the appropriate code with my corresponding code. Such as if there is an ad being displayed that is a banner 728*90 i need it to be replaced with my 728*90 banner, same with box 250*250 and so on and so forth. I would want this to detect many ad types such as Google, Yahoo, Right Media, Clicksor, Bidvertiser, and others. Im pretty sure that this should be done using JavaScript replace but im not entirely sure. Any help appreciated.