﻿$(document).ready(function() {
  var url = "/" + location.pathname.split("/")[1];
 
  if (typeof(location.pathname.split("/")[2]) != "undefined"){
    url += "/" + location.pathname.split("/")[2];
    $('#Content .left a[href^="' + url + '"]').addClass('active');
  }else{
    $('#Content .left a[href="' + url + '"]').addClass('active');
  }
});