pX.prototype.aO = undefined;
function pX () {
}
pX.prototype.load = function (aW, aP, aQ, aV) {
	this.aO = false;
	if (window.XMLHttpRequest) {
		this.aO = new XMLHttpRequest();
	}
	else if (window.ActiveXObject) {
		try {
			this.aO = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e) {
			try {
				this.aO = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e) {
			}
		}
	}
	if (this.aO) {
		var _this = this;
		this.aW = aW;
		this.aP = aP;
		this.aQ = aQ;
		this.aV = aV;
		this.aO.onreadystatechange = function () {_this._onData();};
		this.aO.open('POST', aP, true);
		this.aO.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
		this.aO.setRequestHeader("Connection", "close");
		this.aO.send(aQ);
	}
}
pX.prototype._onData = function() {
	if (this.aO.readyState == 4) {
		if (this.aO.status == 200) {
			if (this.aO.responseText.length > 0) {
				if (this.aW) {
					//if (this.aW.value == this.aV) {
						this.aF = this.aW.form;
						this.aN = parseInt(this.aO.responseText.substr(0, this.aO.responseText.indexOf('\n')));
						this.aL = this.aO.responseText.split('\n', this.aN);
						for (this.aJ=2; this.aJ<this.aL.length; this.aJ++) {
							this.aT = this.aL[this.aJ];
							if (this.aT.indexOf('|') > 0) {
								this.aC = this.aT.split('|', 3);
								this.aD = Layer(this.aC[0]);
								if (this.aD) {
									if (this.aC[1] == 'v') {
										this.aD.value = this.aC[2];
									}
									else if (this.aC[1] == 's') {
										if (this.aC[2] == '1') {
											this.aD.style.visibility = 'visible';
											this.aD.style.display = 'block';
										}
										else {
											this.aD.style.visibility = 'hidden';
											this.aD.style.display = 'none';
										}
									}
									else {
										this.aD.innerHTML = this.aC[2];
									}
								}
								else if (this.aF.elements[this.aC[0]]) {
									if (this.aC[1] == 'v') {
										this.aF.elements[this.aC[0]].value = this.aC[2];
									}
									else if (this.aC[1] == 's') {
										if (this.aC[2] == '1') {
											this.aF.elements[this.aC[0]].visibility = 'visible';
											this.aF.elements[this.aC[0]].display = 'block';
										}
										else {
											this.aF.elements[this.aC[0]].visibility = 'hidden';
											this.aF.elements[this.aC[0]].display = 'none';
										}
									}
									else {
										this.aF.elements[this.aC[0]].innerHTML = this.aC[2];
									}
								}
								else {
									//alert('no - ' + this.aC[0]);
								}
							}
						}
					//}
				}
			}
		}
	}
}
function fL (nM) {
	if (document.getElementById) {
		return document.getElementById(nM);
	}
	if (document.all) {
		return document.all[nM];
	}
	if (document.layers) {
		if (document.layers[nM]) {
			return document.layers[nM];
		}
		if (document[nM]) {
			return document[nM];
		}
	}
	return false;
}
function fP (fN, fU, fF) {
	fC(fN, fF);
	var gN = new pX();
	gN.load(fL(fN), fU, '', '');
}
function fC (fM, fF) {
	fG = fL(fM);
	if (fG) {
		fG.innerHTML = '<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" style="width: 100%; height: 248px;"><tr><td valign="middle" align="center"><img src="/i/wait' + fF + '.gif" border="0"></td></tr></table>';
	}
}