// Cufon 



$(document).ready(function() {
	
$('#secondary-nav .menu > li.pm').hover(
	function () {
		var $this = $(this);
		$this.stop(true).animate({
		'bottom':'0'
		}, 300);
		$(this).css({'z-index':1000});
		
	},
	function () {
		var $this = $(this);
		$this.stop(true).animate({
		'bottom':'-115px'
		}, 300);
		$(this).css({'z-index':1000});
	}
	);
	
	$('#secondary-nav .menu > li.about').hover(
	function () {
		var $this = $(this);
		$this.stop(true).animate({
		'bottom':'-40px'
		}, 300);
		$('#secondary-nav').css({'z-index':1000});
		
	},
	function () {
		var $this = $(this);
		$this.stop(true).animate({
		'bottom':'-115px'
		}, 300);
		$('#secondary-nav').css({'z-index':100});
	}
	);

	$('#secondary-nav .menu > li.pm, #secondary-nav .menu > li.about').click(function () { 

		var $this = $(this);
	
		$('#secondary-nav .menu > li').animate({
			'bottom':'-115px'
		}, 300);
		
		
			if($this){
				$this.stop(true).animate({'bottom':'0'}, 300);
			} else {
				
				$('#secondary-nav .menu > li').animate({'bottom':'-115px'}, 300);
			
			}
  });


});
