Cufon.replace("#navigation ul li a"),

Cufon.replace(".content > h2"),

Cufon.replace(".buzz .socials h2"),

Cufon.replace(".buzz .pulse h2"),

Cufon.replace(".home-entry h2"),

Cufon.replace(".widget h2"),

Cufon.replace(".footer .col a");

Cufon.replace(".featured-content .f-cnt p");

Cufon.replace(".featured-content .f-cnt h1");



(function($){



jQuery(document).ready(function() {  

	

	$("#tabs .tab-c").hide(); 

	$("#tabs ul li:first").addClass("active").show(); 

	$("#tabs .tab-c:first").show(); 

	

	$("#tabs ul li").click(function() {

		$("#tabs ul li").removeClass("active");

		$(this).addClass("active");

		$("#tabs .tab-c").hide();

		var activeTab = $(this).find("a").attr("href");

		$(activeTab).fadeIn();

		return false;

	});

	

	$("#navigation ul li").hover(function() {

		$(this).find(".dd").show();

		$(this).find("a:eq(0)").addClass('hover');

		}, function(e) {



		$(this).find(".dd").hide();

		$(this).find("a:eq(0)").removeClass('hover');

	});

	

	if ($('.featured-content').length > 0) {

		function change_featured_slide(slide_to) {

			var current = ($('.featured-content .active').length == 0) ? $('.featured-content .featured-entry:first') : $('.featured-content .featured-entry.active');

			

			if (slide_to == 'next') {

				var target = ($(current).next().length == 0) ? $('.featured-content .featured-entry:first') : $(current).next();

			} else {

				var target = ($(current).prev().length == 0) ? $('.featured-content .featured-entry:last') : $(current).prev();

			}

			$(current).removeClass('active').stop().fadeTo(600, 0);

			$(target).addClass('active').stop().fadeTo(600, 1);

		}

		

		$('.featured-content .prev').click(function() {

			change_featured_slide('prev');

			return false;

		});

		$('.featured-content .next').click(function() {

			change_featured_slide('next');

			return false;

		});

	}

	

	$('.change-video').click(function() {

		var html = $(this).next().find('.the-object').html();

		$('.play-video').html(html);

		return false;

	});

	

	$('.change-video-by-title').click(function() {
		var html = $(this).parent().parent().find('div.the-object').html();
		$('.play-video').html(html);

		return false;

	});

	$('.change-video:first').click();

	

});



})(jQuery)
