$(document).ready(function() {

	
	//Main Menu Drop-down Functionality
	$("#menu li a.title").mouseover(function() { //When trigger is clicked...
		
		$("#menu ul.dropdown").removeClass("open");
		$(this).next().addClass("open");
		
		//close all
		$("#menu li ul.dropdown:not(.open)").slideUp('medium');
		
		//Following events are applied to the dropdown itself (moving dropdown up and down)
		$(this).parent().find("ul.dropdown").slideDown('medium').show(); //Drop down the dropdown on click
		
		$("#menu ul.dropdown").parent().parent().hover(function() {
			//alert('yes');
		}, function(){
			$("#menu li ul.dropdown").slideUp('medium');
			$(this).children().children().removeClass("open");
		});

	});
	
	//BIG-Image Animations
    /*$('#featured').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		delay: -200
	});*/
	
	


/*	$("#changer #choices a").click(function(){
		stop = 1;
		var id = $(this).attr('id');
		var temp = id.split('-');
		id = temp[1];
		$("#featured .slide").fadeOut(500);
		$("#changer #choices a").removeClass("current");
		$(this).addClass("current");
		$("#featured .slide-"+id).delay(600).fadeIn(500);
		$("#changer span.position span").text(id);
	});
*/		

	
//	$("#changer #choices a#next").click(function(){
//		$("#featured .slide").fadeOut(500);
//		$("#featured .slide").removeClass;
//	});
	
	
})

