	function GetXmlHttpObject() {
		var xmlHttp = null;
	
		//Attempt to 
		try {
			// Firefox, Opera 8.0+, Safari  
			xmlHttp = new XMLHttpRequest();
		}
		catch (e) {  
			// Internet Explorer  
			try {    
				xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");    
			}
			catch (e) {    
				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
			}
		}
		
		//Return Object
		return xmlHttp;
	}

	function AJAX_POST_EXAMPLE(){
		//NOTE: THIS PROCEDURE IS NON-FUNCTIONING
		//      IT IS AN EXAMPLE ONLY!
		//----------------------------------------
		
		//Initialize Ajax object
		var xmlHttp = GetXmlHttpObject();
		if (xmlHttp == null) {
			alert("You're browser does not support Ajax");
			exit();
		}
		
		//Create URl & Parameters
		var url = "../some dir/page.asp/php";
		var parameters = "Param1Name=Param1Value&Param2Name=Param2Value..";
		
		//Execute the request - Async = true
		xmlHttp.open('POST', url, true);
		//Submit request - Async = false
		//xmlHttp.open('POST', url, false);
		xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
		xmlHttp.setRequestHeader("Content-length", parameters.length);
		xmlHttp.setRequestHeader("Connection", "close");
		//Send Paramters
		xmlHttp.send(parameters);
		
		//Setup the State Change Function
		//Note: If Async = false (ie. xmlHttp.open('POST', url, false);)
		//      The following function means nothing.  The script pauses
		//		here until the response is received (if ever).
		//		Useful in situations where you MUST wait for the response before
		//		your script can continue.  When this is the case, however you must
		//		add your processing OUTSIDE of this command.
		//		For example: the line "document.getElementById("MyElement").innerHTML = xmlHttp.responseText;" used below
		//		would be moved to directly under the xmlHttp.send command.
		xmlHttp.onreadystatechange=function() {
			//The 'Unknown' Check help prevent a Javascript error in IE
			if (typeof(xmlHttp.responseText)!="unknown") {
				//Readystate=4=finished; status=200=success
				if(xmlHttp.readyState == 4 && xmlHttp.status == 200) {
					document.getElementById("MyElement").innerHTML = xmlHttp.responseText;
				}
			}
		}
	}
	
	function AJAX_GET_EXAMPLE(){
		//NOTE: THIS PROCEDURE IS NON-FUNCTIONING
		//      IT IS AN EXAMPLE ONLY!
		//----------------------------------------
		
		//Initialize Ajax object
		var xmlHttp = GetXmlHttpObject();
		if (xmlHttp == null) {
			alert("You're browser does not support Ajax");
			exit();
		}
		
		//Create URl with query string
		var url = "process.asp?f=" + window.parent.document.getElementById("FolderID").value;
		
		//Submit request - Async = true
		xmlHttp.open("GET",url,true);
		//Submit request - Async = false
		//xmlHttp.open("GET",url,false);
		xmlHttp.send(null);

		//Setup the State Change Function
		//Note: If Async = false (ie. xmlHttp.open('POST', url, false);)
		//      The following function means nothing.  The script pauses
		//		here until the response is received (if ever).
		//		Useful in situations where you MUST wait for the response before
		//		your script can continue.  When this is the case, however you must
		//		add your processing OUTSIDE of this command.
		//		For example: the line "document.getElementById("MyElement").innerHTML = xmlHttp.responseText;" used below
		//		would be moved to directly under the xmlHttp.send command.
		xmlHttp.onreadystatechange=function() {
			//The 'Unknown' Check help prevent a Javascript error in IE
			if (typeof(xmlHttp.responseText)!="unknown") {
				//Readystate=4=finished; status=200=success
				if(xmlHttp.readyState == 4 && xmlHttp.status == 200) {
					document.getElementById("MyElement").innerHTML = xmlHttp.responseText;
				}
			}
		}

	}