Javascript command/variable based on Webpage Domain/Site
<p>I'm using the following code for fetching a latest tweet but I would like the TWITTERUSERNAME
to be different depending on the domain it is on as it's a template that is being called from one place but used across multiple domains.</p>

<pre><code>&lt;script type="text/javascript"&gt;
    jQuery('document').ready(function() {
        jQuery.getJSON('http://twitter.com/statuses/user_timeline/TWITTERUSERNAME.json?callback=?', function(data) {
             jQuery('#tweet').html(data[0].text);
        });
    });
&lt;/script&gt;
</code></pre>

<p>I'm guessing just some kind of if statement in php to replace the TWITTERUSERNAME value in the script?</p>

<p>Any pointers on this would be great</p>
