$(document).ready(function() {
	
	$('a.panel').click(function () {
//		$('a.panel').removeClass('selected');
//		$(this).addClass('selected');
//		current = $(this);
		$.scrollTo($(this).attr('href'), 800);		
		return false;
	});	
	//$(window).resize(function () {
//		resizePanel();
//	});

});

//function resizePanel() {
//
//	width = $(window).width();
//	height = $(window).height();
//
//	mask_height = height * $('.item').length;
//		
//	$('#debug').html(width  + ' ' + height + ' ' + mask_height);
//	
//	$('#air, .item').css({width: width, height: height});
//	$('#mask').css({width: width, height: mask_height});
//	$('#air').scrollTo($('a.selected').attr('href'), 0);
//		
//}
