generates document preview block for SharePoint 2010 pages