Forum Moderators: open
function showFriends () {
var rand=Math.round(Math.random()*10000);
document.write('<a href="http://www.gamesbanner.net/work/click.php4?rnd='+rand+'" target="_blank"><img src="http://www.gamesbanner.net/work/show.php4?from=gamesofgondor&rnd='+rand+'" border="0" alt="Games Banner Network" width="100" height="100"></a>');
document.write('<scrpt type="text/javascript"><!--
google_ad_client = "pub-2816128178367254";
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = "120x240_as";
google_ad_channel ="";
google_color_border = "FDEFD2";
google_color_bg = "FDEFD2";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>');
}
The javascript is conflicting showhere with the function of the Php document.write part. Any help would be GREATLy appreciated.
Thanks!
Daniel
P.S The gamesbanner.net ad is showing up fine, and i only encounter problems during googles javascript