	$(document).ready(function(){
		//SHARE BUTTONS
		var switchTo5x=true;
		stLight.options({publisher:'f5e33be6-f76b-4515-81d2-b31ec3018177'});
		
		if ($(window).width() >! 480) {
		$('#watch_the_video a').nyroModal();
		}
		$('.nyroModal').nyroModal();
	});
	
	function initTimeline() {
		
		$('#coda-slider-1').codaSlider({
			autoSlide: false,
			dynamicTabs: false,
			crossLinking: true,
			slideEaseDuration: 1500,
			slideEaseFunction: 'easeInOutQuint',
			autoHeight: true
		});
		
		
		$.each( $('#what-to-come nav li'), function(index) {
			if ( $(this).attr('class') == "xtrig current" ) {
				$(this).find('a').fadeIn();
				$(this).find('span').fadeIn();
				$(this).attr('id','current')
			}
			if ($(window).width() > 480) {
				
				$(this).hover(function() {
					var myID = $(this).attr('id');
					if ( myID != 'current' ) {
						$(this).find('a').fadeIn();
						$(this).find('span').fadeIn();
					}
				}, function() {
					var myID = $(this).attr('id');
					if ( myID != 'current' ) {
						$(this).find('a').fadeOut();
						$(this).find('span').fadeOut();
					}
				});
			}

			$(this).click(function() {
				
				
				$.each( $('#what-to-come nav li'), function() {
					if ( $(this).attr('id') == 'current' ) {
						$(this).attr('id','');
						$(this).find('a').fadeOut();
						$(this).find('span').fadeOut();
					}
				});
				
				$(this).find('a').show();
				$(this).find('span').show();
				
				$(this).attr('id','current');
				
				
				
				
			});
			
		});
	}
	
	
	function initBlog() {
	
		$.each( $('#blog article .img img'), function() {
			$(this).removeAttr('width').removeAttr('height');
		});
	
	}
	
