	//	Call Elements that are needed either for Width/Height.
	function MenuLayout()
		{
			this.td_leap = document.getElementById(MenuLayout.td_leap);
			this.td_jump = document.getElementById(MenuLayout.Content);
		}
		
	MenuLayout.td_leap = "td_leap";
	MenuLayout.Content = "td_jump";

	//	Document how many times the page has attempted to Initialize.
	MenuLayout.retries = 0;

	//	Function to revalidate the page layout.
	MenuLayout.prototype.revalidate = MenuLayout_revalidate;
	
	function MenuLayout_revalidate()
		{
			//	Declare Variables to determine where on the page the Content is located
			//		and where the ScrollBar needs to be repositioned.
			var winW = document.all? document.body.offsetWidth-0: window.innerWidth;
			var winH = document.all? document.body.offsetHeight-0: window.innerHeight;

			//	Declare how much Width is (not)needed to position the Scrollbar properly.
			//var w = winW - 0;
			
			//	Declare how much Height is (not)needed to position the Scrollbar properly.
			//	In this case we are taking the first TR tags before the DIV to determine how low into the page it starts.
			var h = winH - this.td_leap.offsetHeight;

			//	Make sure the Width Variable is Positive.
			//if(w>0)
			//	this.td_jump.style.width = w + "px";

			//	Make sure the Height Variable is Positive.				
			if(h>0)
				this.td_jump.style.height = h + "px";
		}

	//	Determine if the Variables being called are in fact valid.
	function MenuLayout_isDOMValid()
		{
			return		document.getElementById(MenuLayout.td_leap) &&
							document.getElementById(MenuLayout.Content);
		}
		
	
	function MenuLayout_addEventListener(target, evtType, handler)
		{
			if(document.all)
				{
					//	IE
					if(evtType.substring(0, 2)!="on")
						evtType = "on" + evtType;
						target.attachEvent(evtType, handler);
				}
			else
				{
					//	Mozilla
					if(evtType.substring(0, 2)=="on")
						evtType = evtType.substring(2, evtType.length);
						target.addEventListener(evtType, handler, false);
				}
		}

	function MenuLayout_initialize()
		{
			if(!MenuLayout_isDOMValid())
				{
					//	Retry amount to put forth new Scrollbar Positioning, different pages have
					//		different load times so feel free to change this as needed (only higher).
					if(MenuLayout.retries<1000)
						{
							MenuLayout.retries++;
							setTimeout("MenuLayout_initialize()", 1000);
						}
					return;
				}

				//	Construct object, then revalidate it.
				var mnLayout = new MenuLayout();
				mnLayout.revalidate();

				//	If the Browser Window is resized we want the Scroll Bar to also reposition depending on window.innerWidth/innerHeight.
				var revalidatorFunction = function()
					{
						mnLayout.revalidate();
					};
				
				//	If Window is resized, call the function.
				MenuLayout_addEventListener(window, "resize", revalidatorFunction);
		}

	//	Initialize here to alleviate the need to call it on a body onload tag in each page.
	MenuLayout_initialize();
