$(document).ready(function() {
 

   var itemindex = 0;
   var Jlistobj = null;
   $('.resmal > ul > li').each(function()
   {
      if (itemindex % 10 == 0)
      {
         Jlistobj = $("<ul id=\"child\"></ul>");
      }
      Jlistobj.append($(this));
      $('#out_div').append(Jlistobj);
      itemindex++;
   });

});