Found two of the problems. First of all one of my encodeURIComponent functions is misspelled encoreURIComponent, and I am missing the concatenation operator on that last encodeURIComponent.There still seems to be some other issues so I'm digging in deeper for that. (JSLint / JSHint have been a help and I will utilize them in the future.)
I can't seem to get the event for 'onclick' to initiate the AJAX request. Does the element have to be a link or something in order for an 'onclick' to be triggered or something?