Read my above post. ALL of it.
Type: Posts; User: Junky
Read my above post. ALL of it.
Do not use == to compare Strings or other objects. Use the equals method instead.
--- Update ---
BTW both clauses in your if statements are the same (capital A or capital A)