Please see my comments to the question.
What do you really need? Read this: http://en.wikipedia.org/wiki/Anti-pattern#Programming
I gave you the link to the "Programming" anti-patterns, because this is your problem I can see immediately, but you should also look at the whole article. So, you need to start with identification of the anti-patterns in your code and learning how to eliminate them. You suffer from a whole bunch of those anti-pattern.
In addition, you heavily violate this very basic principle: http://en.wikipedia.org/wiki/Don%27t_repeat_yourself
It's not too bad if it distract you from solving your problem related to your question. If you continue developing in the style you just demonstrating, not only this experience won't help you, it would harm your chances to start programming. Right now, it's not too late.