// JavaScript Document
function showTab(val)
{
	if(val == 'olympic')
	{
		
		document.getElementById('Map').innerHTML="<area shape='rect' coords='13,4,112,19' href='javascript:void(0)' onclick=showTab('olympic') /><area shape='rect' coords='138,5,232,16'  href='javascript:void(0)' onclick=showTab('history') /><area shape='rect' coords='264,5,364,15' href='javascript:void(0)' onclick=showTab('record') /><area shape='rect' href='javascript:void(0)' coords='395,5,494,15' onclick=showTab('fact') />";
		document.getElementById('box4').innerHTML="<img src='images/tab1.gif' border='0' usemap='#Map' /><br/><div class='tab_box'><div class='tab_box1'><img src='images/race.jpg' align='right' /><strong>India</strong>India is sending a 57 member contingent to Beijing Olympics and to the optimist, this seems to be the strongest set of players going to the Games in recent times. Spearheaded by ace long jumper Anju Bobby George 17-member athletics contingent is the largest. India's best chances in Games are likely to come from shooting, boxing and tennis but it is important that country's athletes perform well as underdogs.<u><a href='country.php?country=india'>more</a></u></div><div class='tab_box2'><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />1900: India's first appearance at Modern Olympics.</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />India won first ever Olympic gold medal (Hockey) at 1928 Amsterdam Games.</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />India have won 8 gold medals in hockey, 6 of them successively</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />Leander Paes won bronze medal (Tennis) in 1996 and Karnam Malleswari won a bronze (Weight Lifting) in 2000.</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />Rajyavardhan Singh Rathore won silver medal in men's double trap (Shooting)</a></div></div><div class='tab_btm'><img src='images/tab_rt_btm.gif' class='fr' /><img src='images/tab_lft_btm.gif' class='fl' /></div>";
	}
	if(val == 'history')
	{
		
		document.getElementById('Map').innerHTML="<area shape='rect' coords='13,4,112,19' href='javascript:void(0)' onclick=showTab('olympic') /><area shape='rect' coords='138,5,232,16'  href='javascript:void(0)' onclick=showTab('history') /><area shape='rect' coords='264,5,364,15' href='javascript:void(0)' onclick=showTab('record') /><area shape='rect' href='javascript:void(0)' coords='395,5,494,15' onclick=showTab('fact') />";
		document.getElementById('box4').innerHTML="<img src='images/tab2.gif' border='0' usemap='#Map' /><br/><div class='tab_box'><div class='tab_box1'>'To be the best' that was the ultimate Greek Goal. Every other aspect of life, including athletics, revolved around this belief. For them, it was one of the greatest honours to win at Olympia. It is believed that Olympics traces its history back to 776 BC, when Heracles, the creator of Olympic Games built the Olympic stadium in honour of his father, Zeus. The tradition of celebrating Olympic Games went on till AD 393, after which they were banned. In 1833, Greek poet Panagiotis Soutsos in his poem, 'Dialogue of the Dead', spoke about interest in reviving the Olympics.<a href='static.php?page=history'>more</a></div><div class='tab_box2'><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />In 1894, the International Olympic Committee was founded on initiative of, Pierre Frédy, Baron de Coubertin, a French nobleman.</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0'/>The Olympics were revived, and made international in 1896.</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0'/> In a coup for Olympic movement, South Korea turned democratic in order to welcome the world to Summer Games. North Korea boycotted, and was joined by Cuba, Ethiopia and Nicaragua.</a></div></div><div class='tab_btm'><img src='images/tab_rt_btm.gif' class='fr' /><img src='images/tab_lft_btm.gif' class='fl' /></div>";
	}
	if(val == 'record')
	{
		
		document.getElementById('Map').innerHTML="<area shape='rect' coords='13,4,112,19' href='javascript:void(0)' onclick=showTab('olympic') /><area shape='rect' coords='138,5,232,16'  href='javascript:void(0)' onclick=showTab('history') /><area shape='rect' coords='264,5,364,15' href='javascript:void(0)' onclick=showTab('record') /><area shape='rect' href='javascript:void(0)' coords='395,5,494,15' onclick=showTab('fact') />";
		document.getElementById('box4').innerHTML="<img src='images/tab3.gif' border='0' usemap='#Map' /><br/><div class='tab_box'><div class='tab_box1'><strong>India</strong>The 57 member contingent going to Beijing might not instil the fear of god in its opponents but but there definitely are a few world beaters there. The 9-member squad led by Rajyawardhan Singh Rathore boasts of world class shooters like Gagan Narang and Abhinav Bindra who have just won world championships and there is no reason for them to not replicate their performance in Beijing. Besides them there is the Lee-Hesh ‘Indian Express’, who are definitely the doubles team on court.<a href='static.php?page=hopesIndia'>more</a></div><div class='tab_box2'><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />Mahesh Bhupati & Leander Paes – Lawn Tennis doubles</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />Akhil Kumar - Boxing</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />Rajyavardhan Singh Rathore  - Shooting</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />Abhinav Bindra - Shooting</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />Gagan Narang - Shooting</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />Sania Mirza - Lawn Tennis</a></div></div><div class='tab_btm'><img src='images/tab_rt_btm.gif' class='fr' /><img src='images/tab_lft_btm.gif' class='fl' /></div>";
	}
	if(val == 'fact')
	{
		
		document.getElementById('Map').innerHTML="<area shape='rect' coords='13,4,112,19' href='javascript:void(0)' onclick=showTab('olympic') /><area shape='rect' coords='138,5,232,16'  href='javascript:void(0)' onclick=showTab('history') /><area shape='rect' coords='264,5,364,15' href='javascript:void(0)' onclick=showTab('record') /><area shape='rect' href='javascript:void(0)' coords='395,5,494,15' onclick=showTab('fact') />";
		document.getElementById('box4').innerHTML="<img src='images/tab4.gif' border='0' usemap='#Map' /><br/><div class='tab_box'><div class='tab_box1'><strong>Interesting Facts</strong>The 1936 Berlin Games saw the introduction of the torch relay based on an idea by Dr Carl Diem (sports historian and the chief organiser of the Berlin Games) - lighted torch was carried from Olympia to the site of the Games through 7 countries- Greece, Bulgaria, Yugoslavia, Hungary, Czechoslovakia, Austria and Germany: a total journey of more than 3,000 km.<a href='static.php?page=facts'>more</a></div><div class='tab_box2'><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />The youngest ever Olympian is Greek gymnast Dimitrios Loundras, who competed in 1896 Athens Games at age of 10 years.</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />The oldest Olympic athlete is Swedish shooter Oscar Swahn who won his sixth Olympic medal at age of 72 years and 280 days.</a><a href='#'><img src='images/arrow.gif' hspace='8' border='0' />Larrisa Latynina, a gymnast from the former Soviet Union, finished her Summer Olympic Games career with 18 total medals—the most in history.</a></div></div><div class='tab_btm'><img src='images/tab_rt_btm.gif' class='fr' /><img src='images/tab_lft_btm.gif' class='fl' /></div>";
	}
}

/* Medal div*/
function showmedaldiv()
{
	if(document.getElementById('medal').style.display='none')
	{
		document.getElementById('medal').style.display='block';
		document.getElementById('bigdiv').style.display='block';
		//document.getElementById('bigdiv').style='filter:alpha(opacity=25);-moz-opacity:.25;opacity:.25'
		window.document.getElementById("bigdiv").scrolling="no";
		document.getElementById('bigdiv').style.height=document.body.offsetHeight+"px";
		document.getElementById('bigdiv').style.width=document.body.offsetWidth+"px";
	}
}
function hidemedaldiv()
{
document.getElementById('medal').style.display='none';
document.getElementById('bigdiv').style.display='none';

}

function discipline_select()
{
//alert(document.getElementById('discipline').value);
	var discipline_name = document.getElementById('discipline').value;
	var url="discipline.php?page="+discipline_name;
	//window.location.redirect(url)
	window.location.href="discipline.php?page="+discipline_name;
	
}
  function country_select()
{
//alert(document.getElementById('discipline').value);
	var discipline_name = document.getElementById('country').value;
	var url="country.php?country="+discipline_name;
	//window.location.redirect(url)
	window.location.href="country.php?country="+discipline_name;
	
}     