I added following code in wordpress custom_function.php file a while ago to display google adsense. Now I want to remove the code but my website breaks when I comment out the following code. I don't understand why. Please provide your input on this.
function sidebar_ads() {
?>
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxx";
/* 160x600, created 9/23/10 for SideBar */
google_ad_slot = "xxxxx";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<?php }
add_action('thesis_hook_before_sidebars', 'sidebar_ads');