// Tagging durchfuehren.
function tagging_doit(positionId, tagName) {
	var query = "positionId="+positionId+"&tagName="+tagName;
	if (tagName != '') {
		Ajax.Request('GET', 'updatePositionTagAjax.do', query, tagging_onresponse);	
	
		var taggingText = document.getElementById('newtag_text');
		if (taggingText) {
			document.getElementById('newtag_text').style.display = 'inline';
			if (taggingText.innerHTML == '')
				document.getElementById('newtag_text').innerHTML += tagName.toLowerCase();
			else 
				document.getElementById('newtag_text').innerHTML += ', ' + tagName.toLowerCase();
		}
	}
}


function tagging_onresponse(xml) {
}
