Make moveable image button static once moved
<p>I currently have this code that allows me to move the image button around the screen. but i want to know how i would be able to move the image button to another position and once at the point it changes allows me to click the button but not movable. Yeah i would like the button to be moved the first time they move it and then the next time that they come back to the site the button is not movable.    </p>

<pre><code>  var x; 
    var y;
    var bool;
    bool =1;
    function move(event){
          x= event.clientx;
          y = event.clienty
          document.getElementByID('img_btn').style.top=y+'px';
          document.getElementByID('img_btn').style.left=y+'px';
    }
</code></pre>
