// JavaScript Document

activeSection = null;
activeTab = null;

jQuery(document).ready(function ($){
		
	var overItems = $(".loveMenu DIV A");
	overItems.each(											 
		function(i){
			$(this).click(function() { 
				thisSection = $(this).attr("rel");
				showSection(thisSection);
				if (activeTab) activeTab.fadeOut(500);
				cTab = $(this).find(".loveon")
				cTab.fadeIn(500);
				activeTab = cTab;
			} );
 	});	
	
	$("#startItem").click();
		
		
}
);

function showSection(wSection) {
	if (activeSection) activeSection.hide();
	cSection = $J("#" + wSection);
	if (cSection) {
		cSection.fadeIn(500);
		activeSection = cSection;
	}
	
}


