function clearSearch(){
    if (document.getElementById("searchBtn").value == "Search")
        document.getElementById("searchBtn").value = "";
}

function searchCheck(){
    return true;
}

function showSolar(){
    this.hideAll();
    document.getElementById("topNav").style.borderLeft = '1px solid #f0bf3f';
    document.getElementById("solar-electric").style.display = 'block';
    document.getElementById("leftNavBor").style.display = 'block';
}

function showHotWater(){
    this.hideAll();
    document.getElementById("solar-hot-water").style.display = 'block';
}

function showWind(){
    this.hideAll();
    document.getElementById("wind").style.display = 'block';
}

function showSolar101(){
    this.hideAll();
    document.getElementById("solar-101").style.display = 'block';
}

function showAbout(){
    this.hideAll();
    document.getElementById("topNav").style.borderRight = '1px solid #f0bf3f';
    document.getElementById("about").style.display = 'block';
    document.getElementById("rightNavBor").style.display = 'block';   
}

function hideAll(){
    document.getElementById("topNav").style.borderLeft = '1px solid #000';
    document.getElementById("topNav").style.borderRight = '1px solid #000';
    document.getElementById("solar-hot-water").style.display = 'none';        
    document.getElementById("solar-electric").style.display = 'none';        
    document.getElementById("about").style.display = 'none';        
    document.getElementById("wind").style.display = 'none';        
    document.getElementById("solar-101").style.display = 'none';    
    document.getElementById("leftNavBor").style.display = 'none';    
    document.getElementById("rightNavBor").style.display = 'none';    
}

function megaShow(sID){
	document.getElementById("package1").className = document.getElementById("package2").className = document.getElementById("package3").className = '';
	document.getElementById("p1").style.display = document.getElementById("p2").style.display = document.getElementById("p3").style.display = 'none';
	document.getElementById("package"+sID).className = 'current';
	document.getElementById("p"+sID).style.display = 'block';
}

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-3018709-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

