var elem, vis;
if( document.getElementById ) // this is the way the standards work
    elem = document.getElementById('navRegionalPubLinks');

else if( document.all ) // this is the way old msie versions work
    elem = document.all['navRegionalPubLinks'];

else if( document.layers ) // this is the way nn4 works
  elem = document.layers['navRegionalPubLinks'];

vis = elem.style;
vis.display = 'block';
elem.previousSibling.firstChild.style.backgroundPosition = '0 -66px';

function showBrandOverview()
{
	showLayer('brandOverviewContent');
	hideLayer('audienceContent');
	hideLayer('ratesContent');
	hideLayer('specsDeadlinesContent');
	hideLayer('sectionsContent');
	hideLayer('categoriesContent');
	hideLayer('featuresReportsContent');
	hideLayer('researchContent');
	hideLayer('contactsContent');
	  
    	deSelectTab('AudiencesTab');
    	deSelectTab('RatesTab');
    	deSelectTab('SpecsDeadlinesTab');
    	deSelectTab('SectionsTab');
    	deSelectTab('CategoriesTab');
    	deSelectTab('FeaturesAndReportsTab');
   	deSelectTab('ResearchTab');
    	deSelectTab('ContactsTab');
	selectTab('BrandOverviewTab');  
}

function showAudience()
{
	hideLayer('brandOverviewContent');
	showLayer('audienceContent');
	hideLayer('ratesContent');
	hideLayer('specsDeadlinesContent');
	hideLayer('sectionsContent');
	hideLayer('categoriesContent');
	hideLayer('featuresReportsContent');
	hideLayer('researchContent');
	hideLayer('contactsContent');
	
	deSelectTab('BrandOverviewTab');    
    	deSelectTab('RatesTab');
    	deSelectTab('SpecsDeadlinesTab');
    	deSelectTab('SectionsTab');
    	deSelectTab('CategoriesTab');
    	deSelectTab('FeaturesAndReportsTab');
    	deSelectTab('ResearchTab');
    	deSelectTab('ContactsTab');
    	selectTab('AudiencesTab');
}

function showRates()
{
	hideLayer('brandOverviewContent');
	hideLayer('audienceContent');
	showLayer('ratesContent');
	hideLayer('specsDeadlinesContent');
	hideLayer('sectionsContent');
	hideLayer('categoriesContent');
	hideLayer('featuresReportsContent');
	hideLayer('researchContent');
	hideLayer('contactsContent');
	
	deSelectTab('BrandOverviewTab');    
    	deSelectTab('AudiencesTab');
    	deSelectTab('SpecsDeadlinesTab');
    	deSelectTab('SectionsTab');
    	deSelectTab('CategoriesTab');
    	deSelectTab('FeaturesAndReportsTab');
    	deSelectTab('ResearchTab');
    	deSelectTab('ContactsTab');
    	selectTab('RatesTab');
}

function showSpecsDeadlines()
{	
	hideLayer('brandOverviewContent');
	hideLayer('audienceContent');
	hideLayer('ratesContent');
	showLayer('specsDeadlinesContent');
	hideLayer('sectionsContent');
	hideLayer('categoriesContent');
	hideLayer('featuresReportsContent');
	hideLayer('researchContent');
	hideLayer('contactsContent');
	
	deSelectTab('BrandOverviewTab');    
    	deSelectTab('AudiencesTab');
    	deSelectTab('RatesTab');
    	deSelectTab('SectionsTab');
    	deSelectTab('CategoriesTab');
    	deSelectTab('FeaturesAndReportsTab');
    	deSelectTab('ResearchTab');
    	deSelectTab('ContactsTab');
    	selectTab('SpecsDeadlinesTab');
}

function showSections()
{
	hideLayer('brandOverviewContent');
	hideLayer('audienceContent');
	hideLayer('ratesContent');
	hideLayer('specsDeadlinesContent');
	showLayer('sectionsContent');
	hideLayer('categoriesContent');
	hideLayer('featuresReportsContent');
	hideLayer('researchContent');
	hideLayer('contactsContent');
	
	deSelectTab('BrandOverviewTab');    
    	deSelectTab('AudiencesTab');
    	deSelectTab('RatesTab');
    	deSelectTab('SpecsDeadlinesTab');
   	deSelectTab('CategoriesTab');
    	deSelectTab('FeaturesAndReportsTab');
    	deSelectTab('ResearchTab');
    	deSelectTab('ContactsTab');
    	selectTab('SectionsTab');
}

function showCategories()
{
	hideLayer('brandOverviewContent');
	hideLayer('audienceContent');
	hideLayer('ratesContent');
	hideLayer('specsDeadlinesContent');
	hideLayer('sectionsContent');
	showLayer('categoriesContent');
	hideLayer('featuresReportsContent');
	hideLayer('researchContent');
	hideLayer('contactsContent');
	
	deSelectTab('BrandOverviewTab');    
    	deSelectTab('AudiencesTab');
    	deSelectTab('RatesTab');
    	deSelectTab('SpecsDeadlinesTab');
    	deSelectTab('SectionsTab');
    	deSelectTab('FeaturesAndReportsTab');
    	deSelectTab('ResearchTab');
    	deSelectTab('ContactsTab');
    	selectTab('CategoriesTab');
}

function showFeaturesAndReports()
{	
	hideLayer('brandOverviewContent');
	hideLayer('audienceContent');
	hideLayer('ratesContent');
	hideLayer('specsDeadlinesContent');
	hideLayer('sectionsContent');
	hideLayer('categoriesContent');
	showLayer('featuresReportsContent');
	hideLayer('researchContent');
	hideLayer('contactsContent');
	
	deSelectTab('BrandOverviewTab');    
    	deSelectTab('AudiencesTab');
    	deSelectTab('RatesTab');
    	deSelectTab('SpecsDeadlinesTab');
    	deSelectTab('SectionsTab');
    	deSelectTab('CategoriesTab');
    	deSelectTab('ResearchTab');
    	deSelectTab('ContactsTab');
    	selectTab('FeaturesAndReportsTab');
}

function showResearch()
{
	hideLayer('brandOverviewContent');
	hideLayer('audienceContent');
	hideLayer('ratesContent');
	hideLayer('specsDeadlinesContent');
	hideLayer('sectionsContent');
	hideLayer('categoriesContent');
	hideLayer('featuresReportsContent');
	showLayer('researchContent');
	hideLayer('contactsContent');
    
    	deSelectTab('BrandOverviewTab');    
    	deSelectTab('AudiencesTab');
    	deSelectTab('RatesTab');
    	deSelectTab('SpecsDeadlinesTab');
    	deSelectTab('SectionsTab');
    	deSelectTab('CategoriesTab');
    	deSelectTab('FeaturesAndReportsTab');
    	deSelectTab('ContactsTab');
    	selectTab('ResearchTab');
}

function showContacts()
{
	hideLayer('brandOverviewContent');
	hideLayer('audienceContent');
	hideLayer('ratesContent');
	hideLayer('specsDeadlinesContent');
	hideLayer('sectionsContent');
	hideLayer('categoriesContent');
	hideLayer('featuresReportsContent');
	hideLayer('researchContent');
	showLayer('contactsContent');
	
	deSelectTab('BrandOverviewTab');    
    	deSelectTab('AudiencesTab');
    	deSelectTab('RatesTab');
    	deSelectTab('SpecsDeadlinesTab');
    	deSelectTab('SectionsTab');
    	deSelectTab('CategoriesTab');
    	deSelectTab('FeaturesAndReportsTab');
    	deSelectTab('ResearchTab');
    	selectTab('ContactsTab');
}