var REQUEST={	send:function(url, method, vars, type, funktion){		if (window.XMLHttpRequest) { 			var pt_rq = new XMLHttpRequest();			if (pt_rq.overrideMimeType && type=="xml") {				pt_rq.overrideMimeType('text/xml');			}		} else if (window.ActiveXObject) {			try {				pt_rq = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e) {				try {					pt_rq = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}		}		if (!pt_rq) {			return false;		}		function load_file(){			//var rPlaced = vars.replace(/&/g, "#und#");			if(method=="POST"){				pt_rq.open('POST', url, true);				pt_rq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');								pt_rq.send(vars);			}else{				if(vars!=null)url=url+"?"+vars;				pt_rq.open('GET', url, true);				pt_rq.send(null);			}			pt_rq.onreadystatechange = readystatechange;		}		function readystatechange(){			if(pt_rq.readyState == 4){				if(pt_rq.status == 200){					if(typeof funktion == "function"){						switch (type) { 							case "text":								//alert(pt_rq.responseText);    							funktion(pt_rq.responseText);    							break;							case "json":								//alert(pt_rq.responseText);								funktion(JSON.parse(pt_rq.responseText));								break;							case "xml":								funktion(pt_rq.responseXML);								break;						}					}				}else{					delete pt_rq;					pt_rq=null;				}			}					}		load_file(vars);		return false;	}}