$(document).ready(function(){

	$('#notice').fadeIn('slow', function() {
	});

	$("#assets a").hover(
		function() {
		  $(this).stop().animate({
		    marginTop: '0',
		    paddingTop: '10',
		  }, 500, function() {
		  });
		},
		function() {
		  $(this).stop().animate({
		    marginTop: '-55',
		    paddingTop: '0',
		  }, 500, function() {
		  });
	});

	$("div.items div.item").each(function(){
	  var h = $(this).outerHeight();
	  $(this).data("height", h-3);
	});
	
	$(".scrollable").scrollable({
	circular: true,
	vertical: true,
	mousewheel: true,
	speed: 1200,
	 onSeek : function(){
        var container = this.getRoot(),
	items = this.getItems(),
	index = this.getIndex(),
	h = $(items[index]).data("height");
    container.animate({height:h},250);
}
}).navigator(".navi").autoscroll({ autoplay: true});

	var firsth = $('div.items div.item:eq(1)').outerHeight();
	$('#twitter').animate({height:firsth-3},250);
	
});



