// make sure this only gets defined once
if (typeof grab_ajax_handle != 'function')
{
	function grab_ajax_handle()
	{
		var ajax_handle;
		try {
			// Firefox, Opera 8.0+, Safari, other intelligent browsers
			ajax_handle = new XMLHttpRequest();
		}
		catch (e) {
			// Internet Explorer
			try {
				ajax_handle = new ActiveXObject('Msxml2.XMLHTTP');
			}
			catch (e) {
				try {
					ajax_handle = new ActiveXObject('Microsoft.XMLHTTP');
				}
				catch (e) {
					//ajax is not supported
					return false;
				}
			}
		}
		//either we have it or we're dead
		//give it
		return ajax_handle;
	}
}


