
// JavaScript Document

/* test all links matching case #nav ul li a, test them to match the current page location, then void the link, disable the function firing on click , add the class linkOn to the link to style it. Next, find it's parents with the class "closed", and remove the "closed" class .*/
$(function() {
$('#nav a[@href$="' + location.pathname.substring(1) + '"]').href("javascript:void(0)").addClass("linkOn").unbind().ancestors(".closed").removeClass("closed");



});


