// выводим новичков if(document.getElementById('newMember')) { var newMemberArr = []; var len = i_lastreg.length; for (var i = 0; i < len; i++) { if ( i_lastreg[i][3] != -1 ) break; newMemberArr[i] = '<a href="?inc=info&nick=' + i_lastreg[i][0] + '" style="color: #FF0000; font-weight: bold">' + i_lastreg[i][0] + '</a>'; } if (newMemberArr.length && mynick && mynick == 'F_a_R_i_D') document.getElementById('newMember').innerHTML = 'Новые: ' + newMemberArr.join(', '); }