if (navigator.userAgent.indexOf("iPhone") != -1 || navigator.userAgent.indexOf("iPad") != -1)
{   
	 
	//Strange bug found in Safari Mobile. Background image does not stay fixed. This fixes it, but not a lovely solution.
	$(document).scroll(function () {
		$("body").css("background-position", '0px ' + window.pageYOffset + 'px');
	});
	
	//Strange bug found in Safari Mobile in IOS 5. The body displays it's background image as if it is the wrong height. This corrects it.
	$(window).load(function() {
    	$("body").css("height", $(document).height() + "px");
	}); 
	
}
