function jrj(){ var domid = "top_div_small"; var pic = "https://info.stockstar.com/info/1000x90/sytl1-20180802.png"; var height = "90"; var width = "1000"; var html = "
"; var mydom = document.getElementById(domid); if (mydom) { mydom.innerHTML = html; } } jrj();