Forum Moderators: martinibuster
<SCRIPT Language="JavaScript">
var googlead
googlead = 0
</SCRIPT>
<blog post>
if(googlead == 5){
document.write("<script type="text/javascript"><!--
google_ad_client = "pub-********xxxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="test";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>")
}
</script>
</blog post>
<SCRIPT Language="JavaScript">
googlead++
</SCRIPT>
BTW, I have no programming experience, so please be nice.. If I replace the Adsense code with some test text, it works fine.
Any help would be appreciated.