Error conflict when using jquery with 3 script
<p>I have a sample code:</p>

<pre><code>....code html....
    &lt;script&gt;
    $(document).ready(function(){
        jQuery.runCart('C');
    });
    &lt;/script&gt;
    &lt;script type="text/javascript"&gt;
    $(document).ready(function(){
        jQuery.ajaxRequest('/index.php?dispatch=statistics.collect', {
            method: 'post',
            data: {
                've[url]': location.href,
                've[title]': document.title,
                've[browser_version]': jQuery.ua.version,
                've[browser]': jQuery.ua.browser,
                've[os]': jQuery.ua.os,
                've[client_language]': jQuery.ua.language,
                've[referrer]': document.referrer,
                've[screen_x]': (screen.width || null),
                've[screen_y]': (screen.height || null),
                've[color]': (screen.colorDepth || screen.pixelDepth || null),
                've[time_begin]': 1329885634.0486
            },
            hidden: true
        });
    });
    &lt;/script&gt;
    &lt;script&gt;
        $(document).ready(function($) { 
                    $(".reset").click(function() {
                        $("form#form_search_advance").show();
                        $(".success").hide();
                    });
                });
        &lt;/script&gt;
...code html...
</code></pre>

<p>When run code, I see error in firebug with error is "<code>jQuery.runCart is not a function</code>", "<code>jQuery.ua is undefined</code>"</p>
