Hi...

I have a javascript function that when an image is moused over it will
display some text in a div elsewhere on the page.
Problem is this text is coming from a database and can contain anything... I
am currently having trouble with a set of double quote right together ("").
I need a in all-cases way to make sure I don't get these unterminated string
constant errors. I have no control over what the text is. I'm not a big fan
of javascript but have to use it for this so I need a hand if at all
possible.

=== The function ===
function swapText(message,id){
document.getElementById(id).innerHTML = message;
}

== called on like ==
<a href="page.asp"
onmouseover="swapText('<%=(strRolloverText)%>','ro lloverText');">


many thanks for any help.
PG