experimently implement the box- and index-template with document.write()