How to implement javascript with inline method

welcome to shbcf.ru