Rename Ad to Fragment. Make it based on the document-fragment, so it is possible now to insert the whole ad as a single element like document.appendChild(new R29.Ad). Overload document.getElementsById to fetch from elements by id from ad buffers.