			function AddOpsCountry()
			{
				opsSelect = document.getElementById("partnerFormControl_operationCountryDropDown");
				opsList = document.getElementById("partnerFormControl_operationCountryList");
				opsHidden = document.getElementById("partnerFormControl_operationCountriesHidden");
				if (opsList.options.length >= 10) { alert('maximum 10 countries'); return ; }
				
				var opt = opsSelect.options[opsSelect.selectedIndex];
				
				// put selection in list alphabetically
				for (i = 0; i < opsList.options.length; i ++)
					if (opsList.options[i].innerHTML > opt.innerHTML) break;					
				
				var newopt = document.createElement("OPTION");
				opsList.options.add(newopt, i);
				newopt.value = opt.value;
				newopt.innerHTML = opt.innerHTML;
				
				// remove from dropdown (avoids double adds)
				opsSelect.options[opsSelect.selectedIndex] = null;
				
				// save current selection in hidden field
				opsHidden.value = "";
				for (i = 0; i < opsList.options.length; i ++)
					opsHidden.value += opsList.options[i].value + ";";						
				
			}
			function RemoveOpsCountry()
			{
				
				opsSelect = document.getElementById("partnerFormControl_operationCountryDropDown");
				opsList = document.getElementById("partnerFormControl_operationCountryList");
				opsHidden = document.getElementById("partnerFormControl_operationCountriesHidden");
				if (opsList.options.length == 0) return;
				if (opsList.selectedIndex < 0) return;
				
				// put country back at alphabetical position
				var opt = opsList.options[opsList.selectedIndex];
				for (i = 1; i < opsSelect.options.length; i ++)
					if (opsSelect.options[i].innerHTML > opt.innerHTML) break;					
					
				var newOpt = document.createElement("OPTION");
				opsSelect.options.add(newOpt, i);
				newOpt.value = opt.value;
				newOpt.innerHTML = opt.innerHTML;
				
				// remove from selection
				opsList.options[opsList.selectedIndex] = null;
				
				// save current selection in hidden field
				opsHidden.value = "";
				for (i = 0; i < opsList.options.length; i ++)
					opsHidden.value += opsList.options[i].value + ";";						
				
			}	

