$(document).ready(function() {
	/*
	$(".ttip").tooltip({ 
		bodyHandler: function() { 
			return $($(this).attr("href")).html(); 
		}, 
		showURL: false 
	});
	*/

	
	$("ul.list li").hover(function() {		
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.thumb").css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});
		$(this).find("span").stop().fadeTo('normal', 0 , function() {
			$(this).hide()
		}); 
	} , function() {
		$(this).find("span").stop().fadeTo('normal', 1).show();
	});
	
	/*
	$("#mainMenu ul span, #category span").css("opacity","0");
	$("#mainMenu ul span, #category span").hover(function () {
		$(this).stop().animate({opacity: 1}, 400);
	},
	function () {
		$(this).stop().animate({opacity: 0}, 400);
	});		
	*/
	
	/*
	var name = "#floatMenu";
	var menuYloc = null;
	menuYloc = parseInt($(name).css("top").substring(0,$(name).css("top").indexOf("px")))
	$(window).scroll(function () { 
		offset = menuYloc+$(document).scrollTop()+"px";
		$(name).animate({top:offset},{duration:500,queue:false});
	});
	*/
});
