Trying to take IP and remove periods to use an int else where on the page
<p>I found this code to get the IP:</p>

<pre><code>&lt;script type="application/javascript"&gt;
function getip(json){
  alert(json.ip); // alerts the ip address
}
&lt;/script&gt;

&lt;script type="application/javascript" src="http://jsonip.appspot.com/?callback=getip"&gt; &lt;/script&gt;
</code></pre>

<p>But I don't entirely understand it.  I want to try to find a way to take the variable json.ip and turn it into a global integer that can be called in any JS on the page.  Such as IP:25.454.545.34  -> 2545454534.</p>
