function pointpost(cp){ var math = Math.round(Math.random()*10000); var img = document.getElementById('KejetPoint'+math); /*if (img) { img.parentNode.removeChild(img); }*/ img = document.createElement('img'); img.style.display = 'none'; img.id = 'KejetPoint';img.src = 'http://as.kejet.com/afapoint?u/M0M5MEYzMUUyRTZFNzNF/p/RDNGMjI2RkE0OEEzNjI0?cp='+encodeURI(cp)+'&math='+math;}