$(document).ready(function() {

	
 
    $pathname = window.location.pathname;
    $lastfive = $pathname.substr($pathname.length - 5);
        
    if ($lastfive == '/'){
    $("a.blog").addClass("current");	
    };    
    if ($lastfive == 'olio/'){
    $("a.portfolio").addClass("current");
    };
    if ($lastfive == 'bout/'){
    $("a.about").addClass("current");
    };
    if ($lastfive == 'tact/'){
    $("a.contact").addClass("current");
    };
        
        
   // $('h3#reply-title').replaceWith('<h3 id="reply-title"><a class="mon" href="#">New heading</a></h3>');
    
    //$('h3#reply-title').click(function() {
    //$('a.mon').preventDefault();
  	//$('form.commentform').toggle();
  	//});
    
    
});
