I want to put this HTML inside document.write. How would I do that because the quotes get messed up when I try to.
<a href="Home Page.html"
onMouseOver="document.thereg1.src=red1.src"
onMouseOut="document.thereg1.src=reg1.src">
<img src="1.gif" Name="thereg1"></a>
"<a href=\"Home Page.html\" .... </a>"document.writeto create html content. Instead look at creating a new node and setting the html content of that instead