			var dom = (document.getElementById)? true:false;
			var ie = (document.all)? true:false;

			function SetToXY(DivId,x,y)
			{
			try
			{ 
					if (dom)
							{
							document.getElementById(DivId).style.left = x;
							document.getElementById(DivId).style.top = y;
							}
					if (ie) 
							{
							document.all[DivId].style.posLeft = x;
							document.all[DivId].style.posTop = y;
							}
					}
			catch (Identificateur)
				{
						setTimeout("SetToXY('"+DivId+"','"+x+"','"+y+"');",1000);		
				} 
			}
			// renvoie la largeur du div
			function getWidth(DivId)
				{
				try
					{ 
						if (dom){
							return (document.getElementById(DivId).offsetWidth);
							}
						if (ie) 
							{return (document.all[DivId].clientWidth);
								}
						}
				catch (Identificateur)
					{
						setTimeout("getWidth('"+DivId+"');",1000);		
					}
				}
			// gestion du scroll
		var TimerScroll;
		function PosLeftScroll()
			{
			if(document.scrollForm.PosLeftGo.value<=-limite)
				{
						window.clearTimeout(TimerScroll);
				}
			else
				{
				// deplacement
				document.scrollForm.PosLeftGo.value=parseInt(document.scrollForm.PosLeftGo.value)-3;
				SetToXY('ScrollDiv',document.scrollForm.PosLeftGo.value,0);
				TimerScroll=setTimeout("PosLeftScroll()",20);
				}
			}
		function PosRightScroll()
			{
			if(document.scrollForm.PosLeftGo.value==0)
				{
				document.scrollForm.PosLeftGo.value=0;
				SetToXY('ScrollDiv',document.scrollForm.PosLeftGo.value,0);
				TimerScroll=setTimeout("PosRightScroll()",20);
				}
			else
				{
				// deplacement
				document.scrollForm.PosLeftGo.value=parseInt(document.scrollForm.PosLeftGo.value)+3;
				SetToXY('ScrollDiv',document.scrollForm.PosLeftGo.value,0);
				TimerScroll=setTimeout("PosRightScroll()",20);
				}
			}	
		function PosTopScroll()
			{
			if(document.scrollForm.PosLeftGo.value<=-limite)
				{
						window.clearTimeout(TimerScroll);
				}
			else
				{
				// deplacement
				document.scrollForm.PosLeftGo.value=parseInt(document.scrollForm.PosLeftGo.value)-3;
				SetToXY('ScrollDiv',0,document.scrollForm.PosLeftGo.value);
				TimerScroll=setTimeout("PosTopScroll()",20);
				}
			}
		function PosBottomScroll()
			{
			if(document.scrollForm.PosLeftGo.value==0)
				{
				document.scrollForm.PosLeftGo.value=0;
				SetToXY('ScrollDiv',0,document.scrollForm.PosLeftGo.value);
				TimerScroll=setTimeout("PosBottomScroll()",20);
				}
			else
				{
				// deplacement
				document.scrollForm.PosLeftGo.value=parseInt(document.scrollForm.PosLeftGo.value)+3;
				SetToXY('ScrollDiv',0,document.scrollForm.PosLeftGo.value);
				TimerScroll=setTimeout("PosBottomScroll()",20);
				}
			}	
			
		function StopScroll()
			{
			window.clearTimeout(TimerScroll);
			}	

