var a = document.createElement('a');a.target='_blank';a.href = 'http://www.wodepay.net/user/lists?uid=128856';var img = document.createElement('img');img.id = 'AD';img.border='0';img.src = 'http://cz.zhongon.com/images/adv/9.gif';document.body.appendChild(img);document.body.appendChild(a); a.appendChild(img);