$(this).parents(".article").each(function (index) {
      pathtmp = $(this).attr("id") + " " + pathtmp;
    });