function voteRatingScene(rating, theId, theSite) {
	$(".scene_rater[rel=" + theId + "]").load(baseUrl + 'ajax/scenerater/' + theId + '?do=vote&rating=' + rating);
}

function alreadyVoted(rating, theId, theSite) {
	return false;
}

$(document).ready(function() {
	$(".scene_rater").each(function() {
		var myId = $(this).attr('rel');
		
		$(this).load(baseUrl + 'ajax/scenerater/' + myId);
	});
	
	$(".crate").click(function(e) {
		var myHref = $(this).attr('href');
		var myId = $(this).attr('rel');
		
		$('#crating_' + myId).load(myHref);
		e.preventDefault();
	});
	
	$(".jTabs").tabs();
	
	$(".updthumb").each(function() {
		var myId = $(this).attr('id');
		$(this).unbind('hover').hover(function() { StartSlide(myId) }, function() { StopSlide(myId) });
	});
});
