anchor.diff:            </button>
           </div>
       </div>
  +  <%elsif document.class==Officedoc%>
  +    <div class="tab-pane <%= document_details_tab_class document, :embed %>" id="document-embed">
  +      <p><%=t("document.embed_explanation")%></p>      
  +      <div class="contentembed">
  +      <textarea class="shortUrl" readonly="true" rows="6" id="textarea_for_iframe4" type="text">&lt;iframe src="http://docs.google.com/viewer?url=<%= Site.current.config[:documents_hostname] + document.file.url[1..-1] %>&embedded=true" width="100%" height="500" style="border: none;"&gt;&lt;/iframe&gt;</textarea>
  +
  +      <button class="btn" id="btn_copy_embed4" href="#" data-toggle="tooltip" data-placement="right" title="<%=t('copy_to_clip')%>">
  +            <i class="icon-copy large"></i>
  +          </button>
  +        </div>
  +    </div>
     <%end%>
   
     <div class="tab-pane" id="tab3">
  
positive.code:       <%= link_to (raw("<i class='icon-edit'></i> <span class='hidden-tablet hidden-phone'>")) + t('document.actions.edit')+ raw("</span>"), '#document-edit', 'data-toggle' => 'tab' %>
      </li>
      <% end %>
      <%if document.class==Video || document.class==Audio || document.class==Picture || document.class==Swf || document.class==Embed%>
        <li class="<%= document_details_tab_class document, :embed %>">
            <%= link_to (raw("<i class='icon-code'></i> <span class='hidden-tablet hidden-phone'>")) + t('excursion.actions.embed')+ raw("</span>"), '#document-embed', 'data-toggle' => 'tab' %>
        </li>
  
negative.code: <%if document.class==Video || document.class==Audio || document.class==Picture || document.class==Swf || document.class==Embed || document.class==Officedoc%>
    <%=javascript_include_tag "jquery.zclip.min" %>
    <script type="text/javascript">
      $(document).ready(function(){
  