In the head of my document, my Javascript file is called
Code:
<script language="javascript" src="detect.js"></script>
This detects the resolution and picks the corret CSS file.

The problem is, later on in my program I want to grab the information on which resolution the user is using so I can include a PHP file.

However when I do
PHP Code:
 document.write(' <?php include("corners.php"); ');
I don't get anything but when I look at the source I get

Code:
 document.write(' ALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODEALOT OF CODE ');
What do I do?