		function TextFlow(MasterNodeID, TimeOut)
		{
			this.ObjectName = "";
			this.Texts = new Array();
			this.TimeOut = TimeOut;
			
			this.GetById = GetById;
			this.Init = Init;
			this.Start = Start;
			this.Smooth = Smooth;
			this.SmoothInterval = 30;
			
			function GetById(NodeID)
			{
				return(document.getElementById(NodeID));
			}
			
			function Init()
			{
				var ChildrenNodes = GetById(MasterNodeID).getElementsByTagName("p");
				
				for(ChildIndex = 0; ChildIndex < ChildrenNodes.length; ChildIndex++)
				{
					var Node = ChildrenNodes[ChildIndex];
					var ParentNodeID = ChildrenNodes[ChildIndex].parentNode.id;
					
					this.Texts[ChildIndex] = new Array(ParentNodeID, false);
					GetById(ParentNodeID).style.opacity = "0.0";
					GetById(ParentNodeID).style.filter = "alpha(opacity=0)";
					GetById(ParentNodeID).style.display = "none";
					
					if(ChildIndex == 0)
					{
						this.Texts[ChildIndex][1] = true;
						this.Smooth(this.Texts[ChildIndex][0], true, this.SmoothInterval);
					}
				}
				
				var This = this;
				setTimeout(function()
				{
					This.Start();
				}, this.TimeOut);
			}
			
			function Start()
			{
				for(PhotoIndex = 0; PhotoIndex < this.Texts.length; PhotoIndex++)
				{
					if(this.Texts[PhotoIndex][1])
					{
						this.Smooth(this.Texts[PhotoIndex][0], false, this.SmoothInterval);
						this.Texts[PhotoIndex][1] = false;
						
						if(this.Texts[(PhotoIndex + 1)])
						{
							this.Texts[(PhotoIndex + 1)][1] = true;
							this.Smooth(this.Texts[(PhotoIndex + 1)][0], true, this.SmoothInterval);
						}
						else
						{
							this.Texts[0][1] = true;
							this.Smooth(this.Texts[0][0], true, this.SmoothInterval);
						}
						
						var This = this;
						setTimeout(function()
						{
							This.Start();
						}, this.TimeOut);
						
						return(true);
					}
				}
			}
			
			function Smooth(NodeId, Show, Interval)
			{
				var Opacity = GetById(NodeId).style.opacity * 100;
				
				if(Show)
				{
					Opacity += 10;
				}
				else
				{
					Opacity -= 10;
				}
				
				GetById(NodeId).style.opacity = (Opacity / 100);
				GetById(NodeId).style.filter = "alpha(opacity="+Opacity+")";
				
				if(Opacity <= 0)
				{
					GetById(NodeId).style.display = "none";
				}
				else
				{
					GetById(NodeId).style.display = "block";
				}
				
				if((Show && Opacity < 100) || (!Show && Opacity > 0))
				{
					var This = this;
					
					setTimeout(function()
					{
						This.Smooth(NodeId, Show, Interval);
					}, Interval);
				}
			}
		}
		
		window.onload = function()
		{
			TextFlowTop = new TextFlow("infos_top_line_back", 5000);
			TextFlowTop.Init();
			
			TextFlowBottom = new TextFlow("info_bottom", 5000);
			TextFlowBottom.Init();
		}