$(document).ready(function(){
    $('.post_table').each(function(){
        $(this).find(".tg_img").append($(this).find("img:first"));
    })
})
