$(document).ready(function() {

	//Scroll function to determine when to show/hide things
	$(window).scroll(function() {
		if (window.pageYOffset >= 20) {
			$('.menu').css('display', 'none');
		}else{
			$('.menu').css('display', 'inherit');
		}
		if (window.pageXOffset <= 20) {
			$('#back').css('display', 'none');
		}else{
			$('#back').css('display', 'inherit');
		}
	});
	
	//Determine what page we are on and adjust our content-scroll div accordingly
	//Picture Set: Adjust the numbers in .width(###) as needed to determine the proper width for a set.
	//Picture Set: Remember to compensate for the back button, which is 55px wide.
	//Footer: Adjust the footer the same way by giving it the same width as the picture set + 364 pixels.
	//Footer: You need to compensate, because the footer is flushed to the far left edge of the browser.
	/*var path = window.location.pathname;
	//alert('Browsing '+path);
	if(path == '/' || path == '/dustin/portrait/') {
		$('.entry-content').width(17244);
		$('#footer').width(17608);
	}else if(path == '/decay') {
		$('.entry-content').width(4690);
		$('#footer').width(5054);
	}else if(path == '/other') {
		$('.entry-content').width(9854);
		$('#footer').width(10218);
	}else{
		return false;
	}*/
	
});