function	addScenerySpot(fromObj,toObj,validObj)
{
	var to;
	
	for(to = 0; to < toObj.options.length; to++){
		if(toObj.options[to].value == fromObj.options[fromObj.selectedIndex].value){
			alert("You have chosen the scenery spot, please choose another!");
			return;
		}
	}
	
	toObj.options[toObj.options.length] = new Option(fromObj.options[fromObj.selectedIndex].text,fromObj.options[fromObj.selectedIndex].value);
	toObj.options[toObj.options.length - 1].selected = true;
	if(toObj.options.length > 1){
		for(to = 0; to < toObj.options.length - 1; to++)
			toObj.options[to].selected = false;
	}
	
	if(validObj.value == "" || validObj.value == "null"){
		validObj.value = fromObj.options[fromObj.selectedIndex].value;
	} else {
		validObj.value = validObj.value + "," + fromObj.options[fromObj.selectedIndex].value;
	}
	return;
}

function	delScenerySpot(toObj,validObj)
{
	var	tmpScenery = toObj.options[toObj.selectedIndex].value;

	if(validObj.value.indexOf("," + tmpScenery) >= 0){
		validObj.value = validObj.value.replace("," + tmpScenery,"");
	} else {
		validObj.value = validObj.value.replace(tmpScenery,"");
	}
	
	if(validObj.value.length != 0){
		var tmpArray = validObj.value.split(",");
		toObj.options.length = tmpArray.length;
		
		for(i = 0; i < tmpArray.length; i++){
			toObj.options[i] = new Option(tmpArray[i],tmpArray[i]);
		}
		
		toObj.options[toObj.options.length - 1].selected = true;
	} else {
		toObj.options.length = 0;
	}
	return;
}