var newFilter = '';
$(document).ready(function() {	
	$("div.item").hide();
	$("#form_thanks").hide();
	$("#content #item-overview a.item").click(function() {
		$('html, body').animate({scrollTop:0}, 800);
		$("#content").slideUp(1200);
		$("#item-overview").hide(1200);
		$('#' + $(this).attr('title') + '').show(1200);
		$("#content").slideDown(2000);
	});
	$(".return").click(function() {
		$("div.item").hide();
		$("#item-overview").fadeIn(700);
	});
	$('.haze').hover(
		function () {
			$(this).animate({opacity:'0.2'}, {queue:false,duration:300});
		},
		function () {
			$(this).animate({opacity:'1'}, {queue:false,duration:300});
		}
	);
});
$(window).load(function() {
	$('#text1 div.center, #text2, #text3, #text4').textfill({ maxFontPixels: 300, innerTag: 'span' });
});
