Here is the version with my modifications over Mike's version. Please feel 
free
to make modifications/corrections.

Osman