$(document).ready(function() {		
		$("div.newsbit_preview").tipsy({fade: true});
		$("div.newsbit_preview").tipsy({gravity: $.fn.tipsy.autoNS});
		
			resetColor2 = $("div.newsbit_preview a").css("color");
				
		$("#160x600").hover( function(){
			$(this).css("opacity","0.75");
			$(this).fadeTo("fast",1);     	
		},function(){		
			$(this).fadeTo("fast",.75);    
		});	
		
		$("div.newsbit").hover( function(){
			resetColor = $(this).css("background-color");
			resetColor3 = $(this).find("div.td_status").css("background-color");
			resetBg = $(this).find("div.latest_bg").css("background-image");
			$(this).find("a").css("color","white");
			$(this).css("background-color","#000");
			$(this).animate({ backgroundColor: "#2b2b2b" }, "slow");
			$(this).find("div.td_status").css("background-color","white");
			$(this).fadeTo("slow",.7);    	
		},function(){		
			$(this).stop(true,true);
			$(this).fadeTo("fast",1);    				$(this).css("background-color",resetColor);	
			$(this).find("a").css("color",resetColor2);	
			$(this).find("div.td_status").css("background-color",resetColor3);  
		});
		
//		$("td.td_preview").tipsy({fade: true});
//		$("td.td_preview").tipsy({gravity: 'w'});	
		$("tr.threadbit").hover( function () {
			resetColor = $(this).css("background-color");
			resetColor2 = $(this).find("a").css("color");
			resetColor3 = $(this).find("td.td_status").css("background-color");
			$(this).find("a").css("color","white");
			$(this).css("background-color","#000");
			$(this).find("td").css("border-color","#6dcff6");
			$(this).find("td.td_status").css("background-color","#fff");
			$(this).animate({ backgroundColor: "#2b2b2b" }, "fast");

		},function(){
			$(this).stop(true, true);
			$(this).find("td.td_status").css("background-color",resetColor3);
			$(this).css("background-color","transparent");	
			$(this).find("td").css("border-color","#383838");
			$(this).find("a").css("color",resetColor2);	
		});
	});
