How to write nested if else in javascript

Thank you. The Mailman is on His Way :)
Sorry, don't know what happened. Try later :(