The if...else if construct can be used to test multiple conditions without having to nest separate if...else statements inside one another. http://www.developnew.com/javascript/If_Condition.php
The switch statement with case entries testing for expected values and providing processing code on a match. http://www.developnew.com/javascript/switch.php