<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>I added the following if statement to the script to avoid a javascript error on the google home page:
if (document.getElementById(&quot;footer&quot;) != null)
{
document.getElementById(&quot;footer&quot;).style.display = 'none';
}

Great script :-)</body>
  <body-html>&lt;p&gt;I added the following if statement to the script to avoid a javascript error on the google home page:
&lt;br /&gt;if (document.getElementById(&quot;footer&quot;) != null)
&lt;br /&gt;{
&lt;br /&gt;document.getElementById(&quot;footer&quot;).style.display = 'none';
&lt;br /&gt;}&lt;/p&gt;

&lt;p&gt;Great script :-)&lt;/p&gt;</body-html>
  <created-at type="datetime">2007-03-13T20:51:30Z</created-at>
  <forumable-id type="integer">7736</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">38394</id>
  <topic-id type="integer">12822</topic-id>
  <updated-at type="datetime">2008-11-16T23:45:25Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">23822</user-id>
</post>
