Jorge,
Is there a trick to editing the adsense ads. I replaced the javascript code in the top with what I got from GOogle and it breaks the template so that nothing shows up below the ad location including the ad. I have also tried selectively replacing parts of the code with the same reuslts. I don't believe I have touched the PHP that encloses the script so Don't understand why it would break the template:
Adsense top code - Orginal
<?php
echo "
<div align=\"center\">
<script type=\"text/javascript\"><!--
google_ad_client = \"$AdSense\";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = \"336x280_as\";
google_ad_type = \"text_image\";
google_ad_channel =\"\";
google_color_border = \"$google_color_border\";
google_color_bg = \"$google_color_bg\";
google_color_link = \"$google_color_link\";
google_color_text = \"$google_color_text\";
google_color_url = \"$google_color_url\";
//--></script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
</div>
";
?>
Results of my cut and paste:
<?php
if ($UseAdSenseTop=="no"){echo "";}
elseif ($UseAdSenseTop=="yes"){echo "
<script type="text/javascript"><!--
google_ad_client = "pub-9743189793807585";
/* 468x60, created 5/13/08 */
google_ad_slot = "3719661419";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
";}
?>
Let me know if you see anything I am missing.
Chris