$(document).ready(function(){
	
	$('#btnScreenshots span').animate({left:-35});
	$('#btnTrailer').css({'background-position':'122px -27px'});
	
	$('#btnTrailer').click(function(){
		$('#switchScreenshots').fadeOut(150);
		$('#switchTrailer').fadeIn(150);
		
		$('#btnScreenshots').css({'background-position':'122px 13px'});
		
		$('#btnScreenshots span').animate({left:-35});
		$(this).css({'background-position':'122px -27px'});
		$(this).children('span').animate({left:-30});
	});
	$('#btnScreenshots').click(function(){
		$('#switchTrailer').fadeOut(150);
		$('#switchScreenshots').fadeIn(150);
		
		$('#btnTrailer').css({'background-position':'122px 13px'});
		
		$('#btnTrailer span').animate({left:-35});
		$(this).css({'background-position':'122px -27px'});
		$(this).children('span').animate({left:-30});
	});

	$('#slideImgs').cycle({
		fx:'fade', speed:1000, timeout:3500, next:'#slideImgs', pause:1
	});

});
