function toggleLeagueTable()
{
	jQuery("#leagueTableLeft").toggle();
	jQuery("#leagueTableRight").toggle();
	return false;
}

function ajaxGetMatches(iMatchDayId) 
{
	divPreloader = jQuery("#leagueMatchDaysDiv .preloader");
	divContent = jQuery( "#leagueMatchDaysDivContent");
	hSelect = jQuery( "#selectMatchDayId");
	
	iContentHeight = divContent.height();
	divPreloader.css('height',iContentHeight);
	divPreloader.show();
	jQuery.ajax({  
		method: "get",url: "ajax/ajaxGetMatches.php",data: "matchDayId=" + iMatchDayId + "&random=" + Math.random(),  
//			beforeSend: function(){jQuery("#loading").show("fast");}, //show loading just when link is clicked  
//			complete: function(){ jQuery("#loading").hide("fast");}, //stop showing loading when the process is complete  
		success: function(html){ //so, if data is retrieved, store it in html  
//				jQuery(".content").show("slow"); //animation  
			jQuery(divContent).html(html); //show the html inside .content div  
			divPreloader.hide();
//			showHidePreloader(true);
		}  
	}); //close jQuery.ajax(  
}

