function cz_getChildNode(node) {
	var count = -1;
	for ( var i in this.childNodes ) {
		if ( typeof this.childNodes[i].nodeName == 'string' && this.childNodes[i].nodeName != '#text' ) {
			count++;
		}
		if ( count == node ) {
			return this.childNodes[i];
		}
	}
	return undefined;
};
function cz_getNextSibling() {
	var next = this.nextSibling;
	if ( next != null && typeof next.nodeName == 'string' && next.nodeName == '#text' ) {
		next = next.nextSibling;
	}
	if ( next != null && typeof next.nodeName == 'string' ) {
		return next;
	} else {
		return undefined;
	}	
};
function cz_getPreviousSibling() {
	var prev = this.previousSibling;
	if ( prev != null && typeof prev.nodeName == 'string' && prev.nodeName == '#text' ) {
		prev = prev.nextSibling;
	} else if ( prev == null ) {
		return undefined;
	}
	return prev;
};
function cz_getChildCount() {
	var count = 0;
	for ( var i in this.childNodes ) {
		if ( typeof this.childNodes[i].nodeName == 'string' && this.childNodes[i].nodeName != '#text' ) {
			count++;
		}
	}
	return count;
}
if ( typeof ActiveXObject == 'undefined' ) {
	Element.prototype.getChildNode = cz_getChildNode;
	Element.prototype.getChildCount = cz_getChildCount;
	Element.prototype.getNextSibling = cz_getNextSibling;
	Element.prototype.getPreviousSibling = cz_getPreviousSibling;
} else {
	$(cz_loadingExplorer);
}

function cz_loadingExplorer() {
	if ( window.attachEvent != undefined ) {
		for ( var i in document.all ) {
			document.all[i].getChildNode = cz_getChildNode;
			document.all[i].getChildCount = cz_getChildCount;
			document.all[i].getNextSibling = cz_getNextSibling;
			document.all[i].getPreviousSibling = cz_getPreviousSibling;
		}
	}
}

function HttpObj() {
	var httpObj;
	try {
        httpObj = new ActiveXObject("Microsoft.XMLHTTP");
    } catch(e) {
        httpObj = new XMLHttpRequest();
    }
    return httpObj;
}
