How come my prettyphoto galleries aren't working properly?

So in my template I am calling a rel="prettyPhoto[mixed]" (have also tried prettyPhoto[pp-gal]) but when I launch the large image and try to scroll to the next one I can't.

PHP template: (line #63-67)
JS File:

Not sure why I cannot get it to allow me to scroll via my keyboard or hit a next button.

Any ideas would be great... and sorry for now 3rd question on 2 days.

Thanks for any insights!