function browseTopics()
{
	var eventId = 0;
	var topicId = 0;
	var subtopicId = 0;
	var topicChooserEvent = document.getElementById("topicChooserEvent");
	var topicChooserTopic = document.getElementById("topicChooserTopic");
	var topicChooserSubtopic = document.getElementById("topicChooserSubtopic");
	if (topicChooserEvent)
	{
		eventId = topicChooserEvent.options[topicChooserEvent.options.selectedIndex].value;
		if (topicChooserTopic)
		{
			topicId = topicChooserTopic.options[topicChooserTopic.options.selectedIndex].value;
			if (topicChooserSubtopic)
			{
				subtopicId = topicChooserSubtopic.options[topicChooserSubtopic.options.selectedIndex].value;
			}		
		}		
	}
	xajax_browseTopics(eventId, topicId, subtopicId);
}

function showAdvancedSearch()
{
	var advancedSearch = document.getElementById("advancedSearch");
	var advancedSearchClear = document.getElementById("advancedSearchClear");
	if (advancedSearch && advancedSearchClear)
	{
		if (advancedSearch.style.display == "none")
		{
			blend("advancedSearch", 1, 0);
			blend("advancedSearchClear", 1, 0);
		} else {
			blend("advancedSearch", 0, 0);
			blend("advancedSearchClear", 0, 0);
		}
	}
}
