
		/********************************************************************************
		This script is made by and copyrighted to Thomas Brattli at www.bratta.com
		Visit for more great scripts. 
		This may be used freely as long as this msg is intact!
		********************************************************************************
		Browsercheck:*/
		ie=document.all?1:0
		n=document.layers?1:0
		
		//If you want it to move faster you can set this lower:
		var speed=50
		
		//Sets variables to keep track of what's happening
		var loop, timer
		
		//Object constructor
		function makeObj(obj,nest,contHeight,contTop,ClipHeight,ClipWidth){
			this.ClipHeight = ClipHeight;
			this.ClipWidth = ClipWidth;
		    if (document.all || document.getElementById){
				//IE4 IE6 N6
				this.css = eval("document" + layerRef + "'" + nest + "'" + styleRef);
				this.scrollHeight = eval("document" + layerRef + "'" + obj + "'" + strParentesi + ".offsetHeight");
				this.contTop = contTop;
				this.endScroll = -this.scrollHeight + contTop + this.ClipHeight;
			}
			else{
				//N4
				nest = "document." + nest + "."; //document.corpo_1.
				this.css = eval(nest+'document.'+obj);
				this.scrollHeight = this.css.document.height;
				this.contTop = 0;
				this.endScroll = -this.scrollHeight + contHeight;
			}
			this.contHeight = contHeight;
			this.up = goUp
			this.down = goDown
			this.sposta = sposta;
		    this.obj = obj + "Object"
		    eval(this.obj + "=this")
		    return this
		}
		//Makes the object go up
		function goDown(move){
			if(parseInt(this.css.top) > this.endScroll){				
				this.css.top = parseInt(this.css.top) - move;
				y1 = this.contTop - parseInt(this.css.top);
				y2 = this.ClipHeight + y1;
				this.css.clip = "rect(" + y1 +"px " + this.ClipWidth + "px "+ y2 +"px 0px)"; 
				if(loop) timer = setTimeout(this.obj+".down("+move+")",speed)
				//alert("move");
			}
		}
		//Makes the object go down
		function goUp(move){
			if(parseInt(this.css.top) < this.contTop){
				this.css.top = parseInt(this.css.top) + move
				y1 = this.contTop - parseInt(this.css.top);
				y2 = this.ClipHeight + y1;
				this.css.clip = "rect(" + y1 +"px " + this.ClipWidth + "px "+ y2 +"px 0px)"; 
				if(loop) timer = setTimeout(this.obj+".up("+move+")",speed)
			}
		}
		// Psizione il layer nella posizione desiderata.
		function sposta(iTop){
			this.css.top=iTop;
			//this.css.top = parseInt(this.css.top) + move
			y1 = this.contTop - parseInt(this.css.top);
			y2 = 118 + y1;
			this.css.clip = "rect(" + y1 +"px 450px "+ y2 +"px 0px)"; 
		}
		//Stops the scrolling (called on mouseout)
		function noScroll(){
			loop=false
			clearTimeout(timer)
		}
		//Makes the object
		function scrollInit(){
			if(eval("document" + layerRef + "'divCont_1'" + strParentesi)){
				contHeight_1 = DivFunction("divCont_1","height");
				contTop_1 = DivFunction("divCont_1","top");
				oScroll_1 = new makeObj("divText_1","divCont_1",contHeight_1,contTop_1,94,143);
			}
			if(eval("document" + layerRef + "'divCont_fase1'" + strParentesi)){
				
				iTopInfo = DivFunction("divCont_fase1","top")
			
				contHeight_Text = DivFunction("divCont_fase1","height");
				contTop_Text = DivFunction("divCont_fase1","top");
				oScroll_Text = new makeObj("divText_fase1","divCont_fase1",contHeight_Text,contTop_Text,118,153);
			}	
			if(eval("document" + layerRef + "'divCont_Text'" + strParentesi)){
			
				iTopInfo = DivFunction("divCont_Text","top")
			
				contHeight_Text = DivFunction("divCont_Text","height");
				contTop_Text = DivFunction("divCont_Text","top");
				oScroll_Text = new makeObj("divText_Text","divCont_Text",contHeight_Text,contTop_Text,118,148);
			}
			if(iVisDef)VisibleInfo(iVisDef);
		}
		//Call the init on page load
		//onload=scrollInit;
		
		// Estra la proprietà richiesta in funzione del Browser.
		function DivFunction(div,property){
			if (document.all || document.getElementById){
				//IE4 IE6 N6
				contProperty = parseInt(eval("document" + layerRef + "'" + div + "'" + styleRef + "." + property));
			}
			else{
				//N4
				contProperty = eval("document." + div + ".clip.bottom");
				//document.corpo_1.
			}
			return contProperty;
		}