jQuery(function($){
	$('#panelTrigger').button();

var i = false;	

	function toggle(){
		if(i == true){
			$('.clionotte').css('background','#ffffff');
			$('.clionotte').css('color','#e95126');
			i = false;
		}else{
			$('.clionotte').css('background','#e95126');
			$('.clionotte').css('color','#ffffff');
			i = true;
		}
		
		setTimeout(toggle,'500');
	}
	
	setTimeout(toggle,'500');
	
	
})

function displayPanel(){
	
	if(jQuery('#panel').css('display') == 'none'){
		jQuery('#panel').show(panelAnimation);
	}else{
		jQuery('#panel').hide(panelAnimation);
	}
}
/*
jQuery(document).ready(function(){
	
	jQuery('li.parent').hover(function(){
		jQuery(this).children('ul').slideDown(200).show();
	}, function(){
		jQuery(this).parent().find("ul").hide(200); //When the mouse hovers out of the subnav, move it back up
	})
});
*/
