function searchsite() {
 //alert('searching for ' + document.forms[0].Searchfield.value);
 window.location = 'SearcharooToo.aspx?searchfor=' + document.forms[0].Searchfield.value;
}

// Member-Welcome page function starts
function showbehave()
{//alert('showbehave');
  if (document.all('behave').style.display =='none')
      { document.all('behave').style.display ='';
		document.all('services').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('qi').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('behave').style.display='none';}
}

function showservices()
{
  if (document.all('services').style.display =='none')
     { 
		document.all('services').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('qi').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('services').style.display='none';}
}

function showfindprov()
{ 
  if (document.all('findprov').style.display =='none')
      { document.all('findprov').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('services').style.display = 'none';
		document.all('qi').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('findprov').style.display='none';}
}

function showqi()
{
  if (document.all('qi').style.display =='none')
      { document.all('qi').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('services').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('qi').style.display='none';}
}

function showspecial()
{
  if (document.all('special').style.display =='none')
      { document.all('special').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('services').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('qi').style.display = 'none';
       }
  else 
    { document.all('special').style.display='none';}
}
//Member-Welcome page ends here

//Member-Behavioral HealthChoices function starts here
function showservicesBHC()
{
  if (document.all('services').style.display =='none')
     { 
		document.all('services').style.display ='';
		document.all('findprov').style.display = 'none';
		document.all('qi').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('services').style.display='none';}
}
function showfindprovBHC()
{ 
  if (document.all('findprov').style.display =='none')
      { document.all('findprov').style.display ='';
		document.all('services').style.display = 'none';
		document.all('qi').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('findprov').style.display='none';}
}
function showqiBHC()
{
  if (document.all('qi').style.display =='none')
      { document.all('qi').style.display ='';
		document.all('services').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('qi').style.display='none';}
}

function showspecialBHC()
{
  if (document.all('special').style.display =='none')
      { document.all('special').style.display ='';
		document.all('services').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('qi').style.display = 'none';
       }
  else 
    { document.all('special').style.display='none';}
}
// Member-BHC ends here

//Member-Services funtion starts here.
function showbehaveserv()
{
  if (document.all('behave').style.display =='none')
      { document.all('behave').style.display ='';
		document.all('findprov').style.display = 'none';
		document.all('qi').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('behave').style.display='none';}
}

function showfindprovserv()
{ 
  if (document.all('findprov').style.display =='none')
      { document.all('findprov').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('qi').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('findprov').style.display='none';}
}

function showqiserv()
{
  if (document.all('qi').style.display =='none')
      { document.all('qi').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('qi').style.display='none';}
}

function showspecialserv()
{
  if (document.all('special').style.display =='none')
      { document.all('special').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('qi').style.display = 'none';
       }
  else 
    { document.all('special').style.display='none';}
}
//Member-Services ends here

//Member-findprov starts here
function showbehavefind()
{//alert('showbehave');
  if (document.all('behave').style.display =='none')
      { document.all('behave').style.display ='';
		document.all('services').style.display = 'none';
		document.all('qi').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('behave').style.display='none';}
}

function showservicesfind()
{
  if (document.all('services').style.display =='none')
     { 
		document.all('services').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('qi').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('services').style.display='none';}
}

function showqifind()
{
  if (document.all('qi').style.display =='none')
      { document.all('qi').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('services').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('qi').style.display='none';}
}

function showspecialfind()
{
  if (document.all('special').style.display =='none')
      { document.all('special').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('services').style.display = 'none';
		document.all('qi').style.display = 'none';
       }
  else 
    { document.all('special').style.display='none';}
}

//Member-QI function starts here
function showbehaveqi()
{//alert('showbehave');
  if (document.all('behave').style.display =='none')
      { document.all('behave').style.display ='';
		document.all('services').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('behave').style.display='none';}
}

function showservicesqi()
{
  if (document.all('services').style.display =='none')
     { 
		document.all('services').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('services').style.display='none';}
}

function showfindprovqi()
{ 
  if (document.all('findprov').style.display =='none')
      { document.all('findprov').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('services').style.display = 'none';
		document.all('special').style.display = 'none';
       }
  else 
    { document.all('findprov').style.display='none';}
}

function showspecialqi()
{
  if (document.all('special').style.display =='none')
      { document.all('special').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('services').style.display = 'none';
		document.all('findprov').style.display = 'none';
	  }
  else 
    { document.all('special').style.display='none';}
}
//QI ends here

//Member-spec program starts here
function showbehavespec()
{//alert('showbehave');
  if (document.all('behave').style.display =='none')
      { document.all('behave').style.display ='';
		document.all('services').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('qi').style.display = 'none';
       }
  else 
    { document.all('behave').style.display='none';}
}

function showservicesspec()
{
  if (document.all('services').style.display =='none')
     { 
		document.all('services').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('findprov').style.display = 'none';
		document.all('qi').style.display = 'none';
       }
  else 
    { document.all('services').style.display='none';}
}

function showfindprovspec()
{ 
  if (document.all('findprov').style.display =='none')
      { document.all('findprov').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('services').style.display = 'none';
		document.all('qi').style.display = 'none';
	  }
  else 
    { document.all('findprov').style.display='none';}
}

function showqispec()
{
  if (document.all('qi').style.display =='none')
      { document.all('qi').style.display ='';
		document.all('behave').style.display = 'none';
		document.all('services').style.display = 'none';
		document.all('findprov').style.display = 'none';
	 }
  else 
    { document.all('qi').style.display='none';}
}

//Member-Special Program ends here

// Provider-Welcome page function starts
function showbehaveprov()
{//alert('showbehave');
  if (document.all('behaveprov').style.display =='none')
      { document.all('behaveprov').style.display ='';
		//document.all('services').style.display = 'none';
		//document.all('findprov').style.display = 'none';
		document.all('qiprov').style.display = 'none';
		//document.all('special').style.display = 'none';
       }
  else 
    { document.all('behaveprov').style.display='none';}
}

function showqiprov()
{
  if (document.all('qiprov').style.display =='none')
      { document.all('qiprov').style.display ='';
		document.all('behaveprov').style.display = 'none';
		//document.all('services').style.display = 'none';
		//document.all('findprov').style.display = 'none';
		//document.all('special').style.display = 'none';
       }
  else 
    { document.all('qiprov').style.display='none';}
}

//Provider Behavioral HealthChoices
function showqiintroprov()
{//alert('showbehave');
  if (document.all('behaveprov').style.display =='none')
      { document.all('behaveprov').style.display ='';
       }
  else 
    { document.all('behaveprov').style.display='none';}
}

function showbhcprov()
{//alert('showbhcprov')
  if (document.all('qiprov').style.display =='none')
      { document.all('qiprov').style.display ='';
       }
  else 
    { document.all('qiprov').style.display='none';}
}

function showmanaged()
{//alert('showmanaged')
  if (document.all('managed').style.display =='none')
      { document.all('managed').style.display ='';
      //document.all('mhmr').style.display = 'none';
       }
  else 
    { document.all('managed').style.display='none';}
}

function showmhmr()
{
  if (document.all('mhmr').style.display =='none')
      { document.all('mhmr').style.display ='';
       }
  else 
    { document.all('mhmr').style.display='none';}
}


function showbackground()
{
  if (document.all('background').style.display =='none')
      { document.all('background').style.display ='';
       }
  else 
    { document.all('background').style.display='none';}
}

function showleader()
{
  if (document.all('leader').style.display =='none')
      { document.all('leader').style.display ='';
       }
  else 
    { document.all('leader').style.display='none';}
}

function showreport()
{
  if (document.all('report').style.display =='none')
      { document.all('report').style.display ='';
       }
  else 
    { document.all('report').style.display='none';}
}

function showmedia()
{
  if (document.all('media').style.display =='none')
      { document.all('media').style.display ='';
       }
  else 
    { document.all('media').style.display='none';}
}

function showclaims()
{
  if (document.all('claims').style.display =='none')
      { document.all('claims').style.display ='';
       }
  else 
    { document.all('claims').style.display='none';}
}

function showfaqs()
{
  if (document.all('faq').style.display =='none')
      { document.all('faq').style.display ='';
       }
  else 
    { document.all('faq').style.display='none';}
}
function showMemContacts()
{
  if (document.all('MemContacts').style.display =='none')
      { document.all('MemContacts').style.display ='';
       }
  else 
    { document.all('MemContacts').style.display='none';}
}
function showprovcontacts()
{
  if (document.all('provcontacts').style.display =='none')
      { document.all('provcontacts').style.display ='';
       }
  else 
    { document.all('provcontacts').style.display='none';}
}