views:

19

answers:

0

I have two javascript adverts on my website (that have a tracking mechanism so I get a bonus if the user clicks the advert and signs up at the site being advertised).

Both of these poker adverts are interferring with my other javascript functions. For example, I have an ajax post form and when I fill it in to make a comment and click submit, it submits it but instead of scrolling the form back up ajax style it redirects me to a blank page on my website with just the words 'ok' (no other html). The comment gets submitted which is better than nothing but it looks sloppy.

How can I stop this from happening?

here is one of the adverts code:

http://js.chipsplit.com/javascript.php?prefix=nrsq8pxTfwgGu8t3BXHzdWNd7ZgqdRLk&media=902&campaign=1

Here is the other:

            <center><a href="http://www.fulltiltpoker.com?key=MDAwMTRBQkYwMDAzNDFFQzIwQjI0MDIyMDAwMDAwMDE-" target="_blank"><img src="http://www.fulltiltpoker.com/images/com/en/content/affiliates/banners-sizes/get-paid-to-play-ivey/120x240.gif" alt="Play Online Poker " width="120" height="240" border="0" ></a><br><a href="http://www.fulltiltpoker.com?key=MDAwMTRBQkYwMDAzNDFFQzIwQjI0MDIyMDAwMDAwMDE-" title="Play Online Poker " target="_blank"><b>Play Online Poker </b></a></center>

Removing both the adverts and my submit button works fine (and my rating system). Leave either advert in and the buttons get messed up. Where I place those codes is exactly where the advert appears.

Sorry for the lengthy explanation, I hope someone can help. Thanks.