havac, i thought there was a rule of correcting spelling and grammar, that its not allowed! anyways, its called a typo! the document.write can be said as this
$PAGETEXT := $PAGETEXT + "this is the stuff you want to write"
and if your intention is to have it in a link script, its not possible, what you can do is have it when the link script is activated, the follwoing page gets altered based on a variable, simple...