Hi there daniel curry,
and a warm welcome to these forums. 
The use of "document.write()" is, generally, frowned upon. 
Here is a possible alternative for you to try...
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>Gosselin Laboratories</title>
<link rel="stylesheet" type="text/css" href="physics.css">
<script type="text/javascript">
(function() {
'use strict';
function init(){
var dy=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
var p=document.createElement('p');
var t=document.createTextNode('Today is '+dy[new Date().getDay()]);
p.appendChild(t);
document.getElementById('container').appendChild(p);
}
window.addEventListener?
window.addEventListener('load',init,false):
window.attachEvent('onload',init);
})();
</script>
</head>
<body>
<div id="container"></div>
</body>
</html>
Edit: The cause of the problem was those unclosed strings of yours like this - "today is monday being the first 
coothead
Bookmarks