carousel add first img src repl_amp elem text title elem attr screenna

1
2
3
4
5
6
carousel.add(
first + i,
'<img src="' + $.repl_amp(elem.text()) + '"' +
' title="' + elem.attr('screenname') + " - " + elem.attr('address') + '"' +
' onclick="setLargeImage(' + elem.attr('id') + ', \'' + $.repl_amp(elem.attr('photo_uri')) + '\', \'' + $.repl_amp(elem.attr('profile_url')) + '\', \'' + elem.attr('screenname') + '\', \'' + elem.attr('address') + '\', \'' + elem.attr('voted') + '\', \'' + elem.attr('className') + '\', \'' + elem.attr('tracker').replace( /'/g, "\\'" ) + '\', this )" />'
);