// JavaScript Document Pour texte deroulant sur site eitic
	var ccvscroller = {
		speed: [],
		rspeed: [],
		setHeight: [],
		height: [],
		layer: [],

		start: function(id,height,speed){
			this.speed[id] = speed;
			this.rspeed[id] = speed;
			this.setHeight[id] = height;

			if (document.all) {
				this.layer[id] = eval('ccvscrollerid'+id);
				this.layer[id].style.pixelTop = this.setHeight[id];
				this.height[id] = this.layer[id].offsetHeight;
				this.iescroll(id);
			}else if (document.getElementById) {
				this.layer[id] = document.getElementById('ccvscrollerid'+id);
				this.layer[id].style.top = this.setHeight[id]+'px';
				this.height[id] = this.layer[id].offsetHeight;
				this.domscroll(id);
			}
		},

		iescroll: function(id){
			if (this.layer[id].style.pixelTop>=this.height[id]*(-1)){
				this.layer[id].style.pixelTop -= this.speed[id];
				setTimeout('ccvscroller.iescroll('+id+')',70);
			}else{
				this.layer[id].style.pixelTop = this.setHeight[id];
				this.iescroll(id);
			}
		},

		domscroll: function(id){
			if (parseInt(this.layer[id].style.top)>=this.height[id]*(-1)){
				this.layer[id].style.top = (parseInt(this.layer[id].style.top)-this.speed[id])+'px';
				setTimeout('ccvscroller.domscroll('+id+')',70);
			}else{
				this.layer[id].style.top = this.setHeight[id]+'px';
				this.domscroll(id);
			}
		}
	}

	function defiler_texte()	{	ccvscroller.start(1,60,1);	}
	document.onload=defiler_texte;
