Cufon.replace('.cufon', {hover: true});
Cufon.replace('h1:not(.nocufon)', { hover: true });
Cufon.replace('h2:not(.nocufon)', { hover: true });
Cufon.replace('h3:not(.nocufon)', { hover: true });
Cufon.replace('h4:not(.nocufon)', { hover: true });
Cufon.replace('h5:not(.nocufon)', { hover: true });
Cufon.replace('ul.sort-list li span span', { hover: true });
Cufon.replace('ul#social li span', { hover: true });
Cufon.replace('#mainnav ul a', { hover: true });
Cufon.replace('ul.tertiary-nav li a', { hover: true });


$(document).ready(function () {	
	$('#navigation li').hover(
	function () {
		//show its submenu
		$(this).addClass("navhover");
		$('ul', this).slideDown(200);
	}, 
	function () {
		//hide its submenu
		$(this).removeClass("navhover");
		$('ul', this).slideUp(50);	
		Cufon.refresh('a.cufon');
	}
);

$('.slideshow').cycle({
	fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
	
$('.slideshow2').cycle({
	fx: 'fade',
	delay: 1750 // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});

$(document).ready(function ($) {
	if ($("#slider").length) {
		$("#slider").easySlider({ auto: false, continuous: false, quantity: 5 })
	}
});
});
	
	/*
var flashvars = {};
			var params = {};
			params.wmode = "opaque";
			var attributes = {};
			attributes.id = "title_int";
			swfobject.embedSWF("/js/Topps_Header_INT_944x98.swf", "title_int", "944", "98", "9.0.0", false, flashvars, params, attributes);	


	var flashvars2 = {};
			var params = {};
			params.wmode = "transparent";
			var attributes = {};
			attributes.id = "title";
			swfobject.embedSWF("/js/Topps_Header_V6.swf", "title", "944", "125", "9.0.0", false, flashvars2, params, attributes);
            */

if($(".youtube").length){ 
	$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344, close:"x"});
}

Cufon.now(); 
