var xmlhttp
	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
	 try {
	  xmlhttp = new XMLHttpRequest();
	 } catch (e) {
	  xmlhttp=false
	 }
	}
function myXMLHttpRequest() {
	  var xmlhttplocal;
	  try {
		xmlhttplocal= new ActiveXObject("Msxml2.XMLHTTP")
	  } catch (e) {
	  try {
		xmlhttplocal= new ActiveXObject("Microsoft.XMLHTTP")
	  } catch (E) {
		xmlhttplocal=false;
	  }
	 }

	if (!xmlhttplocal && typeof XMLHttpRequest!='undefined') {
	 try {
	  var xmlhttplocal = new XMLHttpRequest();
	 } catch (e) {
	  var xmlhttplocal=false;
	  alert('couldn\'t create xmlhttp object');
	 }
	}
	return(xmlhttplocal);
}

if(typeof xmlhttp=="undefined")var xmlhttp=false; 

/* running locally on IE6,IE7 */                      ;/*Gotta love IE's support for Conditional Compilation*/; /*@cc_on 
  if(location.protocol=="file:"){ 
   if(!xmlhttp)try{ xmlhttp=new ActiveXObject("MSXML2.XMLHTTP"); }catch(e){xmlhttp=false;} 
   if(!xmlhttp)try{ xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }catch(e){xmlhttp=false;} 
  }                                                                                                             @cc_off @*/ 

/* IE7, Firefox, Safari, Konqueror, Opera... the conventional/standard way */ 
//Yes, standard: http://www.w3.org/TR/XMLHttpRequest/ 
  if(!xmlhttp)try{ xmlhttp=new XMLHttpRequest(); }catch(e){xmlhttp=false;} 

/* IE5, IE6 */ 
  if(typeof ActiveXObject != "undefined"){ 
   if(!xmlhttp)try{ xmlhttp=new ActiveXObject("MSXML2.XMLHTTP"); }catch(e){xmlhttp=false;} 
   if(!xmlhttp)try{ xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }catch(e){xmlhttp=false;} 
  } 

/* IceBrowser */ 
  if(!xmlhttp)try{ xmlhttp=createRequest(); }catch(e){xmlhttp=false;} 
// Note IceBrowser does not support responseXML 

////////////////////////////////////////////////////////////////////////////////////// 
//                                                                                  // 
//                                   NOTE                                           // 
//                                                                                  // 
//       As of version 7.0, IE offers support for the native XMLHttpRequest         // 
// object, but the way IE implemented the native object is limited to the web.      // 
// i.e. it prohibits xmlhttp requests to the "file:" protocol while other           // 
// browsers such as Firefox permit it.  ALTHOUGH IE'S IMPLEMENTATION IS             // 
// SUFFICIENT FOR THE WEB, when the webpage is in the development stage the         // 
// "file:" protocol is used.  For this reason, IE is served with ActiveX if off     // 
// the web otherwise if it is on the web, then IE is served with the native         // 
// object.  However IE6.0 doesn't support the native XMLHttpRequest object and      // 
// will be served with ActiveX both on the web and off the web alike.  The          // 
// approach this script uses to determine if the script is off the web is:          // 
// if(location.protocol=="file:")                                                   // 
//                                                                                  // 
////////////////////////////////////////////////////////////////////////////////////// 


