

	// try to scroll to a possible specified location
	scrollIntervalID = setInterval("tryToScroll()", 50)


	// is there a hash, then try to scroll to it
	function tryToScroll()
	{
		var hash = document.location.hash;

		if (hash.length > 0)
		{
			switch (hash.substr(1))
			{
				case "menu"				: scrollTo(0, 337); break;
				case "kies"					: scrollTo(0, 317); break;
				case "voorKinderen"		: scrollTo(0, 1692); break;
			}

			clearInterval(scrollIntervalID);
		}
		else
		{
			clearInterval(scrollIntervalID);
		}
	}

