﻿function activeIconTop() {
   
    var txt = "";
    try {
        $("#nav ul li a").each(function() {
            
            if (location.href.indexOf(this.href) >= 0) {
                this.className = "active";
            }
        })        
    } catch (err) {
        txt = "There was an error on this page.\n\n";
        txt += "Error description: " + err.description + "\n\n";
        txt += "Click OK to continue.\n\n";
        alert(txt);
    }
}
