I get an error Uncaught TypeError: undefined is not a function, and her score increases extremely even above 3000 times. as shown in the following images.


I also have three lists of other js files that I use on the website in the same order that I talked about below.
1.3.2/jquery.min.js
1.7.2/jquery-ui.min.js
ui.stars.min.js
jquery.qtip-1.0.0-rc3.min.js
jquery.fancybox-1.2.6.pack.js
I tried changing the version jquery.min.jsto 1.9.1. but still I get an error. and i also use
<script src="cufon/cufon-yui.js" type="text/javascript"></script>
<script type="text/javascript">
</script>
and
here is my custom javascript which is also included on the website
$(document).ready(function () {
$("#slogan-addbutton").fancybox({
'zoomSpeedIn': 600,
'zoomSpeedOut': 500,
'easingIn': 'easeOutBack',
'easingOut': 'easeInBack',
'hideOnContentClick': false,
'padding': 15
});
$('.pr-body,.pr-author').live('keyup',function(e){
if(!this.preview)
this.preview=$('#fancy_ajax .note');
this.preview.find($(this).attr('class').replace('pr-','.')).html($(this).val().replace(/<[^>]+>/ig,''));
});
$('.color').live('click',function(){
$('#fancy_ajax .note').removeClass('yellow green blue').addClass($(this).attr('class').replace('color',''));
});
$('#note-submit').live('click',function(e){
if($('.pr-body').val().length<4)
{
alert("The note text is too short!")
return false;
}
if($('.pr-author').val().length<1)
{
alert("You haven't entered your name!")
return false;
}
$(this).replaceWith('<img src="img/ajax_load.gif" style="margin:30px auto;display:block" />');
var data = {
'zindex' : ++zIndex,
'body' : $('.pr-body').val(),
'author' : $('.pr-author').val(),
'color' : $.trim($('#fancy_ajax .note').attr('class').replace('note',''))
};
$.post('post.php',data,function(msg){
if(parseInt(msg))
{
var tmp = $('#fancy_ajax .note').clone();
tmp.find('span.data').text(msg).end().css({'z-index':zIndex,top:0,left:0});
tmp.appendTo($('#main'));
make_draggable(tmp)
}
$("#addButton").fancybox.close();
});
e.preventDefault();
})
$('.note-form').live('submit',function(e){e.preventDefault();});
$(".star-rating").stars();
$("#quotes-hide").mousemove(function (e) {
if (!this.hideDiv) {
this.hideDiv = $(this);
this.scrollDiv = $('#quotes-slide');
this.pos = this.hideDiv.offset();
this.pos.top += 20;
this.slideHeight = this.scrollDiv.height();
this.height = this.hideDiv.height();
this.height -= 20;
this.totScroll = this.slideHeight - this.height;
}
this.scrollDiv.css({
marginTop: '-' + this.totScroll * (Math.max(e.pageY - this.pos.top, 0) / this.height) + 'px'
});
});
$('.thumb').click(function (e) {
var obj = quotes[parseInt(e.target.id.replace('q-', '')) - 1];
$('#slogan-quote-content').fadeOut('fast', function () {
if (!obj) return false;
$(this).find('h1').html(obj.txt);
$(this).find('span').html(obj.author);
if (obj.bgc) $('body').stop().animate({
backgroundColor: obj.bgc
}, 'slow');
var tmpstr = '';
for (var z = 0; z < 5; z++) {
tmpstr += '<input type="radio" name="voteQ" value="' + (z + 1) + '" ';
if (z + 1 == obj.rating) tmpstr += 'checked=checked ';
if (parseInt(obj.voted)) tmpstr += 'disabled="disabled" ';
tmpstr += '/>';
}
tmpstr = '<div id="voteRating">' + tmpstr + '</div>';
$('#slogan-box').qtip("api").updateContent(tmpstr);
$('#voteRating').stars({
cancelShow: false,
oneVoteOnly: true,
callback: function (ui, type, value) {
vote(obj, value);
}
});
Cufon.refresh();
$(this).fadeIn('fast');
});
});
$('#slogan-box').qtip({
content: {
text: 'This is an active list element',
title: {
text: 'Vote for this quote'
},
prerender: true
},
show: 'mouseover',
hide: {
delay: 2000,
fixed: true,
when: 'mouseout'
},
position: {
corner: {
target: 'rightMiddle',
tooltip: 'leftMiddle'
},
adjust: {
y: 20
}
},
style: {
border: {
width: 2,
radius: 6
},
name: 'light',
tip: 'leftMiddle'
}
});
setTimeout(function () {
$('#q-1').click();
}, 250);
});
var quotes = new Array();
function fillData(obj) {
quotes.push(obj);
}
function vote(ob, value) {
$.post('vote.php', {
qid: ob.id,
vote: value
}, function (data) {
if (data == "1") {
ob.voted = 1;
ob.votes = ob.votes + 1;
ob.vsum = ob.vsum + parseInt(value);
ob.rating = Math.round(ob.vsum / ob.votes);
$('#rating-' + ob.id).stars("select", ob.rating);
quotes[ob.id - 1] = ob;
}
});
}