function comment_image() {
var URL = prompt('请把你的图，带回我的家~~请把~~微笑~~留下—。—');
if (URL) {
document.getElementById('comment').value = document.getElementById('comment').value + '[img]' + URL + '[/img]';
}} 