$(document).ready(function() {
	// slider
	$('#coin-slider').coinslider({ 
		width: 729,
		height: 362,
		delay: 5000,
		opacity: 1
	});
	$('.cs-prev').stop().animate({left:'-80'}, 400);
	$('.cs-next').stop().animate({right:'-80'}, 400);
	$('.coin-slider').hover(function(){$('#cs-navigation-coin-slider a').css({display:'block'});
										$('.cs-prev').stop().animate({left:'10'}, 400);
										$('.cs-next').stop().animate({right:'10'}, 400);},function(){$('.cs-prev').stop().animate({left:'-80'}, 400);
										$('.cs-next').stop().animate({right:'-80'}, 400);});
	var day=['Domingo','Segunda','Ter&ccedil;a','Quarta','Quinta','Sexta','S&aacute;bado'],
	   month=['Janeiro','Fevereiro','Mar&ccedil;o','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'];
   SetData();
   function SetData() {
	   var now = new Date();
	   $('.date').html(day[now.getDay()]+', ');
	   $('.date').append(' '+month[now.getMonth()]+' ');
	   $('.date').append(now.getDate()+', ');
	   $('.date').append(now.getFullYear()+' ');
	   hour=now.getHours();
	   minutes=now.getMinutes();
	   if (minutes<10) {minutes='0'+minutes};
	   $('.date').append(hour+':'+minutes);
	}
  	setInterval(SetData,60);
});


