$("ul#galleryall li:nth-child(5n+1)").addClass("newline"); 

