﻿// JScript File
 $(document).ready(function() {
            var achou = false;    
            $("ul#menu > li a").filter(function() {                                                
                var href = $(this).attr("href");
                var currentURL = window.location.toString().split("/"); 
                var tempPage = currentURL[currentURL.length-1].split("?");                
                var page = tempPage[0];
                if (href == page) {                    
                    achou = true;
                    var id = $(this).attr("id");
                    $("#"+id).addClass("active");
                }
            });
            if (!achou)
            {
                $("#home").addClass("active");
            }
        });
        
         $(document).ready(function(){ 
            $(document).pngFix(); 
        }); 

