@Stephen_PhilbinAug 26.2005 — #PHP to Javascript is easy. Just have PHP echo the javascript as you want. Javascript to PHP is another matter entirely. Only way I can think of is to GET or POST it to a script via a form.
Oh by the way, you might wanna use <script type="text/javascritpt"> rather than <script language="javascript">