<script type="text/javascript">
function loadImage() {
var img = new Image();
img.onload = function() {
document.getElementById('cont').appendChild(img);
};
img.src = 'http://t3.gstatic.com/images?q=tbn:ANd9GcRVlTBm0yS6FNxuVEcB3y4NX25EmbyeNmDA-wiM62g5fSSTR_g4';
}
</script>
<div id="cont"></div>
<button onclick="loadImage()">Load</button>