$("document").ready(function() {
	
var img1 = new Image();
$(img1).attr('src', 'images/home/esq_sel.jpg');
var img2 = new Image();
$(img2).attr('src', 'images/home/dir_sel.jpg');

$("#esq").bind("mouseover", function(){
	$("#esq").attr('src', 'images/home/esq.jpg');
});
$("#esq").bind("mouseleave", function(){
	$(this).attr('src', 'images/home/esq.jpg');
});

$("#dir").bind("mouseover", function(){
	$("#dir").attr('src', 'images/home/dir.jpg');
});
$("#dir").bind("mouseleave", function(){
	$(this).attr('src', 'images/home/dir.jpg');
});
var position=0;
$("#esq").bind("click", function(){
	if(position == 0){}
	else{
	position = position + 252;
	$("#conteiner-not table").animate({ left: position }, 500, "swing");}
});
$("#dir").bind("click", function(){
	if(position==-(252*0)){}
	else{
	position = position - 252;
	$("#conteiner-not table").animate({ left: position }, 500, "swing");}
});
});
