$(document).ready(function(){
/*
	$('.coastline').css('height', $(window).height());
	$('.coastline').css('width', $(window).width());
	
	$('.blackout').css('display','block');
	$('.blackout').fadeOut(1000, function() {
		//$(this).siblings('.'+href).fadeIn('medium');
	});
	
	var contentHeight = 800;
	var contentWidth = 1098;
	var winHeight = $(window).height();
	var winWidth = $(window).width();
	if(winWidth>1098){
		$('.design-top, .design-bottom').css('left', (winWidth - 1118)/2);
	}
	if(contentHeight > winHeight){
		$('.coastline').css('height', 'auto');
		$('.coastline').css('width', $(window).width());
	}

	if(contentHeight<winHeight){
	$('.content').css('marginTop', (winHeight-contentHeight)/2);
	}
	if(contentWidth > winWidth){
		$('.coastline').css('width', contentWidth);
	}

	$(window).resize(function(){
		var contentHeight = 700;
		var contentWidth = 1098;
		var winHeight = $(window).height();
		var winWidth = $(window).width();
		if(winWidth>1098){
		$('.design-top, .design-bottom').css('left', (winWidth - 1118)/2);
		}

		if(contentHeight<winHeight){
		$('.content').css('marginTop', (winHeight-contentHeight)/2);
		}
		
		$('.coastline').css('height', $(window).height());
		$('.coastline').css('width', $(window).width());
		if(contentHeight > winHeight){
			$('.coastline').css('height', 'auto');
			$('.coastline').css('width', $(window).width());
		}
		if(contentWidth > winWidth){
			$('.coastline').css('width', contentWidth);
		}
	});
	
	if($('.super-newsletter').hasClass('window-resize')){
		window.resizeTo(500,300);
	}*/
	
	$('li.videos a').click(function(){
		
		window.location = "videos.html";
	});
	
	$('.player-off li a').click(function(){
		var url = $(this).parent().attr('class');
		console.log('mooby');
		window.location = url+".html";
	});

	
	
});


