//<![CDATA[

google.load("search", "1");

function OnLoad() 
{
    var searchControl = new google.search.SearchControl();

    var drawOptions = new google.search.DrawOptions();
    drawOptions.setSearchFormRoot(document.getElementById("searchForm"));
	
	google.search.Search.getBranding(document.getElementById("branding"));

    //the search box is placed where you make a div called searchForm
      
    // add an additional term to the query
    // music
    searcher = new google.search.WebSearch();
	searcher.setUserDefinedLabel("Music Results");
    searcher.setQueryAddition("' intitle:index.of +'last modified' +'parent directory' +(mp3|wma|ogg) -htm -html -php -asp -vmp3.eu -omega-music.com -shexy.nl -mp3-network.net -listen77.com -indexofmp3.net'");    
      
    options = new google.search.SearcherOptions();
    options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);
    searchControl.addSearcher(searcher, options);
	

    // create a drawOptions object

    searchControl.draw(document.getElementById("searchResults"), drawOptions);
    //the search results go to div id=searchResults	

	searchControl.setNoResultsString("No Results Found");
    searchControl.setResultSetSize("large");
	

}
google.setOnLoadCallback(OnLoad);

//]]>