If you check out the JSFiddle here
<img src="http://www.laneaviation.com/wp-content/themes/laneaviation/images/loading.gif" id="loader" />
var loader = document.getElementById('loader');
I am looking to use JavaScript to hide this image. The concept is to display the image initially and then when my program returns false, the image will be hidden, providing a loading effect for the user.