I'm trying to figure out why some of the ajax tabs are not working. The first two tabs work, the third through 5th tabs do not work when you click on them.

It's due to the missing semicolon on line 549. Also you have an undeclared variable in your loop.

commented: Better yet, where did you get batteries for your crystal ball? +15
commented: damn... where did you get your crystal ball? +7

It's because the third through 5th tabs have an error.