how to define function inside a function

visit shbcf.ru