<script type="text/javascript">
	function carregarImg2() {
    var target = document.getElementById('targetlogojpg');
    var file = document.querySelector("#imagemlogojpg").files[0];
    
        var reader = new FileReader();

        reader.onloadend = function () {
            target.src = reader.result;
        };

        if (file) {
            reader.readAsDataURL(file);

        } else {
            target.src = "";
        }
    }
</script>