// script

/*$(document).ready(function() {
	
	
	//set the variables for all functions 
	var update = function() {
		scrollContainer = $("#scrollcontainer").height();	
		containerHeight = $("#scrollcontent").height();
		slideDistance = $("#scrollcontent").position().top;
		limit = containerHeight + slideDistance;	
		
		
		
		//hide the scroll buttons when the content is too short for scrolling
		if (containerHeight<scrollContainer)
			{
			$("#controls").css("display","none");
			}
	
	}; update();
	
	
	
	//tell the scroller when to stop scrolling
	$("#down").click(function(){
		
		update();
			
		if (limit>"260")
			{
			$("#scrollcontent").stop().animate({top:"-=170px"});
			}
	
		return false;
	});

	
	
	//scroll back to top
	$("#up").click(function(){		
		$("#scrollcontent").animate({top:"0"});	
		
		return false;
		
	});
	



});*/



$(document).ready(function() {

		$("#scrollcontainer").jScrollPane();
		

});
