jQuery().ready(function() {  

	jQuery('#HomeContainer').show();

	jQuery('#rotate-graphic').cycle({ 
	fx:    'fade', 
	speed:  'slow',
	timeout: 7000,
	prev: '.rotate-prev',
	next: '.rotate-next',
	delay: 1000
	});

	jQuery('.rotate-pause').click(function() { 
		jQuery('#rotate-graphic').cycle('pause'); 
	});

	jQuery('.rotate-prev').click(function() { 
		jQuery('#rotate-graphic').cycle('pause'); 
	});
	jQuery('.rotate-next').click(function() { 
		jQuery('#rotate-graphic').cycle('pause'); 
	});

	jQuery('#UpcomingBody').cycle({ 
	fx:    'scrollUp', 
	timeout: 5000,
	prev: '#UpcomingPrev',
	next: '#UpcomingNext',
	delay: 1000
	});

	jQuery('#UpcomingPrev').click(function() { 
		jQuery('#UpcomingBody').cycle('pause'); 
	});
	jQuery('#UpcomingNext').click(function() { 
		jQuery('#UpcomingBody').cycle('pause'); 
	});

	function NewTo() {
	jQuery('#NewTo').show();
	jQuery('#NewTo').animate({
		left: '+=27'
	  }, 1000, function() {
		// Animation complete.
	  });
	}
	
	setTimeout(NewTo,500);

	var target = '.bigLink';

	jQuery(target).each(function(){
		jQuery(this).hover(
			function(){
				status=jQuery(this).find('a').attr('href');
			},
			function(){
				status='';
			});
		jQuery(this).click(function(){
			location=jQuery(this).find('a').attr('href');
		});
		jQuery(this).css('cursor','pointer');
	});


}); 
