imported stuff from tadl-web. still need to get css sytlesheet, but leaving that to Bill