title: URL Not Defined
body: <p>I wonder whether someone may be able to help me please.</p>
  
  <p>I've put together <a href="http://www.mapmyfinds.co.uk/development/allmyfindstest.html" rel="nofollow">this</a> page, but I'm receiving an error that I'm not sure how to resolve.</p>
  
  <p>The error I receive in firefox is 'downloadURL is not defined' and it highlights this line as being the problem:</p>
  
  <pre><code>downloadUrl("loadallmyfinds.php", function(data) { 
  </code></pre>
  
  <p>This page did work correctly until I added this JS function, </p>
  
  <pre><code>(function reversegeocode() {
  </code></pre>
  
  <p>so it's obvious that the problem lies within the introduction of this.</p>
  
  <p>But I've gone through the script a number of times now, and I just can't find the problem. I've checked the php script and I know that the correct information is being retrieved from the mySQL database. Having used this type of file before, I've also checked that the parsing of the xml is correct in terms of format etc.</p>
  
  <p>I must admit to being fairly new to javscript, so perhaps my lack of knowledge is letting me down.</p>
  
  <p>I just wondered though whether someone could perhaps take a look at this please and let me know what I'm doing wrong.</p>
  
  <p>Many thanks</p>