google.load("search", "1");
	function hideContents() {
	document.getElementById("maincontentblock").style.display="none";
	document.getElementById("maincontentheadline").style.display="none";
	
	var lookedfor = document.getElementsByName("search");
	pageTracker._trackPageview("SearchExecuted:"+lookedfor[0].value); 
	}

    function GoogOnLoad() {
      // Create a search control
      var searchControl = new google.search.SearchControl();
	  var options = new google.search.SearcherOptions();
	  options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);
	  options.setRoot(document.getElementById("searchResults"));
	  options.setNoResultsString(google.search.SearchControl.NO_RESULTS_DEFAULT_STRING);
      // Add in a full set of searchers
	  mySearch = new google.search.WebSearch();
	  mySearch.setUserDefinedLabel("Your search results at Slipnot.com");
	  mySearch.setSiteRestriction("slipnot.com");
 
      searchControl.addSearcher(mySearch, options);
	  searchControl.setLinkTarget(google.search.Search.LINK_TARGET_SELF);
      searchControl.setResultSetSize(google.search.Search.LARGE_RESULTSET);
      searchControl.draw(document.getElementById("searchHeader"));
	  searchControl.setSearchCompleteCallback(this,hideContents);
	  
    }
    google.setOnLoadCallback(GoogOnLoad);
