				$(document).ready(function() {
					$("tr.hover").hover(
						function() {
							$(this).children("td").each( function() {
								$(this).css("background","#9596CB");
								$(this).css("cursor","pointer");
								$(this).css("color","#FFFFFF");								
							});
						},
						function() {
							$(this).children("td").each( function() {
	
								$(this).css("cursor","normal");			
								$(this).css("color","#000000");																					
								
								if($(this).hasClass("alternate")) {
									$(this).css("background","#FFFFFF");								
								}
								else {
									$(this).css("background","#E9E9F4");
								}
							});				
						}
					);
					
					$("tr.hover").click( function() {
						
						var target = $(this).next("tr").children().children("div");
						if($(target).css("display") ==  "none") {
							$(target).css("display","block");
						}
						else {
							$(target).css("display","none");								
						}
						/*$(this).next("tr").children().children("div:visible").css("display","none");*/
						/*$(this).next("tr").children().children("div:hidden").css("display","block");*/
					});
					
				});