$(document).ready(function() {

//	$("#preamble .examples li").css("opacity","0");

	$("#preamble .examples .info").css("display","none");
	
//	$("#preamble .examples li").each(function() {
//		$(this).animate({opacity:"1"}, {queue:true, duration:600});	
//	});
	

	$("#preamble .examples li").each(function() {
		$("#preamble .examples li").hover(function() {
			$(this).css("z-index","10");
			$(this).css("background","#333")
    		$(this).stop(true, false).animate({height:"280px"},500);
    		//alert(".content .services ." + $(this).attr("class"));
    		$(".content .services ." + $(this).attr("class")).css("background","#eee");
    		$("#preamble .examples ." + $(this).attr("class") + " .info").css({display:"none"}).fadeIn(500);
		}, function() {
			$(this).css("z-index","1");
			$(this).css("background","#eee")
    		$("#preamble .examples ." + $(this).attr("class") + " .info").css({display:"block"}).fadeOut(200);
			$(this).stop(true, false).animate({height:"220px"}, 500);
    		$(".content .services ." + $(this).attr("class")).css("background","#fff");
		});
	});	

});