hmm tror jeg ville bruge jquery i stedet for.
prøv med dette i stedet for
<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script language="javascript">
$(document).ready(function() {
$("#received").load("test2.php")
});
</script>
<div id="received">Loading...</div>