/********************************************************************************************
 * subject     :  h.com support functions for the login object                              *
 *                (c) 2006 by h.com networkers                                              *
 * version     :  1.0                                                                       *
 * cvs         :  $Id: login.js,v 1.1 2009-12-16 13:14:08 karlb Exp $
 * description :  implements functions to detect some of the browsers functions, such       *
 *                as xmlrequest - object (AJAX) etc.                                        *
 ********************************************************************************************/

function hcom_login_addinfo() {
  var xmlobj = null;
  if (window.XMLHttpRequest) { // Mozilla, Safari, IE7 ...
    xmlobj = new window.XMLHttpRequest();
  } else if (window.ActiveXObject) { // IE
    try {
      xmlobj = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
      try {
        xmlobj = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (e) {
        xmlobj = null;
      }
    }
  }
  var Result = new Array();
  var idx = 0;
  if(xmlobj) Result[idx++] = "xml";
  return Result.join(",");
}
