A prodded note on focus stacking!
So, everyone should know that when taking a picture of anything you always have to keep in mind your intended 'depth of focus' by adjusting the aperture. Sometimes though even if you crank it up to f/26 or more, you don't get the depth you need. In this case you can try out a software made for stacking 'focuses' "CombineZM" , sort of analogous to an HDR image in that it's a stack of exposures.
You need a tripod, and preferably a remote. Fix camera on tripod, set focus to manual... and focus on the closest point in your scenery. What you want to do after that is slightly twist that focus ring going from closest object in focus to farthest and snap a shot at each new focal plane. Of course it helps to have an f/stop of 8-15 if conditions allow so you don't have to take really tiny focal increments.
In the end you end up with a bunch of pictures, slap them into CombineZM and off you go!
End Result (best click to view large) :