$(document).ready(function() {
	//highlight alternate rows
	$(".listings-even TR:nth-child(even)").addClass("alt-row");
						   
	//listings mouseover
	$(".listings-even TR").bind("mouseenter", function() {
		$(this).addClass("row-highlight");
	}).bind("mouseleave", function() {
		$(this).removeClass("row-highlight");
	});

	//highlight alternate rows
	$(".listings-odd THEAD:nth-child(odd)").addClass("alt-row");
	$(".listings-odd THEAD:nth-child(1) TR.parent TD").addClass("b-top");
				   
	//listings mouseover
	$(".listings-odd TR").bind("mouseenter", function() {
		$(this).addClass("row-highlight");
	}).bind("mouseleave", function() {
		$(this).removeClass("row-highlight");
	});

	//highlight alternate rows
	$(".listings-thread TR:nth-child(odd)").addClass("alt-row");
	$(".listings-thread TR:nth-child(odd) .tr-inner").css("background-color", "#FFFFFF");
	$(".listings-thread TR:nth-child(1) TD").addClass("b-top");
	$(".listings-inner TR:nth-child(1) TD").addClass("b-top");

	//$(".listings-rec .child").hide();
	$(".listings-rec THEAD:first-child TR.parent TD").addClass("b-top");
	$(".listings-rec THEAD:nth-child(odd) TR.parent").addClass("alt-row");

/*	
	$(".listings-rec THEAD").bind("mouseenter", function() {
		$("TR.parent", this).addClass("row-highlight");
		$("TR.child", this).show();
	}).bind("mouseleave", function() {
		$("TR.parent", this).removeClass("row-highlight");
		$("TR.child", this).hide();
	});
*/
});
