$j(function () {
	// Quick Links Drop Down Menu
	$j('img.menu_btn').click(function () {
	$j('ul.menu_list').slideToggle('medium');
	});
	
	$j('ul.menu_list a').click(function () {
	$j('ul.menu_list').slideToggle('medium');
	});
	
	// Banner Ad Slider
	// see http://jquery.malsup.com/cycle/options.html for options
	$j('.slideshow').cycle({
		fx			: 'fade',
		speed		: 1000,
		timeout		: 7000,
		pause		: true,
		next		: '.nextSlide', 
		prev		: '.prevSlide'
	});
	
	// Odd/Evens for Comments
	$j('.CommentDetail:even').addClass("even-comment");
	$j('.CommentDetail:odd').addClass("odd-comment");

	// ***********************
	//    Rates Page Tabs
	// ***********************
	// copy all tab contents into 6th tab
	$j("#tab6").html($j("#tab1").html() + $j("#tab2").html() + $j("#tab3").html() + $j("#tab4").html() + $j("#tab5").html());
	
	//When page loads...
	$j(".tabs-content").hide(); //Hide all content
	$j("ul.tabs li:first").addClass("active").show(); //Activate first tab
	$j(".tabs-content:first").show(); //Show first tab content

	//On Click Event
	$j("ul.tabs li").click(function() {
		$j("ul.tabs li").removeClass("active"); //Remove any "active" class
		$j(this).addClass("active"); //Add "active" class to selected tab
		$j(".tabs-content").hide(); //Hide all tab content

		var activeTab = $j(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		$j(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});
	// ***********************
	//    Rates Page Tabs
	// ***********************
});

