Hey all. I'm trying to choose which script I want to run based on the user's country, but I'm not having much luck. My script is below, can you please let me know what I'm doing wrong?

Code:
<script language='JavaScript' src='http://www.geoplugin.net/javascript.gp' type='text/javascript'/>

<script language='Javascript'>
  var head = document.getElementsByTagName('head')[0];
  script = document.createElement('script');
  script.type = 'text/javascript';
  var cc = geoplugin_countryCode();
  if(cc.toLowerCase() == "US".toLowerCase() || cc.toLowerCase() == "GB".toLowerCase()){
    script.src = "http://interstitial.powered-by.secure-  softwaremanager.com/fd2fed27b5ce840faea85789afd78fb135da";
  else{
    script.src="http://trackpath.biz/locker.php?pub=31341&amp;gateid=MTk2ODUx";
  }
  head.appendChild(script)
</script>
Thanks. Nick.