Filling area with various sized tiles maximum spaced used
<p>How to i fille varisus sizes of tiles to specifica area with maximum space used.
Tile order is not important.</p>

<p>I have tiles like those <a href="http://vps.infira.ee/temp/before.html" rel="nofollow">http://vps.infira.ee/temp/before.html</a>
I want that algorith doest that <a href="http://vps.infira.ee/temp/after.html" rel="nofollow">http://vps.infira.ee/temp/after.html</a> (i do that mannualy :) )</p>

<p>I would like to use this algorithm in javascript.</p>

<p>Thanks</p>
