function updateOrientation() {
	var orientation=window.orientation;
	$(function() {
		$("img.full").height($(document).height());
		$("img.overlay").height($(document).height());
	})
}

// Point to the updateOrientation function when iPhone switches between portrait and landscape modes.
window.onorientationchange=updateOrientation;
