There is too much code there. I doubt you will find anyone who will take the time required to copy/paste and debug that whole thing. I suggest you post specific lines and error messages if you want to make progress.