 //script for primary navigation starts here
var pnav_sp,snav_sp;
		pnav_sp='<ul><li id="ptab_sp1"><a href="singapore.html">home</a></li><li id="ptab_sp2"><a href="solutions_spore.html">solutions</a></li><li id="ptab_sp3"><a href="product_services_spore.html">product &amp; services</a></li><li id="ptab_in6"><a href="investment_indian_spore.html">Research Desk</a></li><li id="ptab_sp4"><a href="about_us_spore.html">about us</a></li><li id="ptab_sp5"><a href="contact_us_spore.html">contact us</a></li></ul>';
		snav_sp='<ul><li id="stab_sp1"><a href="you_spore.html">you</a></li><li id="stab_sp2"><a href="your_business_spore.html">your business</a></li><li id="stab_sp3"><a href="your_family_spore.html">your family</a></li><li id="stab_sp4"><a href="your_retirment_spore.html">your retirement</a></li><li id="stab_sp5"><a href="your_legacy_spore.html">your legacy</a></li></ul>';
		snav_sp1='<ul><li id="stab_sp11"><a href="india_offerings_spore.html">india offerings</a></li><li id="stab_sp12"><a href="global_offerings_spore.html">global offerings</a></li></ul>';
		snav_sp2='<ul><li id="stab_sp21"><a href="abt_our_philosophy_spore.html">our philosophy</a></li><li id="stab_sp22"><a href="abt_our_team_spore.html">our team</a></li><li id="stab_sp23"><a href="abt_press_room_spore.html">press room</a></li></ul>';
		snav_sp3='<ul><li id="stab_sp31"><a href="investment_indian_spore.html">Indian Markets</a></li><li id="stab_sp32"><a href="investment_global_spore.html">Global Markets</a></li></ul>';		

function header_nav_spore(id)
{
	if(id=="1")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp1').className='sel';
	}
	else if(id=="2")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp2').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp;
	}
	else if(id=="3")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp2').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp;
		document.getElementById('stab_sp1').className='sel';
	}
	else if(id=="4")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp2').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp;
		document.getElementById('stab_sp2').className='sel';
	}
	else if(id=="5")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp2').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp;
		document.getElementById('stab_sp3').className='sel';
	}
	else if(id=="6")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp2').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp;
		document.getElementById('stab_sp4').className='sel';
	}
	else if(id=="7")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp2').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp;
		document.getElementById('stab_sp5').className='sel';
	}
	else if(id=="8")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp3').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp1;
	}
	else if(id=="9")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp3').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp1;
		document.getElementById('stab_sp12').className='sel';
	}	
	
	else if(id=="10")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp3').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp1;
		document.getElementById('stab_sp11').className='sel';
	}
	
	else if(id=="11")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp4').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp2;
	}
	else if(id=="12")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp4').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp2;
		document.getElementById('stab_sp21').className='sel';
	}
	else if(id=="13")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp4').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp2;
		document.getElementById('stab_sp22').className='sel';
	}
	else if(id=="14")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp4').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp2;
		document.getElementById('stab_sp23').className='sel';
	}
	else if(id=="15")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp5').className='sel';
	}
	else if(id=="16")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp6').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp3;
		document.getElementById('stab_sp31').className='sel';
	}
	else if(id=="17")
	{
		document.getElementById('topnavL').innerHTML=pnav_sp;
		document.getElementById('ptab_sp6').className='sel';
		document.getElementById('sTabs').innerHTML=snav_sp3;
		document.getElementById('stab_sp32').className='sel';
	}
}
//script for primary navigation ends here
