title: Javascript Geo Redirection not working
body: <p>My code gives a blank page. no redirection occurs</p>
  
  <pre><code>&lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt; 
  &lt;SCRIPT LANGUAGE='JavaScript'&gt;
     $.getJSON( "http://smart-ip.net/geoip-json?callback=?", function(data){
  
     if (data.countryCode == "CA") { 
       window.location = 'canada.php';
     } else {
       window.location = 'usa.php';
     }    
  &lt;/SCRIPT&gt;
  </code></pre>