var nCheckTimeOut = 0;
///////////////////////////////////////////////////////////////////////////////////////////////
function IsScrolled() {
	if(nCheckTimeOut) {
		clearTimeout(nCheckTimeOut);
		nCheckTimeOut  = 0;
	}
	nScrollY = (parseInt(window.scrollY||document.documentElement.scrollTop||document.body.scrollTop));
	if (nScrollY >= 315) {
		document.getElementById('BackToTop').style.display = 'block';
	} else {
		document.getElementById('BackToTop').style.display = 'none';
	}
	nCheckTimeOut = setTimeout("IsScrolled()", 100);
}
///////////////////////////////////////////////////////////////////////////////////////////////
function StartCheck() {
	nCheckTimeOut = setTimeout("IsScrolled()", 100);
}


