		var VisibleSection = null;	
		
		function Automobile(newSection)
		{
			if (VisibleSection == null)
				VisibleSection = document.getElementById("AutoInsurance");
			
			if (VisibleSection == document.getElementById(newSection))
				return false;
			
			var fader = new CrossFader(VisibleSection, -50);
			fader.OnComplete = function()
			{
				VisibleSection.style.display = "none";
				newSection = document.getElementById(newSection);
				var newFader = new CrossFader(newSection, 20);
				newFader.Fade();
				newSection.style.display = "block";
				VisibleSection = newSection;
			}
			fader.Fade();
			
			document.getElementById("container").focus();
			return false;
		}
		
		function CrossFader(element, increment)
		{
			var This = this;
			this.OnComplete = function() {};
			var Opacity = increment > 0 ? 0 : 100;
			
			this.Fade = function()
			{
				Opacity += increment;
				element.style.opacity = element.style.MozOpacity = Opacity / 100;
				element.style.filter = "alpha(opacity=" + Opacity + ")";
				
				if ((increment < 0 && Opacity <= 0) || increment > 0 && Opacity >= 100)
				{
					this.OnComplete();
				}
				else { setTimeout(function() { This.Fade(); }, 10); }
			}
		}
		
