looks pretty good to me, and yes, that is a nested-if structure, although here you could use the else if instead of else{ if () .. }
most of the times, you'll find nested if's in the form of
if ( expression1 ){
if ( expression2 ){
}
}
but what you do is equal to
if ( !expression1 ){
if ( expression2 ){
}
}
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433