   /**
    * GOLLUM the wikipedia browser
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GPL.
    *
    * Copyright(c) 2005 by Harald Hanek. All rights reserved.
    *
    * To contact the author write to: harald.hanek@easycp.de
    * The latest version of Wikipedia Browser can be obtained from: http://www.gollum-browser.com
    */
	
function xmlhttp()
{this._xmlhttp;this._xmlhttp_request_type='POST';this._init();};xmlhttp.prototype._init=function()
{var A;try
{A=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try
{A=new ActiveXObject("Microsoft.XMLHTTP");}catch(oc){A=null;}}this._xmlhttp=(!A&&typeof XMLHttpRequest!="undefined")?new XMLHttpRequest():A;};xmlhttp.prototype._load=function(func_name,args,ziel)
{var i,x,n;var uri;var post_data;uri=ziel;if(this._xmlhttp_request_type=="GET")
{if(uri.indexOf("?")== -1)uri=uri+"?rs="+escape(func_name);else uri=uri+"&rs="+escape(func_name);for(i=0;i<args.length-1;i++)uri=uri+"&rsargs[]="+escape(args[i]);uri=uri+"&rsrnd="+new Date().getTime();post_data=null;}else{post_data="rs="+escape(func_name);for(i=0;i<args.length-1;i++)post_data=post_data+"&rsargs[]="+escape(args[i]);}x=this._xmlhttp;x.open(this._xmlhttp_request_type,uri,true);if(this._xmlhttp_request_type=="POST")
{x.setRequestHeader("Method","POST "+uri+" HTTP/1.1");x.setRequestHeader("Content-Type","application/x-www-form-urlencoded");x.setRequestHeader("Content-length",post_data.length);x.setRequestHeader("Connection","close");}x.onreadystatechange=function()
{if(x.readyState!=4)
return;var status;var data;status=x.responseText.charAt(0);data=x.responseText.substring(2);if(status=="-")alert("Fehler: "+data);else args[args.length-1](data);};x.send(post_data);delete x;};