(QUICK) Javascript error
What is wrong with this code:

    echo "
    <script>
    function Load(){
    document.write('<script type=\"text/javascript\" src=\"/Poker/js/lobby.php\"></script>');
    }
    </script>
    
    <body onload='Load();'><body>
    ";
    exit;

Have spent a lot of effort trying to make it work. Help appreciated, regards.
(QUICK) Javascript error
===

What is wrong with this code:

    echo "
    <script>
    function Load(){
    document.write('<script type=\"text/javascript\" src=\"/Poker/js/lobby.php\"></script>');
    }
    </script>
    
    <body onload='Load();'><body>
    ";
    exit;

Have spent a lot of effort trying to make it work. Help appreciated, regards.