Too much code posted improperly. Difficult to read. Please post your code correctly per this link.