<!--
		function createRequestObject() 
		{
		try {
			  
			//Moz supports XMLHttpRequest. IE uses ActiveX. 
			//browser detction is bad. object detection works for any browser
			var ro;
			ro = window.XMLHttpRequest?new XMLHttpRequest():
  					new ActiveXObject("Microsoft.XMLHTTP");
			  return ro;	
			}
			catch (e) {
			// browser doesn't support ajax. handle however you want
			}			
		}
		

		var http = createRequestObject();

		function sndReq(action) 
		{
			// Open an HTTP connection to the server
			http.open('post', 'conversion-proc.asp?action='+action);
			
			// Set the content type for POSTed form data (omit for GET, HEAD, etc). 
			http.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
			
			// Handle the response when the ReadyStateChange event fires,
			// i.e. when the XMLHttpRequest object changes state
			http.onreadystatechange = handleResponse;
			
			
			if(action.indexOf('_' != -1)) 
				{
				inputid = action.split('_');
				}
			
			// Send the data stream over HTTP to the host. 
			http.send(inputid[0] + "=" + document.getElementById(inputid[0]).value + "&" + inputid[1] + "=" + document.getElementById(inputid[1]).value)
			//http.send("filesize=" + document.getElementById("filesize").value + "&MB=" + document.getElementById("MB").checked)
		}

		function handleResponse() 
		{
			// if the readyState code is 4 (Completed)
			// and http status is 200 (OK) we go ahead and get the responseText
			// other readyState codes:
			// 0=Uninitialised 1=Loading 2=Loaded 3=Interactive
			if ((http.readyState == 4) && (http.status == 200)){
				var response = http.responseText;
				var update = new Array();

				if(response.indexOf('|' != -1)) {
					update = response.split('|');
					document.getElementById(update[0]).value = update[1];
				}
			}
		}
	-->