$(document).ready(function() {
	// ballons
	$("td").not($("td.ballon6")).mouseover(function(){$("img#ballon6:visible").hide();});

	$("table.data.ballons th, table.data.ballons td").not($("table.data.ballons tr#auction-price td.ballon6")).hover(
		function(){ 
			t = $("table.data.ballons").offset().top;
			var cssh = (t+19-$("img#"+$(this).attr("class")).height())+"px";

			$("img#"+$(this).attr("class")).show().css("top",cssh);
			},
		function(){ $("img#"+$(this).attr("class")).hide(); }
	);

	$("table.data.ballons tr#auction-price td.ballon6").hover(
		function(){ 
		ta = $("table.data.ballons tr#auction-price").offset().top;
		var cssh = (ta+25)+"px";
		
		//$("img#ballon6:visible").hide();
		$("img#ballon8").show().css("top",cssh);

		t = $("table.data.ballons tr#auction-price").offset().top;
		var cssh = (t-$("img#ballon6:hidden").height())+"px";
		$("img#ballon6:hidden").show().css("top",cssh); },
		function(){ $("img#ballon8").hide(); }
	);

	$("table.data.ballons td#ballon8a, table.data.ballons td#ballon8b").hover(
		function(){ 
			ta = $("table.data.ballons tr#auction-price").offset().top;
			var cssh = (ta-$("img#ballon6:hidden").height())+"px";
			$("img#ballon6:hidden").show().css("top",cssh);

			t = $("table.data.ballons tr#auction-price").offset().top;
			var cssh = (t+25)+"px";
			
			//$("img#ballon6:visible").hide();
			$("img#ballon8").show().css("top",cssh); },
		function(){ $("img#ballon8").hide(); }
	);
});

