How is this really done :
<script language="Javascript" src="http://map.geoup.com/geoup"></script>
which uses this webpage:
http://map.geoup.com/geoup
that outputs:
document.write('<p>Special welcome to our visitors from ...............</p>');
then combine the text into a PHP var
echo "$title";