var HomeUI = 
{
	Initialize : function()
	{
		HomeUI.PrevMonthHover()
		HomeUI.NextMonthHover()
		HomeUI.SpecialEventCycle()
	},
	SpecialEventCycle : function()
	{
		$('aside.special-events div.slides').cycle(
		{
			fx:   		'fade',
			pager: 		'.special-events-pager',
			speed:  	1500,
			timeout:  	8000,
			pause:  	1
		})
	},
	PrevMonthHover : function()
	{
		$('.no-csstransforms3d .prev-month').hover(function(){
			$(this).animate({left: '0px'}, 350)
		}, function()
		{
			$(this).animate({left: '-127px'}, 150)
		})
	},
	NextMonthHover : function()
	{
		$('.no-csstransforms3d .next-month').hover(function(){
			$(this).animate({left: '832px'}, 350)
		}, function()
		{
			$(this).animate({left: '959px'}, 150)
		})
	}
}

$(document).ready(HomeUI.Initialize)
