Syntax Error:Unexpected token using jquery library
<p>I have a big problem with Mac-style menu using jquery library.Here the code: </p>

<pre><code>&lt;script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'/&gt;
&lt;script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js' type='text/javascript'/&gt;

&lt;link href='http://sites.google.com/site/.../style.css' rel='stylesheet' type='text/css'/&gt;
&lt;!--[if lt IE 7]&gt;
&lt;style type="text/css"&gt;
.dock img { behavior: url(http://sites.google.com/site/.../iepngfix.htc) }
&lt;/script&gt;
&lt;/style&gt;
&lt;![endif]--&gt;


&lt;div class="dock" id="dock"&gt;
 &lt;div class="dock-container"&gt;
 &lt;a class="dock-item" href="#"&gt;&lt;img src="images/home.png" alt="home" /&gt;&lt;span&gt;Home&lt;/span&gt;&lt;/a&gt; 
&lt;a class="dock-item" href="#"&gt;&lt;img src="images/email.png" alt="contact" /&gt;&lt;span&gt;Contact&lt;/span&gt;&lt;/a&gt; 
&lt;a class="dock-item" href="#"&gt;&lt;img src="images/portfolio.png" alt="portfolio" /&gt;&lt;span&gt;Portfolio&lt;/span&gt;&lt;/a&gt; 
&lt;a class="dock-item" href="#"&gt;&lt;img src="images/music.png" alt="music" /&gt;&lt;span&gt;Music&lt;/span&gt;&lt;/a&gt; 
&lt;a class="dock-item" href="#"&gt;&lt;img src="images/video.png" alt="video" /&gt;&lt;span&gt;Video&lt;/span&gt;&lt;/a&gt; 
&lt;a class="dock-item" href="#"&gt;&lt;img src="images/history.png" alt="history" /&gt;&lt;span&gt;History&lt;/span&gt;&lt;/a&gt; 
&lt;a class="dock-item" href="#"&gt;&lt;img src="images/calendar.png" alt="calendar" /&gt;&lt;span&gt;Calendar&lt;/span&gt;&lt;/a&gt; 
&lt;a class="dock-item" href="#"&gt;&lt;img src="images/rss.png" alt="rss" /&gt;&lt;span&gt;RSS&lt;/span&gt;&lt;/a&gt; 
&lt;/div&gt;
 &lt;/div&gt;
 &lt;!--dock menu JS options --&gt;
 &lt;script type="text/javascript"&gt;
 $(document).ready(
 function()
 {
 $('#dock').Fisheye(
 {
 maxWidth: 50,
 items: 'a',
 itemsText: 'span',
 container: '.dock-container',
 itemWidth: 40,
 proximity: 90,
 halign : 'center'
 }
 )
 }
 );
 &lt;/script&gt;
</code></pre>

<p>Also i use  a slideshow gadget with jquery library and from multiple instances of jquery begin-i believe- all the problems.The Url of my site:http://www.24-ores.com</p>

<p>The problem is that im trying to make a mac style menu with an animated menu bar instead of 6 big icons.Just to have a wider view of my code, here the code of the slideshow, which also uses jquery library and trying to avoid conflict i use a second library of jquery 1.3.2.That code works by the way.</p>

<pre><code>&lt;script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/&gt;
&lt;script&gt;
    jq131 = jQuery.noConflict(true);
&lt;/script&gt;

&lt;script type='text/javascript'&gt;

//&lt;![CDATA[

/* ------------------------------------------------------------------------
s3Slider

Developped By: Boban Karišik -&gt; http://www.serie3.info/
CSS Help: Mészáros Róbert -&gt; http://www.perspectived.com/
Version: 1.0

Copyright: Feel free to redistribute the script/modify it, as
long as you leave my infos at the top.
-------------------------------------------------------------------------- */


(function(jq131){

jq131.fn.s3Slider = function(vars) {

var element = this;
var timeOut = (vars.timeOut != undefined) ? vars.timeOut : 10000;
var current = null;
var timeOutFn = null;
var faderStat = true;
var mOver = false;
var items = jq131("#" + element[0].id + "Content ." + element[0].id + "Image");
var itemsSpan = jq131("#" + element[0].id + "Content ." + element[0].id + "Image span");

items.each(function(i) {

jq131(items[i]).mouseover(function() {
mOver = true;
});

$(items[i]).mouseout(function() {
mOver = false;
fadeElement(true);
});

});

var fadeElement = function(isMouseOut) {
var thisTimeOut = (isMouseOut) ? (timeOut/2) : timeOut;
thisTimeOut = (faderStat) ? 10 : thisTimeOut;
if(items.length &gt; 0) {
timeOutFn = setTimeout(makeSlider, thisTimeOut);
} else {
console.log("Poof..");
}
}

var makeSlider = function() {
current = (current != null) ? current : items[(items.length-1)];
var currNo = jq131.inArray(current, items) + 1
currNo = (currNo == items.length) ? 0 : (currNo - 1);
var newMargin = $(element).width() * currNo;
if(faderStat == true) {
if(!mOver) {
jq131(items[currNo]).fadeIn((timeOut/6), function() {
if($(itemsSpan[currNo]).css('bottom') == 0) {
jq131(itemsSpan[currNo]).slideUp((timeOut/6), function() {
faderStat = false;
current = items[currNo];
if(!mOver) {
fadeElement(false);
}
});
} else {
jq131(itemsSpan[currNo]).slideDown((timeOut/6), function() {
faderStat = false;
current = items[currNo];
if(!mOver) {
fadeElement(false);
}
});
}
});
}
} else {
if(!mOver) {
if($(itemsSpan[currNo]).css('bottom') == 0) {
jq131(itemsSpan[currNo]).slideDown((timeOut/6), function() {
jq131(items[currNo]).fadeOut((timeOut/6), function() {
faderStat = true;
current = items[(currNo+1)];
if(!mOver) {
fadeElement(false);
}
});
});
} else {
jq131(itemsSpan[currNo]).slideUp((timeOut/6), function() {
jq131(items[currNo]).fadeOut((timeOut/6), function() {
faderStat = true;
current = items[(currNo+1)];
if(!mOver) {
fadeElement(false);
}
});
});
}
}
}
}

makeSlider();

};

})(jq131);

//]]&gt;
&lt;/script&gt;


&lt;script type='text/javascript'&gt;
jq131(document).ready(function() {
jq131(&amp;#39;#s3slider&amp;#39;).s3Slider({
timeOut: 10000
});
});
&lt;/script&gt;

&lt;style type='text/css'&gt;
#s3slider {
background:#000;
border:1px solid #000033;
width: 320px;
height: 230px;
position: relative;
overflow: hidden;
}
#s3sliderContent {
width: 320px;
position: absolute;
top:-1px;
padding: 0px;
margin-left: 0;
}
.s3sliderImage {
float: left;
position: relative;
display: none;
}
.s3sliderImage span {
position: absolute;
left: 0;
font: 17px Trebuchet MS, sans-serif;
padding: 1px 0px;
width: 320px;
background-color: #000;
filter: alpha(opacity=80);
-moz-opacity: 0.8;
-khtml-opacity: 0.8;
opacity: 0.8;
color: #fefefe;
display: none;
bottom: 0;
text-align:center;
}
.clear {
clear: both;
}
&lt;/style&gt;
</code></pre>

<p>I would appreciate any help with my site.The url of my site with the 6 big icons instead of a bar:www.24-ores.com</p>
