/*function utf8_encode ( string ) {  
	string = (string+'').replace(/\r\n/g, "\n").replace(/\r/g, "\n");  
  
	var utftext = "";  
	var start, end;  
	var stringl = 0;  
  
	start = end = 0;  
	stringl = string.length;  
	for (var n = 0; n < stringl; n++) {  
		var c1 = string.charCodeAt(n);  
		var enc = null;  
  
		if (c1 < 128) {  
			end++;  
		} else if((c1 > 127) && (c1 < 2048)) {  
			enc = String.fromCharCode((c1 >> 6) | 192) + String.fromCharCode((c1 & 63) | 128);  
		} else {  
			enc = String.fromCharCode((c1 >> 12) | 224) + String.fromCharCode(((c1 >> 6) & 63) | 128) + String.fromCharCode((c1 & 63) | 128);  
		}  
		if (enc != null) {  
			if (end > start) {  
				utftext += string.substring(start, end);  
			}  
			utftext += enc;  
			start = end = n+1;  
		}  
	}  
  
	if (end > start) {  
		utftext += string.substring(start, string.length);  
	}  
  
	return utftext;  
} */

/*function ajax(mode, variable)
{
	if (variable.length == 0)
	{
		document.getElementById("test").innerHTML = "";
	}
	else
	{
		if(window.XMLHttpRequest) //Alle Browser, IE 7 oder höher
		{
			xmlhttp = new XMLHttpRequest();
		}
		else // Nur falls alte IEs verwendet werden
		{
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		}
		xmlhttp.onreadystatechange = function()
		{
			if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
			{
				document.getElementById("test").innerHTML = xmlhttp.responseText;
			}
		}
		xmlhttp.open("GET","?keyword=" + utf8_encode(variable), true);
		xmlhttp.send();
	}
}*/
