Javacsript is a no-no. Many places will not tolerate script tags on a page.
Using server side stuff (php, cgi, or other) to insert banners is acceptable, there is no way to see it. However, you would probably want to make sure that the banners being "traded out" are similar in size in each case. Some bots are a little bit picky.
Alex
|