Help me reduce down some conditional code

Printable View