// JavaScript Document
$(document).ready(function() {
   $('div.upbtn').click(function(){
	 $('div#ytvlst').scrollTo( '-=310', 1500, {easing:'elasout'} );
   });
   $('div.downbtn').click(function(){
	 $('div#ytvlst').scrollTo( "+=310", 1500, {easing:'elasout'} );
   });
 });

jQuery(function( $ ){
	//borrowed from jQuery easing plugin
	//http://gsgd.co.uk/sandbox/jquery.easing.php
	//modified to provide half amplitude.
	$.easing.elasout = function(x, t, b, c, d) {
		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
	};	
});