Updated new masterpage from Jay.

Updated code to Linq.