@Mr.777, your code will look, and fit into the forum's software limits, much better, if you can make the following change:
In your options >> editor, have it replace tabs with 2-5 spaces, instead. Tabs are for text, not code, in the forum software.
That will make your code a lot easier to read/study, and understand.