$( function()
{
	updateOrientation();
	setTimeout( loaded, 50 );
	setTimeout( loaded, 1000 );
})

function loaded()
{
	window.scrollTo( 0, 1 );
}

function updateOrientation()
{
	var ort = window.orientation
	var scrolly = window.scrollTop	

	if( ort == 0 )
	{
		$("body").addClass("vert")
		$("html, body").css("width","320px")
	}
	else
	{
		$("body").removeClass("vert")
		$("html, body").css("width","480px")
	}

}

