title: Remove Head content and/or body tags found within parent page body
body: <p>Because of my cms tool, I need to add a <code>&lt;head&gt;</code> and <code>&lt;body&gt;</code> to some include files on my site. For obvious reasons, I don't want the parent page to see the &lt;<code>head&gt;</code> region or <code>&lt;body&gt;</code> tags of the included page. The cms has a standard if, else rule I'm using on.ready to apply rules based on being logged in/out of the cms. </p>
  
  <p>I'm wondering if there is a way with jquery, to within the parents body: (1) remove all <code>&lt;head&gt;</code> tags and all content within, and (2) remove <code>&lt;body&gt;</code> tags, but keep their content.</p>
  
  <p>Any help would be appreciated. Thanks.</p>