[jQuery] missing ) after argument list

[jQuery] missing ) after argument list

I tried many things, but cant get rid of this error message by
firebug:
missing ) after argument list
testReplace1 works perfect, but testReplace2 gives the error.
Code:
<?php
// testvar
$testReplace1 = '<div>TEST</div>';
$testReplace2 = '<div id="pos1-0"><img name="pos1-0" src="test.gif"
height="50" width="50" border="0" alt="white_pawn"></img></div>';
?>
<taconite>
<eval><![CDATA[
            $("#<?php echo $div; ?>").replaceWith("<?php echo $testReplace1; ?