<!--
	var previous_scripts = new Array();
	var table = document.getElementsByTagName('table');
	var td = document.getElementsByTagName('td');
	var a = document.getElementsByTagName('a');
	
	var processing = false;
	
	function dataRequest(file) {
		if(!processing) {
			processing = true;
			var httpRequest;
			if (window.XMLHttpRequest) {
				httpRequest = new XMLHttpRequest();
				if (httpRequest.overrideMimeType) {
					httpRequest.overrideMimeType('text/xml');
				}
			} else if (window.ActiveXObject) {
				try {
					httpRequest = new ActiveXObject("Msxml2.XMLHTTP");
				} catch (e) {
					try {
						httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
					} catch (e) {}
				}
			}
			httpRequest.onreadystatechange = function() { showResponse(httpRequest); };
			httpRequest.open('GET', file, true);
			httpRequest.send(null);
			return false;
		}
	}

	function showResponse(httpRequest) {
		if (httpRequest.readyState == 4) {
			if (httpRequest.status == 200) {
				var onfinish = "";
				var response = httpRequest.responseXML;
				if(response.getElementsByTagName('key').item(0)) {
					var key = response.getElementsByTagName('key').item(0).firstChild.data;
					if(document.getElementById(key)) {
						// Remove Current Options
						var select = document.getElementById(key);
						while(select.firstChild) {
							select.removeChild(select.firstChild);
						}
						// Any Option
						var opt = document.createElement('option');
							opt.value = "";
							opt.innerHTML = "Any";
							select.appendChild(opt);
						// Append new options
						if(response.getElementsByTagName('option').item(0)) {
							var options = response.getElementsByTagName('option');
							for(o=0; o<options.length; o++) {
								var opt = document.createElement('option');
								opt.value = options[o].firstChild.data.toLowerCase();
								if(key == "destination" && "undefined" != typeof destination) {
									if(destination == options[o].firstChild.data) {
										opt.selected = true;
										onfinish = "list_resorts(destination);";
									}
								}
								opt.innerHTML = options[o].firstChild.data.replace(/\//gi, ' ');
								select.appendChild(opt);
							}
						}
						r = 0;
						while(response.getElementsByTagName('reset').item(r)) {
							var reset_key = response.getElementsByTagName('reset').item(r).firstChild.data;
							if(document.getElementById(reset_key)) {
								var reset = document.getElementById(reset_key);
								while(reset.firstChild) {
									reset.removeChild(reset.firstChild);
								}
								var opt = document.createElement('option');
									opt.value = "";
									opt.innerHTML = "&hellip;";
									reset.appendChild(opt);
							}
							r++;
						}
					}
					select.removeAttribute('disabled');
				}
				processing = false;
				if(onfinish != "") {
					eval(onfinish);
				}
			} else {
				processing = false;
				alert('There was an unknown problem with the request.');
			}
		}
	}
//-->