$(function(){
    $('.hidden-template').children().clone().insertAfter(".thumbs li:nth-child(18)");  
});
