jQuery(document).ready(function() 
	{
	jQuery("#not_options").hide();
	jQuery("#whosnotdiv").hide();
	jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "ALL"},function(data){jQuery("#whoshotdiv").html(data);});	
	jQuery("#hot_click").click(function() 	
		{
		jQuery("#hot_click").addClass("selected");
		jQuery("#hot_click").removeClass("notselected");
		jQuery("#not_click").addClass("notselected");
		jQuery("#not_click").removeClass("selected");
		jQuery("#not_options").hide();
		jQuery("#hot_options").show();
		jQuery("#whosnotdiv").hide();
		jQuery("#whoshotdiv").show();
 {jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "ALL"},function(data){jQuery("#whoshotdiv").html(data);});}	
		
		
		});
	jQuery("#not_click").click(function() 	
		{
		jQuery("#not_click").addClass("selected");
		jQuery("#not_click").removeClass("notselected");
		jQuery("#hot_click").addClass("notselected");
		jQuery("#hot_click").removeClass("selected");
		jQuery("#not_options").show();
		jQuery("#hot_options").hide();
		jQuery("#whosnotdiv").show();
		jQuery("#whoshotdiv").hide();
 {jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "ALL"},function(data){jQuery("#whosnotdiv").html(data);});}	

		});

jQuery("#january").click(function(){output = '<div class="loading"><img src="http://baseballmoves.com/wp-content/themes/ElegantNews/images/loading.gif" /></div>';jQuery("#transaction-table").html(output);jQuery.get("http://baseballmoves.com/transactions.php", { m: "1", y: "2010"},function(data){jQuery("#transaction-table").html(data);});});
jQuery("#february").click(function(){output = '<div class="loading"><img src="http://baseballmoves.com/wp-content/themes/ElegantNews/images/loading.gif" /></div>';jQuery("#transaction-table").html(output);jQuery.get("http://baseballmoves.com/transactions.php", { m: "2", y: "2010"},function(data){jQuery("#transaction-table").html(data);});});
jQuery("#march").click(function(){output = '<div class="loading"><img src="http://baseballmoves.com/wp-content/themes/ElegantNews/images/loading.gif" /></div>';jQuery("#transaction-table").html(output);jQuery.get("http://baseballmoves.com/transactions.php", { m: "3", y: "2010"},function(data){jQuery("#transaction-table").html(data);});});
jQuery("#april").click(function(){output = '<div class="loading"><img src="http://baseballmoves.com/wp-content/themes/ElegantNews/images/loading.gif" /></div>';jQuery("#transaction-table").html(output);jQuery.get("http://baseballmoves.com/transactions.php", { m: "4", y: "2010"},function(data){jQuery("#transaction-table").html(data);});});
jQuery("#may").click(function(){output = '<div class="loading"><img src="http://baseballmoves.com/wp-content/themes/ElegantNews/images/loading.gif" /></div>';jQuery("#transaction-table").html(output);jQuery.get("http://baseballmoves.com/transactions.php", { m: "5", y: "2010"},function(data){jQuery("#transaction-table").html(data);});});
jQuery("#june").click(function(){output = '<div class="loading"><img src="http://baseballmoves.com/wp-content/themes/ElegantNews/images/loading.gif" /></div>';jQuery("#transaction-table").html(output);jQuery.get("http://baseballmoves.com/transactions.php", { m: "6", y: "2010"},function(data){jQuery("#transaction-table").html(data);});});
jQuery("#july").click(function(){output = '<div class="loading"><img src="http://baseballmoves.com/wp-content/themes/ElegantNews/images/loading.gif" /></div>';jQuery("#transaction-table").html(output)});




	jQuery("#hot_1B").click(function(){{jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "1B"},function(data){jQuery("#whoshotdiv").html(data);});}});
	jQuery("#hot_2B").click(function(){{jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "2B"},function(data){jQuery("#whoshotdiv").html(data);});}});
	jQuery("#hot_3B").click(function(){{jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "3B"},function(data){jQuery("#whoshotdiv").html(data);});}});
	jQuery("#hot_SS").click(function(){{jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "SS"},function(data){jQuery("#whoshotdiv").html(data);});}});
	jQuery("#hot_OF").click(function(){{jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "OF"},function(data){jQuery("#whoshotdiv").html(data);});}});
	jQuery("#hot_RP").click(function(){{jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "RP"},function(data){jQuery("#whoshotdiv").html(data);});}});
	jQuery("#hot_SP").click(function(){{jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "SP"},function(data){jQuery("#whoshotdiv").html(data);});}});
	jQuery("#hot_C").click(function(){{jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "C"},function(data){jQuery("#whoshotdiv").html(data);});}});	
	jQuery("#hot_ALL").click(function(){{jQuery.get("http://baseballmoves.com/lib/hot_table.php", { pos: "ALL"},function(data){jQuery("#whoshotdiv").html(data);});}});
	

	jQuery("#not_1B").click(function(){{jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "1B"},function(data){jQuery("#whosnotdiv").html(data);});}});
	jQuery("#not_2B").click(function(){{jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "2B"},function(data){jQuery("#whosnotdiv").html(data);});}});
	jQuery("#not_3B").click(function(){{jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "3B"},function(data){jQuery("#whosnotdiv").html(data);});}});
	jQuery("#not_SS").click(function(){{jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "SS"},function(data){jQuery("#whosnotdiv").html(data);});}});
	jQuery("#not_OF").click(function(){{jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "OF"},function(data){jQuery("#whosnotdiv").html(data);});}});
	jQuery("#not_RP").click(function(){{jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "RP"},function(data){jQuery("#whosnotdiv").html(data);});}});
	jQuery("#not_SP").click(function(){{jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "SP"},function(data){jQuery("#whosnotdiv").html(data);});}});
	jQuery("#not_C").click(function(){{jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "C"},function(data){jQuery("#whosnotdiv").html(data);});}});	
	jQuery("#not_ALL").click(function(){{jQuery.get("http://baseballmoves.com/lib/not_table.php", { pos: "ALL"},function(data){jQuery("#whosnotdiv").html(data);});}});
	

	});
	