// JavaScript Document
	var ParameterScrollSpeed = 3;

	//Global Function Variables
	var iWindowHeight = 0;
	var iCurrentYPosition = 0;
	var oTimeoutThread;
	var iLastPosition = -1;

	function ScrollDown() {
		SetSize();
		ScrollToBottom();
	}

	function ScrollToBottom() {
		iLastPosition = iCurrentYPosition;
		SetCurrentScrollPosition();
		
		if ((iLastPosition != iCurrentYPosition) || (iCurrentYPosition == 0))  {
			window.scrollBy(0, ParameterScrollSpeed);
			oTimeoutThread = setTimeout("ScrollToBottom()", 10);
		} else {
			clearTimeout(oTimeoutThread);
		}
	}

	function SetSize() {
		if (typeof(window.innerWidth) == 'number') {
			//Non-IE
			iWindowHeight = window.innerHeight;
		} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
			//IE 6+ in 'standards compliant mode'
			iWindowHeight = document.documentElement.clientHeight;
		} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
			//IE 4 compatible
			iWindowHeight = document.body.clientHeight;
		}
	}
	
	function SetCurrentScrollPosition() {
		if (typeof(window.pageYOffset) == 'number') {
			//Netscape compliant
			iCurrentYPosition = window.pageYOffset;
		} else if (document.body && (document.body.scrollLeft || document.body.scrollTop)) {
			//DOM compliant
			iCurrentYPosition = document.body.scrollTop;
		} else if (document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) {
			//IE6 standards compliant mode
			iCurrentYPosition = document.documentElement.scrollTop;
		}
	}
