Moved Document Resources code

from IntranetResources template to IntranetDocumentResources template