Estate.Bonheur = {}





Estate.Bonheur.Tabs = (function() {
	/* START PUBLIC */
	return {
		Run: function() {
			jQuery("#TabbedContent ul.tabs > li").each(function(index) {
				jQuery(this).click(function() {
					if (index <= 1) {
						jQuery("#TabbedContent ul.tabs li").removeClass("active")
						jQuery("#TabbedContent ul.tabs li:eq(" + index + ")").addClass("active")
						jQuery("#TabbedContent ul.tabContent > li").hide()
						jQuery("#TabbedContent ul.tabContent > li:eq(" + index + ")").fadeIn(250, function(){this.style.removeAttribute('filter')})
					}
				})
			})
		}
	}
	/* END PUBLIC */
})();
