var scale = Math.min( availableWidth / contentWidth, availableHeight / contentHeight );

If you're looking...

Life is at its best when you're connected in Worship, Service and Community.