jquery window load function conflict
<p>I use jQuery function <code>(window).load(function ()</code> to load the <code>jQuery().YouamaAjaxLogin</code> but error </p>

<blockquote>
  <p>accessories.html: 1075 uncaught TypeError: jQuery (...).
  YouamaAjaxLogin is not a function</p>
</blockquote>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;script type="text/javascript"&gt;
    //&lt;![CDATA[
       jQuery(window).load(function(){
            jQuery().youamaAjaxLogin({
                redirection : '&lt;?php echo $this-&gt;isRedirectToProfile() ?&gt;',
                profileUrl : '&lt;?php echo Mage::getBaseUrl() ?&gt;customer/account/',
                autoShowUp : '&lt;?php echo $autoShowUp = (isset($_GET["yregister"])) ? "yes" : "no" ?&gt;',
                controllerUrl : '&lt;?php echo $this-&gt;getUrl("youama_ajaxlogin/ajax/index", array("_secure" =&gt; true)) ?&gt;'
            });
        });
    //]]&gt;
&lt;/script&gt;</code></pre>
</div>
</div>
</p>

<p>and ajxlogin</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>(function($) {
$.fn.youamaAjaxLogin = function(options) {

   .........
};

})(jQuery);</code></pre>
</div>
</div>
</p>

<p>Hope the helping!</p>

<p>Thank You!</p>