function SearchShowMoreTags(module, number, tag){
	
	search_results = document.getElementById(module + "_search_results");
	shown = document.getElementById("search_shown_" + module).value;
	shown_num_of_results = document.getElementById("search_results_" + module).value;
	
	now_shown = parseInt(shown) + parseInt(number);
	
	
	if ( parseInt(shown_num_of_results) < parseInt(now_shown) ){
		document.getElementById("search_more_" + module).style.display = 'none';
	}
	
	httpObject = getHTTPObject();
	
	if (httpObject != null) {
		
		httpObject.open("GET", path + "/modules/search/get_more_tags.php?more=" + module + "&shown=" + shown + "&number=" + number + "&num_of_results=" + shown_num_of_results + "&tag=" + tag, true);
		httpObject.send(null);
		httpObject.onreadystatechange = function(){
		
			if(httpObject.readyState == 4){
					search_results.innerHTML = search_results.innerHTML + httpObject.responseText;
			
		}

		}
	
	}
	
	document.getElementById("search_shown_" + module).value = now_shown;
	

}


function SearchShowMoreResults(module, number, tag){
	
	search_results = document.getElementById(module + "_search_results");
	shown = document.getElementById("search_shown_" + module).value;
	shown_num_of_results = document.getElementById("search_results_" + module).value;
	
	now_shown = parseInt(shown) + parseInt(number);
	
	
	if ( parseInt(shown_num_of_results) < parseInt(now_shown) ){
		document.getElementById("search_more_" + module).style.display = 'none';
	}
	
	httpObject = getHTTPObject();
	
	if (httpObject != null) {
		
		httpObject.open("GET", path + "/modules/search/get_more_results.php?more=" + module + "&shown=" + shown + "&number=" + number + "&num_of_results=" + shown_num_of_results + "&tag=" + tag, true);
		httpObject.send(null);
		httpObject.onreadystatechange = function(){
		
			if(httpObject.readyState == 4){
					search_results.innerHTML = search_results.innerHTML + httpObject.responseText;
			
		}

		}
	
	}
	
	document.getElementById("search_shown_" + module).value = now_shown;
	

}
