﻿function change_news(id)
{
	var id_label = document.getElementById(id);	
	var mainContent = document.getElementById('noidungchinh_news');	
	mainContent.innerHTML = "";
	
	
	var listID = new Array();
	listID[0] = document.getElementById('iaaf');	
	listID[1] = document.getElementById('fiba');	
	listID[2] = document.getElementById('fifa');	
	listID[3] = document.getElementById('astm');				
	
	var content = new Array();
	content[0] = "<table class='content_in_FucnInerhtml_news' cellspacing='0' cellpadding='0'><tr><td valign='top' style='text-align:justify'><span style='font-weight:bold; color:#7B9B16'>THE INTERNATIONAL ASSOCIATION OF ATHLETICS FEDERATIONS</span><br /><a class='urlNews' href='http://www.iaaf.org/aboutiaaf/index.html' target='_blank'>www.iaaf.org</a></td></tr><tr><td><table class='content_in_FucnInerhtml_news' cellspacing='0' cellpadding='0'><tr><td class='news_l'>The International Athletic Foundation’s primary mission is to charitably assist the world governing body for track and field athletics - the International Association of Athletics Federations - and its affiliated national governing bodies in perpetuating the development and promotion of athletics world-wide.</td><td class='news_r'><img alt='' width='143' height='96' src='Images/iaaf_news.gif' /></td></tr></table></td></tr><tr><td><br />Through its support of a variety of programmes and projects including educational, scientific, technical, promotional and social activities, the Foundation strives to aid athletes, administrators, coaches, national athletics federations and others to practice all forms of athletics in the best of conditions.</td></tr></table>";
	
	content[1] = "<table class='content_in_FucnInerhtml_news' cellspacing='0' cellpadding='0'><tr><td valign='top' style='text-align:justify'><span style='font-weight:bold; color:#7B9B16'>FÉDÉRATION INTERNATIONALE DE BASKETBALL</span><br /><a class='urlNews' href='http://www.fiba.com/' target='_blank'>www.fiba.com</a></td></tr><tr><td><table class='content_in_FucnInerhtml_news' cellspacing='0' cellpadding='0'><tr><td class='news_l'>The International Basketball Federation (French: Fédération Internationale de Basketball), more commonly known by the French acronym FIBA, is an association of national organizations which governs international competition in basketball.</td><td class='news_r'><img alt='' width='143' height='70' src='Images/fiba_news.gif' /></td></tr></table></td></tr><tr><td><br />FIBA has organized a FIBA World Championship for men since 1950 and a World Championship for Women since 1953. Both events are now held every four years, alternating with the Olympics.</td></tr></table>";
	
	content[2] = "<table class='content_in_FucnInerhtml_news' cellspacing='0' cellpadding='0'><tr><td valign='top' style='text-align:justify'><span style='font-weight:bold; color:#7B9B16'>THE FÉDÉRATION INTERNATIONALE DE FOOTBALL ASSOCIATION</span><br /><a class='urlNews' href='http://www.fifa.com/' target='_blank'>www.fifa.com</a></td></tr><tr><td><table class='content_in_FucnInerhtml_news' cellspacing='0' cellpadding='0'><tr><td class='news_l'>The Fédération Internationale de Football Association (FIFA) is an association governed by Swiss law founded in 1904 and based in Zurich. It has 208 member associations and its goal, enshrined in its Statutes, is the constant improvement of football. FIFA employs some 280 people from over 30 nations.</td><td class='news_r'><img alt='' width='143' height='116' src='Images/fifa_news.gif' /></td></tr></table></td></tr><tr><td>&nbsp;</td></tr></table>";
	
	content[3] = "<table class='content_in_FucnInerhtml_news' cellspacing='0' cellpadding='0'><tr><td valign='top' style='text-align:justify'><span style='font-weight:bold; color:#7B9B16'>ASTM (TENNIS, SWIMMING POOL)</span><br /><a class='urlNews' href='http://www.astm.org/' target='_blank'>www.astm.org</a></td></tr><tr><td><br />ASTM International is comprised of more than 132 technical standards writing committees and publishes over 9,100 standard specifications, tests, practices, guides, and definitions relating to materials, products, systems, and services. Topics range from chemical products and fossil fuels to forensic sciences and medical devices.</td></tr><tr><td align='center' valign='top' style='padding:15px 0px 10px 0px'><img alt='' width='250' height='118' src='Images/astm_news.gif' /></td></tr></table>";	
	
	for(var i = 0; i  <= 3; i++)
	{
	    listID[i].style.color = "#D4D4D4";	
		if(listID[i]==id_label)	
		{
			mainContent.innerHTML = content[i];
			listID[i].style.color = "#FFFFFF";			
		}
		
	}

}

