-var timezoneid = ViewData["timezoneid"].ToString()
-var doc = ViewData["document"] as CompanyDocument
%style table.data td{font-size: 8pt;}
.padded10
  %h1=string.Format("{0}: {1}",HtmlHelper.Resource("Company.Document"), (string.IsNullOrEmpty(doc.NameFromUser)?doc.Name:doc.NameFromUser))
    %a.button{href=string.Format("companydocumenthistory.ivp/excel/{0}",doc.Id),target="_blank"}=HtmlHelper.Resource("Task.ExportExcel")
  #tableholder
    _table/table