Javascript quotes inside quotes (eval ?)

Hey there gang, I’ve moved my server-side problem to a client-side problem, here is my ugly code (I’m about to write a function for it, but still want to know how/if it can be done):

<a href="…" onClick=[COLOR=“Red”]"[/COLOR]getThis(‘toolbox/en_email.php’,'email=+document.getElementById([COLOR=“Red”][/COLOR]emailtxtbx[COLOR=“Red”][/COLOR]).value,‘contentsDiv’)[COLOR=“Red”]"[/COLOR]>Clicky</a>

Now as you notice I’ve got little problems with quotes =/

how do i add the getElementById without screwing my onClick function (short of do a function for all this ?)

cheers !