// jQuery Global Functions
jQuery(document).ready(function($) {
	
	// j_on If JavaScript is enabled this adds "j_on" to body tag.
	$("body").addClass("j_on");
	
	
	
	//race_nav_dropnav
	if ( $('.race_nav_dropnav').length ) {
		$(".race_nav_lvl_one").hover(function(){
			$(this).toggleClass('active');
			$(this).siblings(".race_nav_dropnav:first").addClass('active');
		},function(){
			$(this).toggleClass('active');
			$(this).siblings(".race_nav_dropnav:first").removeClass('active');
		});
		$(".race_nav_dropnav").hover(function(){
			$(this).toggleClass('active');
			$(this).siblings(".race_nav_lvl_one").addClass('active');
		},function(){
			$(this).toggleClass('active');
			$(this).siblings(".race_nav_lvl_one").removeClass('active');
		});
	}
	
	

//sponsor rotation
	//.footer_top_left_text .footer_img
	$('.footer_top_left_text .footer_img').cycle({fx:'fade',pause: 1, cleartypeNoBg: true });
	
	//.heading_sponsor_list
	$('.heading_sponsor_list').cycle({fx:'fade',pause: 1, cleartypeNoBg: true });
	
	//.module_faq_img
	$('.module_faq_img').cycle({fx:'fade',pause: 1, cleartypeNoBg: true });
	
	//.module_faq_img
	$('.module_spon_img').cycle({fx:'fade',pause: 1, cleartypeNoBg: true });
//end sponsor rotation
	
	
//-->
	
});


