Calling Functions for layered menu

As I said:-