select content of div from certain offset
<p>I'd like to select all the contents of a division from a certain height, using the height as a sort of offset. I load data from a database, put it in a div, and then get the height of the div:</p>

<pre><code>&lt;div id='gtheight' style='display:none;'&gt;
&lt;!--content is returned from database here--&gt;
 &lt;/div&gt;
</code></pre>

<p>i get the height of the div:</p>

<pre><code>var heit=$(\"#gtheight\").height();
</code></pre>

<p>I have a threshold of 470px. If the content returned gives the div a height of anything more than 470px, the surplus content should be extracted, and placed in another div. So if the content gives a height of 500px, content occupying the last 40px or so (i add a surplus to the difference for appearance reasons) should be taken and placed into another 
div(500-470=30px, i add 10px to give 40px). I know i can't do this:</p>

<pre><code> divsaved.innerHTML=divloaded.innerHTML;//where divloaded is the variable relating
 //to the data from the db.
</code></pre>

<p>because that'll just put all the html from div1 to div2. So is there a way to do this using javascript?</p>
