15.08.2010, 14:10
Do you actually call the function at any point?
Also, you do not need to use else if, as they can only meet one condition of the same variable.
Also, you do not need to use else if, as they can only meet one condition of the same variable.