//*************************** FUNCTIONS ***************************//

/* PMG Fix */
jQuery(function(){
	jQuery(document).pngFix();
});

jQuery(document).ready(function() {

	//Cufon
	Cufon.replace('.nav li.country, h1, h2, .kickstart p a.blurb_buy, .sidebar h3, .contact p.nums, .links h4, h4, .contactnav');
	
	//Fancybox
	jQuery(".fancy").fancybox();
	
	//Choppings
	jQuery(".links li:last").css({"border":"0"});
	jQuery(".breadcrumbs a").find("span:first").css({"padding":"0 12px"});
	jQuery(".breadcrumbs a:last").find("span:last").addClass("bread_on");
	
	//dropdown show/hide
                jQuery('.nav li').hover(
                                                function () {
                                                                jQuery(this).find("ul").stop(false, true).show();
                                                }, 
                                                function () {
                                                                jQuery(this).find("ul").stop(false, true).hide();
                                                }
                                );

//tabs
                jQuery(".promo ul li").find("img").hide();
                jQuery(".promo ul li:first").find("img").stop(false, true).show();
                jQuery('.promo ul li a').hover(
                                function () {
                                                jQuery(this).parent().parent().find('li > a').removeClass('active');
                                                jQuery(this).addClass('active');
                                                jQuery(this).parent().parent().find('img').hide();
                                                jQuery(this).parent().find("img").stop(false, true).show();
                                }
                );
});


	

