$(document).ready(function()
{
	$(".icon").hover(function()
	{
		$(".hover",this).animate({opacity:"1"},{queue:false, duration:200});
	},function()
	{
		$(".hover",this).animate({opacity:"0"},{queue:false, duration:200});
	});
	
//	$(".segment *").css({"opacity":"0","display":"none"});
//	$(".segment h3").css({"opacity":"1","display":"block"});
//	$(".segment h3 a").css({"opacity":"1","display":"block"});
//	$(".segment h3").each(function(){$(this).after("<h5 class='clip'>Expand</h5>");});
//	$(".segment .clip").click(function(e)
//	{
//		$("*",$(this).parent()).css({"display":"block"}).animate({opacity:"1"},{queue:"stuff",duration:300});
//		$(this).remove();
//		e.preventDefault();
//	});


/*
// useless jQuery ad

	$("#sidebar").after('<div id="jQuery-img"><a href="http://www.jquery.com"><img src="img/jquery.png" alt="jQuery: write less, do more." /></a></div>');
	$("#jQuery-img")
		.animate({padding:"0.5%"},100)
		.animate({height:"50px"},4000,function()
		{
			$("#jQuery-img")
			.animate({height:$("#jQuery-img img").attr("height")},400);
		})
		.find("img")
		.animate({opacity:"1"},2000)
		.click(function()
		{
			$(this).parent().parent().css({"borderTopWidth":"2px","bottom":"2px"}).animate({top:"100px"},500).animate({right:"100%"},600);
		})
		.hover(function()
		{
			$(this).parent().parent().css({"borderTopWidth":"2px","bottom":"2px"}).animate({top:"9px",height:$(this).attr("height")},{queue:false,duration:200})		
		},function()
		{
			$(this).parent().parent().css({"borderTopWidth":"2px","bottom":"2px"}).animate({top:"-2px",height:$(this).attr("height")},{queue:false,duration:500})		
		});
*/
});