Please post full error messages you receive here, not just error names.
In addition to Snowguy's response, the OR ( || ) operator would clean it up alot more.

One place where cannot find symbol...