function getMembers(start, end) {
	$('#col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="120" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_members.php", {start: ""+start+"", end: ""+end+""}, function(data){
			if(data.length >0) {
				$('#col2_body').html(data);
			}
		});
}

function getMember(member) {
	$('.col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_member.php", {member: ""+member+""}, function(data){
			if(data.length >0) {
				$('.#col2').html(data);
			}
		});
}

function getNews() {
	$('#clubnews').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_news.php", {}, function(data){
			if(data.length >0) {
				$('#clubnews').html(data);
			}
		});
}

function getArticle(article) {
	$('.col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/article.php", {article: ""+article+""}, function(data){
			if(data.length >0) {
				$('.col2_body').html(data);
			}
		});
}

function getFixtures(season) {
	$('#col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_fixtures.php", {season: ""+season+""}, function(data){
			if(data.length >0) {
				$('#col2_body').html(data);
			}
		});
}

function getResults(season) {
	$('#col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_results.php", {season: ""+season+""} , function(data){
			if(data.length >0) {
				$('#col2_body').html(data);
			}
		});
}

function getResult(result, club) {
	$('.col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_result.php", {result: ""+result+"", club: ""+club+"" } , function(data){
			if(data.length >0) {
				$('#col2').html(data);
			}
		});
}

function getTeams() {
	$('#col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_teams.php", {}, function(data){
			if(data.length >0) {
				$('#col2_body').html(data);
			}
		});
}

function getLeagueTable(league, club) {
	$('#col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_leaguetable.php", {league: ""+league+"", club: ""+club+"" } , function(data){
			if(data.length >0) {
				$('#col2_body').html(data);
			}
		});
}

function getEvent(aevent, club) {
	$('#col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_event.php", {event: ""+aevent+"", club: ""+club+"" } , function(data){
			if(data.length >0) {
				$('#col2_body').html(data);
			}
		});
}


function getTeam(team, club) {
	$('#col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_team.php", {team: ""+team+"", club: ""+club+""}, function(data){
			if(data.length >0) {
				$('#col2_body').html(data);
			}
		});
}

function getTeamFixtures(season, team) {
	$('#col2_fix').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/team_fixtures.php", {season: ""+season+"", team: ""+team+""}, function(data){
			if(data.length >0) {
				$('#col2_fix').html(data);
			}
		});
}

function getTeamResults(season, team) {
	$('#col2_res').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/team_results.php", {season: ""+season+"", team: ""+team+""} , function(data){
			if(data.length >0) {
				$('#col2_res').html(data);
			}
		});
}

function getGoals(season, club, team) {
	$('#col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_goals.php", {season: ""+season+"", club: ""+club+"", team: ""+team+""} , function(data){
			if(data.length >0) {
				$('#col2_body').html(data);
			}
		});
}

function getCards(season, club, team) {
	$('#col2_body').html('<p class="full"><img src="theme/loading.gif" width="32" height="32" alt="Loading" title="Loading" /><img src="theme/load.gif" width="80" height="32" alt="Loading" title="Loading" /></p>');
	$.post("ajax/club_cards.php", {season: ""+season+"", club: ""+club+"", team: ""+team+""} , function(data){
			if(data.length >0) {
				$('#col2_body').html(data);
			}
		});
}
