﻿$(document).ready(function() {

var tabContents = $(".tab_content").hide(),
tabs = $("ul.tabs li");

tabs.first().addClass("active").show();
tabContents.first().show();

tabs.click(function() {
var $this = $(this),
activeTab = $this.find("a").attr("href");

if(!$this.hasClass("active")){
$this.addClass("active").siblings().removeClass("active");
tabContents.hide().filter(activeTab).fadeIn();
}

return false;
});
});
