SELECT Extention, Header, Body FROM tblDocuments INNER JOIN tblDTypes ON tblDocuments.DTypeID=tblDTypes.DTypeID WHERE tblDocuments.Closed IS NULL AND Hidden=0 AND DocumentID=397