var DestID = '';

function UpdateFeedbackTopic(TopicID,Selected) {
	DestID = 'TopicID2__';
	var myAjax = new Ajax.Request(
			'js/FeedbackTopicAJAX.asp?t='+ TopicID + '&s='+ Selected , 
			{
				method: 'get', 
				parameters: '', 
				asynchronous: false,
				onSuccess: function(response) {
					document.getElementById(DestID).innerHTML = response.responseText;
				}
			});
}

function UpdateAll(rCountry,rRegion,rLocation){
	 if (rCountry == null) rCountry = '';
	 if (rRegion == null) rRegion = '';
	 if (rLocation == null) rLocation = '';
	 
	if ( document.getElementById('RetailCountry') == null || document.getElementById('RetailCountry').value == '' )
		UpdateCountry(rCountry);
	else
		UpdateCountry(document.getElementById('RetailCountry').value);

	if ( document.getElementById('RetailRegion') == null )
		UpdateRegion(rRegion);
	else
		UpdateRegion(document.getElementById('RetailRegion').value);

	if ( document.getElementById('RetailLocation') == null )
		UpdateLocation(rLocation);
	else
		UpdateLocation(GetLocations());
	
	UpdateJobs('')
}
