var part=document.getElementsByClassName('part'); (function(){ var e=part[Math.floor(Math.round()*e.length)]; e.parentNode.removeChild(e); if(part.length)setTimeout(arguments.callee,500) })()