
    $('.rounded').corners();
    $('.content').corners();
    
    // enable url search for path, lets you add/remove css classes based on url
function hasPath(sPath)
{
  re = new RegExp("\/" + sPath + "(\/|$)");
  return re.test(window.location)
}

/*---------------------------------*/


  /*  'set' tab for the page we're currently viewing  */
  var homePage = true;

  if (hasPath("archives")) {
    $("#archivesPage").addClass("current");
    homePage = false;
  }
  else if (hasPath("blog")) {
    $("#blogPage").addClass("current");
    homePage = false;
  }
  else if (hasPath("contact")) {
    $("#contactPage").addClass("current");
    homePage = false;
  }
  
  if(homePage == true) {
    $("#blogPage").addClass("current");
  } 
