Сабж, как это сократить?
for (var i=0;i!=$(this).children().length;i++) {
if (i==1) document.write($(this).children().next().attr('id'));
if (i==2) document.write($(this).children().next().next().attr('id'));
if (i==3) document.write($(this).children().next().next().next().attr('id'));
if (i==4) document.write($(this).children().next().next().next().next().attr('id'));
if (i==5) document.write($(this).children().next().next().next().next().next().html());
if (i==6) document.write($(this).children().next().next().next().next().next().next().html());
if (i==7) document.write($(this).children().next().next().next().next().next().next().next().html());
if (i==8) document.write($(this).children().next().next().next().next().next().next().next().next().html());
if (i==9) document.write($(this).children().next().next().next().next().next().next().next().next().next().html());
if (i==10) document.write($(this).children().next().next().next().next().next().next().next().next().next().next().html());
}