$(document).ready(function() {

	if ($.browser.msie && $.browser.version.substr(0,1)<7) {
		$("#main-nav li").hover(function() {
			$(this).addClass('iehover');
		}, function() {
			$(this).removeClass('iehover');
		});
		$("#main-nav ul li").each(function() {
			$(this).width($(this).parents(".sub-menu").width());
		});
	}

//	$('.widget-tabs').each(function() {
//		var t = this;
//		$('.tabs-title a', t).click(function(e) {
//			e.preventDefault();
//			var target = $(this).attr('href');
//
//			$('.tabs-panel', t).addClass('hidden');
//			$(target).removeClass('hidden');
//
//			$('.tabs-title a', t).removeClass('active');
//			$(this).addClass('active');
//		});
//
//		$('.tabs-title a:eq(0)', t).trigger('click');
//	});
});

