A variable in a division? What? It shouldn't matter where the JavaScript variable is, you reference it by name.
If you'd like more info, please provide more info.
*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!