After re-reading the entire thread I re-tried the "Lightbox fix" seems to have worked.

prArr[i] == ''

This has to be inserted exactly for it to work.