Javascript doesn't work for the users except System admin
<p>Javascript doesn't work for the users except System admin. I checked in all files. And everyone can view the pages and sites.</p>

<p>How can I solve this?</p>

<pre><code>&lt;script type="text/javascript" src="/jquery.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src=""&gt;

        jQuery.fn.center = function () {
            this.css("position","absolute"); 
            this.css("top", ( $(window).height() - this.height() ) / 2 + $('#s4-workspace').scrollTop() + "px");    
            this.css("left", ( -300+$(window).width() - this.width() ) / 2 + $(window).scrollLeft() + "px");    
            return this;
        } 

        jQuery.fn.centerleft = function () {
            this.css("position","fixed");    
            this.css("top", ( $(window).height() - this.height() ) / 2 + $('#s4-workspace').scrollTop() + "px");    
            this.css("left", ( -300 + $(window).width() - this.width() ) / 2 + $(window).scrollLeft() + "px");    
            return this;
        } 

        $().ready(function () {
            $('.thumbnailyatay').mouseover(function() {
                $(this).next().center().show();
            }).mouseout(function() {
                $(this).next().hide();
            });

            $('.thumbnaildikey').mouseover(function() {
                $(this).next().centerleft().show();
            }).mouseout(function() {
                $(this).next().hide();
            });
        });
    &lt;/script&gt;   
    &lt;style type="text/css"&gt;
    .large {
 display:none;
 }



&lt;a class="small" &gt;
&lt;xsl:attribute name="href"&gt;
&lt;xsl:value-of select="@BigPicture"&gt;&lt;/xsl:value-of&gt;&lt;/xsl:attribute&gt;
&lt;img class="thumbnaildikey" alt="gallery thumbnail" style="width:88px;"&gt;
&lt;xsl:attribute name="src"&gt;
&lt;xsl:value-of select="@BigPicture"&gt;&lt;/xsl:value-of&gt;&lt;/xsl:attribute&gt;&lt;/img&gt;
&lt;img class="large" alt="gallery thumbnail" style="height:800px;width:568px"&gt;
&lt;xsl:attribute name="src"&gt;&lt;xsl:value-of select="@BigPicture"&gt;
&lt;/xsl:value-of&gt;&lt;/xsl:attribute&gt;&lt;/img&gt;
&lt;/a&gt;
</code></pre>
