I have a javascript file that needs a value from a variable in a php script in which the JS file is being called.

```
<?
$sid = session_id();
?>
<html>
<head>
<script src="javascript.js" type="text/javascript"></script>
...

```

How can i get $sid into the js file for use?