[jQuery] urgent json parsing error!!!! very important

[jQuery] urgent json parsing error!!!! very important


<!-- this is the javascript json parser function -->
<script type="text/javascript" src="../jquery-1.2.6.min.js">
</script>
<script type="text/javascript">
$(document).ready(function()
{
    $('form#search').bind("submit", function(e)
        {
        e.preventDefault();
        $('#content').html('');
        var query1 = urlencode($('input[name="user_a"]').val
()); //userA
var query2 = urlencode($('input
[name="user_b"]').val()); //userB
        $.getJSON('http://twitter.com/friendships/exists.json?
user_a='+query1+'&user_b='+query2,
function(data)
            {
if(data.text == 'true')
{
     var newDiv = '

true

';
                 }
     $('#content').append(newDiv);
});
});
});
function urlencode(str) {
return escape(str).replace(/\+/g,'%2B').replace(/%20/g,
'+').replace(/\*/g, '%2A').replace(/\//g, '%2F').replace(/@/g, '%40');
}
});
</script>
<!-- javascript ends here -->
i dont understand wats wron wth this code...could anyone plz correct
it....plz....its very frustratin...
any help wil be appreciated...