$( function() {
	$(".tab-over,.tab-out,.tab1-over,.tab1-out,.tab2-over,.tab2-out,.tab3-over,.tab3-out").mousemove(function(){
			if($(this).hasClass("tab-over")){
				return;
			}else if($(this).hasClass("tab-out")){
				$(this).parent("tr").children("td").each(function(){
					$(this).attr("class","tab-out");
				});
				$(this).attr("class","tab-over");				
			}			
			
			if($(this).hasClass("tab1-over")){
				return;
			}else if($(this).hasClass("tab1-out")){
				$(this).parent("tr").children("td").each(function(){
					$(this).attr("class","tab1-out");
				});
				$(this).attr("class","tab1-over");				
			}
			
			if($(this).hasClass("tab2-over")){
				return;
			}else if($(this).hasClass("tab2-out")){
				$(this).parent("tr").children("td").each(function(){
					$(this).attr("class","tab2-out");
				});
				$(this).attr("class","tab2-over");				
			}
			
			if($(this).hasClass("tab3-over")){
				return;
			}else if($(this).hasClass("tab3-out")){
				$(this).parent("tr").children("td").each(function(){
					$(this).attr("class","tab3-out");
				});
				$(this).attr("class","tab3-over");				
			}

			var arg=$(this).attr("id");
			var arg0=arg.replace("td", "#tbody");
		 
			 $(arg0).parent("table").children("tbody").each(function(){
			 	$(this).css({display:"none"});
			 });
			 $(arg0).css({display:"block"});
		});

});
