Unfortunately, you cannot pass javascript DOM values to a PHP script, as the PHP is parsed server-side, and the javascript DOM parsing is done client-side...
I've thought about things like this before, but it's really not possible...
What you would have to do is change the structure of the script to pas in height variables externally, rather then having them hard-coded....
|