		var _num = "";
		var _timer = null;
		
		function startLookUp()
		{
		  var inputText = document.getElementById("inputField").value;
			
			if(inputText.length==0)
			{
				document.getElementById("Result").innerHTML = "";
			}
			else
			{
				 if (_num != inputText) 
				 {
					if (_timer != null)
					{
						window.clearTimeout(_timer);
					}
					
					
					document.getElementById("Result").innerHTML = "Searching for matches...";
					_num = inputText;
					
					// start Ajax Call
					_timer = window.setTimeout("doLookUp()", 300, "javascript");
				 } // if
			}
		}
		
		//	Ajax Call
		function doLookUp()
		{
		
			var inputText, outputText;

			inputText = document.getElementById("inputField").value;

  		  var onlyDisney = document.getElementById("onlyDisney").checked;


			if ((inputText == null) || (inputText.length == 0) || (inputText == "0"))
				return;

			var xmlObj = null;
			
			if (window.XMLHttpRequest){ 
				// If IE7, Mozilla, Safari, etc: Use native object
				xmlObj = new XMLHttpRequest();
				xmlObj.open("GET", "process.php?query=" + inputText + "&disney=" + onlyDisney, false);
				xmlObj.send(null);
				
			} else if (window.ActiveXObject) {
				// ...otherwise, use the ActiveX control for IE5.x and IE6
				xmlObj = new ActiveXObject("Microsoft.XMLHTTP"); 
				xmlObj.open("GET", "process.php?query=" + inputText + "&disney=" + onlyDisney, false);
				xmlObj.send();
			} // if
			

			outputText = xmlObj.responseText;

			document.getElementById("Result").innerHTML = outputText;
		
		}

