Sorry, split up the script src and the script:
Code:
<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
<script type="text/javascript">document.write("Welcome from "+geoplugin_city()+", "+geoplugin_countryName()); </script>