Setting an active menu item based on the current URL with jQuery

Setting an active menu item based on the current URL with jQuery

I am trying to replicate this but the code is not working can anyone please help ?

Here is the website with the code i want to replicate

http://www.itworld.com/article/2832973/development/setting-an-active-menu-item-based-on-the-current-url-with-jquery.html

Here is my website

http://www.cuevadesigns.net/sample_site/home.html

The css file

http://www.cuevadesigns.net/sample_site/site_nav.css

The two javscript files i am using

http://www.cuevadesigns.net/sample_site/jquery-2.2.3.js
http://www.cuevadesigns.net/sample_site/navigation_func.js

Thanks