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: http://pastebin.com/1BgQ0nZL (line #63-67)
JS File: http://pastebin.com/kwhCKKC7

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!