$(document).ready(function(){
	/*
	 * IE PNG Fix - http://jquery.andreaseberhard.de/pngFix/
	 */
	$(document).pngFix();
	
	var myTime=100;
	$('.content_menu_list > li').hide();
	$('.content_menu_list > li').each(function(i, elem){
		var t = myTime*i;
		setInterval(function(){$(elem).fadeIn(1000);},  t);
	});

	function myFade(elem)
	{
		elem.fadeIn('slow');
	}
	
	/*
	 * Home Page rollover effect
	 */
	$('.popup').hover(function(){
		target = $(this).attr('rel');
		
		// reset
		$('.popup').removeClass('active');
		$('.content_wrapper').hide();
		
		// show target
		$('#'+target).show();
		$(this).addClass('active');
		
		// close target
		$('#'+target).mouseleave(function(){
			$('.popup').removeClass('active');
			$(this).hide();
		});
	});
	// catch all to close any open layers
	$('#site').mouseleave(function(){
		$('.popup').removeClass('active');
		$('.content_wrapper').hide();
	});
});


	
	bounceHim();
	function bounceHim(){
		$("#daniel").animate({top:"-=4px"},150).animate({top:"+=4px"},150);
			$("#daniel").animate({top:"-=8px"},150).animate({top:"+=8px"},150);
		setTimeout("bounceHim()",300);
	}