		window.onload = function() {
		  setTimeout(function(){window.scrollTo(0, 1);}, 100);
		}

		JAVASCRIPT:
		addEventListener("load", function()
		{
			setTimeout(updateLayout, 0);
		}, false);

		var currentWidth = 0;

		function updateLayout()
		{
			if (window.innerWidth != currentWidth)
			{
				currentWidth = window.innerWidth;

				var orient = currentWidth == 320 ? "portrait" : "landscape";
				document.body.setAttribute("orient", orient);
				setTimeout(function()
				{
					window.scrollTo(0, 1);
				}, 100);
			}
		}

