/*scroll ricevuto da Ayco, funziona in combinazione con un altro script (jquery-1.3.1.min.js) la cui fonte deve essere sempre specificata insieme a  questo*/
/*ho creato 2 modelli, slow e fast, perche' a seconda del contentuo lo scroll e' piu o meno rapido. Con solo testo e' molto rapido, con tabelle e links e lento e necessita un oscroll piu rapido*/
		
			var scrollTimer = null;
			var scrollDiv = null;
			
			// the lower the value the faster the scrolling;
			var interval = 1;
			
			function scrollUp() {
				scrollTimer = setInterval("up();",interval);
			};
			
			function scrollDown() {
				scrollTimer = setInterval("down();",interval);
			};
			
			function noScroll() {
				clearInterval(scrollTimer);
			};		
			
			function up() {
				var current = scrollDiv.scrollTop();
				if(current == 0) {
					return;
				}
				scrollDiv.scrollTop(current-1);// the higher the value the faster the scrolling;
			};
			
				
			
			function down() {
				var current = scrollDiv.scrollTop();
				scrollDiv.scrollTop(current+1);// the higher the value the faster the scrolling;
			};
			
			$(document).ready(function() {
				scrollDiv = $("#divCont");
			});
//-->
