
jQuery(document).ready(function() {
   var pathname = window.location.pathname;
   var pathname = pathname.split('/');
   var tester = pathname[pathname.length-1];
   jQuery('a.opacityChange').each(function(){
       var test = jQuery(this).attr('href');
       if (test == tester){
           jQuery(this).attr('id','active');
       }
   });
});;
﻿       /* const OUT_OPACITY = 0.4;
        const OVER_OPACITY = 1.0; */
         jQuery(function() {
            jQuery("div#menu img").css("opacity", 0.4)
                .hover(
                    function () {
                        jQuery(this).animate({opacity:1.0});
                    },
                    function () { 
                    if (jQuery(this).parent().attr('id') == 'active' ) {} else {
                        jQuery(this).animate({opacity:0.4});}
                    }
                );
                
            });
            
        jQuery(document).ready(function() {
      jQuery("a#active img").css("opacity", 1.0);
  
        });
;

