rewrote document.write replacement 81e9911 to be more html standard conform