title: Jquery click only works with double click
body: <p>I am so close to getting this.  Here's my code that is returning the correct url, but only when button is double-clicked.  I only need one click to retrieve the image.</p>
  
  <pre><code> var origin = 'COMP';
   var area = 'US';
   var type = 'typeA';
   var level = 'Xnay';
   var time = '0';
   var btn1 = document.getElementById("redbutton").winControl;   
  
  function change_area(new_area) {
       area = new_area;
  }
  
  function change_type(new_type) {
       type = new_type;
  }      
  
  $(btn1).click(function () {
    var src = "http://somesite.net/folder/WEB_" + origin + "_" + area + "_" + level + "_" + type + "_" + time + "HR.png";
           change_area('GB');
           change_type('typeB')
           $('#mainmap').attr('src', src), false;
  });
  </code></pre>