document.write (document.getElementById("main_img").value);