function showTab(tabHeadId,tabContentId)

{

	var tabDiv = document.getElementById("tabDiv");
	
	var taContents = tabDiv.childNodes;
	
	for(i=0; i<taContents.length; i++)	
	{
	
		if(taContents[i].id!=null && taContents[i].id != 'tabsHead')
	
		{
		
			taContents[i].style.display = 'none';
		
		}
	
	}
	
	document.getElementById(tabContentId).style.display = 'block';
	
	var tabHeads = document.getElementById('tabsHead').getElementsByTagName('a');
	
	for(i=0; i<tabHeads.length; i++)
	
	{

		tabHeads[i].className='tabs';
	
	}

	if(tabHeadId=="artabs1") //for blog archive
	{
		document.getElementById("blogArchiveBc").style.background = "url('../images/blog/archive_bg.jpg') no-repeat ";
	}
	else if(tabHeadId=="artabs2")
	{
		document.getElementById("blogArchiveBc").style.background = "url('../images/blog/archive_bg_selected.jpg') no-repeat ";
	}
	document.getElementById(tabHeadId).className='curtab';
	
	document.getElementById(tabHeadId).blur();

}

function showAlbumInfo()
{
	document.getElementById("albumInfoNew").style.display = 'block';
	document.getElementById("albumTracksNew").style.display = 'none';
	document.getElementById("albumInfoNavigation").style.display = 'block';
	document.getElementById("albumTrackNavigation").style.display = 'none';

}

function showAlbumTracks()
{
	document.getElementById("albumInfoNew").style.display = 'none';
	document.getElementById("albumTracksNew").style.display = 'block';
	document.getElementById("albumInfoNavigation").style.display = 'none';
	document.getElementById("albumTrackNavigation").style.display = 'block';
}


