<!--
	
	var ajaxLoader = function(fP) {
		
		this.vars = new Array();
		this.output = "text";
		this.onload = function() {};
		
		this.set = function(fName,fValue) { this.vars.push({ "name":fName , "value":fValue }); };
		
		this.load = function(fP) {
			
			var reqVars = null;
			var reqFile = fP["file"] ? fP["file"] : "" ;
			var reqMethod = fP["method"] ? fP["method"] : "get" ;
			
			for ( var i = 0 ; i < this.vars.length ; i++ ) {
				if (this.vars[i]) {
					reqVars += ( reqVars != "" ? "&" : "" ) + this.vars[i]["name"] + "=" + encodeURIComponent(this.vars[i]["value"]);
				}
			}
			
			var axReq = null;
			
			if (window.XMLHttpRequest) {
				axReq = new XMLHttpRequest();
				if (axReq.overrideMimeType) axReq.overrideMimeType("text/xml");
			} else if (window.ActiveXObject) {
				try {
					axReq = new ActiveXObject("Msxml2.XMLHTTP");
				} catch (e) {
					try { axReq = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
				}
			}
			
			axReq.onreadystatechange = function(fC,fReq) {
				return(function() {
					if (fReq.readyState == 4) {
						if (fReq.status == 200) {

							if ( navigator.appVersion.indexOf("MSIE") != -1  ) {
								  fC.onload( fReq.responseText );
							} else {
								fC.onload( fReq.responseXML );
							}
							//fC.onload(( fC.output == "xml" ) ? fReq.responseXML : fReq.responseText);
						} else {
							fC.onload(false);
						}
					}
				});
			}(this,axReq);
			
			axReq.open(reqMethod,reqFile,true);
			axReq.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
			axReq.send(reqVars);
			
		};
		
	};
	
-->