function showPage(a) {
	var el;
	el = document.getElementById('HOME');
	if (el.style.display == '') {
		el.style.display = 'none';
	}

	el = document.getElementById('WHY');
	if (el.style.display == '') {
		el.style.display = 'none';
	}

	el = document.getElementById('SOLAR');
	if (el.style.display == '') {
		el.style.display = 'none';
	}

	el = document.getElementById('ENVIRONX'); 
	if (el.style.display == '') {
		el.style.display = 'none';
	}

	el = document.getElementById('INCENTIVES');
	if (el.style.display == '') {
		el.style.display = 'none';
	}

	el = document.getElementById('CONTACT');
	if (el.style.display == '') {
		el.style.display = 'none';
	}
	a.style.display = '';
	
	}

      function homez(page)
      {
		document.title = 'Environx - Home';
		// window.location.href='#home';
     window.scrollTo(0,0);
       showPage(HOME);
      }
	    function whyz(page)
      {
		 document.title = 'Environx - Why Solar?';
		// window.location.href='#why';
       window.scrollTo(0,0);
       showPage(WHY);
      }
	    function solarz(page)
      {
		document.title = 'Environx - Solar Made Simple';
		// window.location.href='#solar';
     window.scrollTo(0,0);
       showPage(SOLAR);
      }
	    function environxz(page)
      {
	document.title = 'Environx - Why Environx?';
	// window.location.href='#environx';
     window.scrollTo(0,0);
       showPage(ENVIRONX);
      }
	    function incentivesz(page)
      {
		  document.title = 'Environx - Government Incentives and New Links';
		//   window.location.href='#incentives';
      window.scrollTo(0,0);
       showPage(INCENTIVES);
      }
	    function contactz(page)
      {
		 document.title = 'Environx - Contact Environx'; 
		 // window.location.href='#contact';
     window.scrollTo(0,0);
       showPage(CONTACT);
      }
  

