$(document).ready(function() {
	jQuery("#nav li a[href="+document.location+"]").parent().addClass("current");
});